I have gone back to basics and tried simple.p [ program test(input,output); begin writeln("hello world"); end. ]
I am getting the same error messages: /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18ef):rts.c: undefined reference to `_ftruncate64' /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18b4):rts.c: undefined reference to `_lseek64' collect2: ld returned 1 exit status
This is the same error message that I got from my Pascal calls C program. There is clearly something not right with my binary distribution. I will try and do a reinstallation and then run the test suite.
gpc -v gives: Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/specs Configured with: ../configure --enable-languages=pascal --enable-threads=posix --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --enable-shared --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --enable-haifa --prefix=/usr Thread model: posix gpc version 20030830, based on gcc-3.2.3
Best regards, Chris
Dr Christian Hicks Senior Lecturer, School of Mechanical & Systems Engineering, Stephenson Building, University of Newcastle upon Tyne, NE1 7RU. Phone: +44 191 222 6238 Mobile 0795 8317804 Fax: + 44 191 222 8600 Homepage: http://www.staff.ncl.ac.uk/chris.hicks
On 15 Nov 2003 at 7:50, Dr Christian Hicks wrote:
I have gone back to basics and tried simple.p [ program test(input,output); begin writeln("hello world"); end. ]
I am getting the same error messages: /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18ef):rts. c: undefined reference to `_ftruncate64' /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18b4):rts. c: undefined reference to `_lseek64' collect2: ld returned 1 exit status
This is the same error message that I got from my Pascal calls C program. There is clearly something not right with my binary distribution. I will try and do a reinstallation and then run the test suite.
Perhaps an updated binary might help. I have updated the gpc-20030830 binaries here: http://www.gnu-pascal.de/contrib/chief/win32/cygwin/
This is an exact copy of my working version, and so should work.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Hello All!
As you can remember, I also got the same problem some weeks ago. I stopped investigations due to other priorities...
I restarted again from scratch the installs today (cygwin + gpc) taking the new gpc contribution from the Chief and the latest cygwin which contains gcc 3.3.1. The problem is the same.
Searching for _ftruncate64 and _lseek64 I found them using "nm -A" in the C libraries (/usr/lib/libc.a and /usr/lib/libcygwin.a) but they are defined as __ftruncate64 and __lseek64 with doubled underscore at beginning. Could this be the mismatch?
Best Regards, Pascal Pottier.
Prof A Olowofoyeku (The African Chief) wrote:
On 15 Nov 2003 at 7:50, Dr Christian Hicks wrote:
I have gone back to basics and tried simple.p [ program test(input,output); begin writeln("hello world"); end. ]
I am getting the same error messages: /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18ef):rts. c: undefined reference to `_ftruncate64' /usr/lib/gcc-lib/i686-pc-cygwin/3.2.3/libgpc.a(rts.o)(.text+0x18b4):rts. c: undefined reference to `_lseek64' collect2: ld returned 1 exit status
This is the same error message that I got from my Pascal calls C program. There is clearly something not right with my binary distribution. I will try and do a reinstallation and then run the test suite.
Perhaps an updated binary might help. I have updated the gpc-20030830 binaries here: http://www.gnu-pascal.de/contrib/chief/win32/cygwin/
This is an exact copy of my working version, and so should work.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
On 17 Nov 2003 at 17:36, Pascal Pottier wrote:
Hello All!
As you can remember, I also got the same problem some weeks ago. I stopped investigations due to other priorities...
I restarted again from scratch the installs today (cygwin + gpc) taking the new gpc contribution from the Chief and the latest cygwin which contains gcc 3.3.1. The problem is the same.
Searching for _ftruncate64 and _lseek64 I found them using "nm -A" in the C libraries (/usr/lib/libc.a and /usr/lib/libcygwin.a) but they are defined as __ftruncate64 and __lseek64 with doubled underscore at beginning. Could this be the mismatch?
No, your Cygwin or gcc version should make no difference. I think the problem was that the Cygwin binaries in my "contrib" directory on the GPC server had not been updated with the fix to that problem. You should get the updated binaries.
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Thanks for the answer. From whom/where should I get these updated binaries? The present Cygwin I'm running is the latest from cygwin.com.
Best Regards, Pascal.
Prof A Olowofoyeku (The African Chief) wrote:
On 17 Nov 2003 at 17:36, Pascal Pottier wrote:
Hello All!
As you can remember, I also got the same problem some weeks ago. I stopped investigations due to other priorities...
I restarted again from scratch the installs today (cygwin + gpc) taking the new gpc contribution from the Chief and the latest cygwin which contains gcc 3.3.1. The problem is the same.
Searching for _ftruncate64 and _lseek64 I found them using "nm -A" in the C libraries (/usr/lib/libc.a and /usr/lib/libcygwin.a) but they are defined as __ftruncate64 and __lseek64 with doubled underscore at beginning. Could this be the mismatch?
No, your Cygwin or gcc version should make no difference. I think the problem was that the Cygwin binaries in my "contrib" directory on the GPC server had not been updated with the fix to that problem. You should get the updated binaries.
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
On 20 Nov 2003 at 9:04, Pascal Pottier wrote:
Thanks for the answer. From whom/where should I get these updated binaries? The present Cygwin I'm running is the latest from cygwin.com.
http://gnu-pascal.de/contrib/chief/win32/gcc-3.x/cygwin/gpc-20030830-with-gc...
Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
This gpc version is working fine under the latest cygwin! I can now go further. Many thanks!!
Prof A Olowofoyeku (The African Chief) wrote:
On 20 Nov 2003 at 9:04, Pascal Pottier wrote:
Thanks for the answer. From whom/where should I get these updated binaries? The present Cygwin I'm running is the latest from cygwin.com.
http://gnu-pascal.de/contrib/chief/win32/gcc-3.x/cygwin/gpc-20030830-with-gc...
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.bigfoot.com/~african_chief/
Guten Tag Pascal Pottier,
am Freitag, 21. November 2003 um 09:13 schrieben Sie:
PP> This gpc version is working fine under the latest cygwin! PP> I can now go further. Many thanks!!
PP> Prof A Olowofoyeku (The African Chief) wrote:
On 20 Nov 2003 at 9:04, Pascal Pottier wrote:
Thanks for the answer. From whom/where should I get these updated binaries? The present Cygwin I'm running is the latest from cygwin.com.
http://gnu-pascal.de/contrib/chief/win32/gcc-3.x/cygwin/gpc-20030830-with-gc...
This version is also included in the Cygwin GCC since 3.3.1-3. http://cygwin.com/