SourceForge.net
2012-03-03 20:10:10 UTC
Bugs item #1810655, was opened at 2007-10-10 01:37
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1810655&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build control
Group: None
Private: No
Submitted By: Nobody/Anonymous (nobody)
Initial Comment:
% ./configure --prefix=...
% make
...
/bin/ksh ./libtool --silent --mode=link gcc -I./lib -I. -I/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/include -I/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/include -I/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/include -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6:2:5 -rpath /rtools/workspaces/sol28-64/gcc-4.2.1/expat-2.0.1/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libexpat.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libexpat.so.1.5.2
collect2: ld returned 1 exit status
make: *** [libexpat.la] Error 1
when running ksh -x ./libtool --silent ...
...
+ : gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1.5.2
+ eval gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1.5.2
+ gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1.5.2
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libexpat.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libexpat.so.1.5.2
collect2: ld returned 1 exit status
+ lt_exit=1
+ test link = relink
+ exit 1
I removed '-Wl,libexpat.so.1' from the cmd and I ran manually :
gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -o .libs/libexpat.so.1.5.2
which works ...
----------------------------------------------------------------------
Message:
The most recent build system changes using autoreconf -fvi may have fixed
this.
In other words, we won't have a specific fix based on the build system used
here.
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2009-01-17 10:32
Message:
Maybe Fred has time...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1810655&group_id=10127
Message generated for change (Comment added) made by kwaclaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1810655&group_id=10127
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Build control
Group: None
Status: Closed
Resolution: Wont Fix
Priority: 5Resolution: Wont Fix
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Karl Waclawek (kwaclaw)
Summary: Cannot compile on solaris 8 / gcc-4.2.1Initial Comment:
% ./configure --prefix=...
% make
...
/bin/ksh ./libtool --silent --mode=link gcc -I./lib -I. -I/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/include -I/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/include -I/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/include -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -DHAVE_EXPAT_CONFIG_H -no-undefined -version-info 6:2:5 -rpath /rtools/workspaces/sol28-64/gcc-4.2.1/expat-2.0.1/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -o libexpat.la lib/xmlparse.lo lib/xmltok.lo lib/xmlrole.lo
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libexpat.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libexpat.so.1.5.2
collect2: ld returned 1 exit status
make: *** [libexpat.la] Error 1
when running ksh -x ./libtool --silent ...
...
+ : gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1.5.2
+ eval gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1.5.2
+ gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -Wl,libexpat.so.1 -o .libs/libexpat.so.1.5.2
ld: warning: option -o appears more than once, first setting taken
ld: fatal: file libexpat.so.1: open failed: No such file or directory
ld: fatal: File processing errors. No output written to .libs/libexpat.so.1.5.2
collect2: ld returned 1 exit status
+ lt_exit=1
+ test link = relink
+ exit 1
I removed '-Wl,libexpat.so.1' from the cmd and I ran manually :
gcc -shared lib/.libs/xmlparse.o lib/.libs/xmltok.o lib/.libs/xmlrole.o -L/rtools/workspaces/sol28-64/gcc-4.2.1/readline-5.2/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/bzip2-1.0.4/lib -L/rtools/workspaces/sol28-64/gcc-4.2.1/zlib-1.2.3/lib -lc -Wl,-soname -o .libs/libexpat.so.1.5.2
which works ...
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2012-03-03 12:10Message:
The most recent build system changes using autoreconf -fvi may have fixed
this.
In other words, we won't have a specific fix based on the build system used
here.
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2009-01-17 10:32
Message:
Maybe Fred has time...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=1810655&group_id=10127