Opened 20 years ago
Closed 10 years ago
#500 closed defect (invalid)
Cygwin / libtool build problem
Reported by: | warmerdam | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | nhv@… |
Description (last modified by )
I am getting some weird problems building on Cygwin that I assume is related to libtool, though I could be wrong. Source: ftp://ftp.remotesensing.org/gdal/gdal-1.2.0a2.tar.gz Platform: CYGWIN_NT-5.1 play 1.3.20(0.73/3/2) 2003-02-08 12:10 i686 unknown unknown Cygwin I will attach the log, but the following just before building the shared library seems suspicious: make[1]: Entering directory `/cygdrive/c/warmerda/cygdev/gdal-1.2.0a2' GNUmakefile:43: warning: overriding commands for target `libgdal.la' GNUmakefile:39: warning: ignoring old commands for target `libgdal.la' The errors include lots of stuff like: ./frmts/o/.libs/sdtslib.o(.stab+0x159560): In function `Z24SDTSScanModuleReferen cesP9DDFModulePKc': /cygdrive/c/warmerda/cygdev/gdal-1.2.0a2/frmts/sdts/sdtslib.cpp:285: reloc refer s to symbol `.text$_ZN12DDFFieldDefn16GetSubfieldCountEv' which is not being out put
Attachments (1)
Change History (7)
by , 20 years ago
comment:1 by , 20 years ago
i fixed a bunch of similar compiler problems after the libtool transition, and i didn't see any other since then. they were usualy due to missing class creators (?). i cannot easily test on cygwin anymore, but Norman Vine (apparently) reports successful builds on recent cygwin environment, so maybe you hit a compiler bug that was fixed since 2003-02-08. don't know (the bug should be either close or reassigned since it'll take some time before i'll have a windows box available) alessandro
comment:2 by , 20 years ago
I will try updating to the latest Cygwin and see if that fixes the problem.
comment:3 by , 20 years ago
I have updated to the latest cygwin, and now I get complaints about /lib/cpp not being valid as a C++ preprocessor. There is no /lib/cpp file. I tried linking /lib/cpp to /bin/cpp but that didn't seem to help. The specific message is: configure: error: C++ preprocessor "/lib/cpp" fails sanity check BTW, my cygwin was updated "in place" to one dated 2004-01-30. As far as I know it went ok ... not sure if I buggered something.
comment:4 by , 20 years ago
You need to explicitly request c++ support in the Cygwin setup program This is a recent one-time change In the Cygwin setup program under the devel group make sure that gcc-g++ is checked
comment:5 by , 20 years ago
Norman, Thanks, that got me through configure and compiling just fine but I end up with a similar error to what I started with. I will include more complete error messages when my wife gives me access to my laptop again.
comment:6 by , 10 years ago
Description: | modified (diff) |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
Probably invalid since that time
Note:
See TracTickets
for help on using tickets.
Partial build log.