This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: compile and install bugs on irix
- To: law at cygnus dot com
- Subject: Re: compile and install bugs on irix
- From: Stephane Conversy <Stephane dot Conversy at lri dot fr>
- Date: Wed, 23 Jun 1999 11:36:02 +0200
- CC: Alexandre Oliva <oliva at dcc dot unicamp dot br>, Stephane Conversy <Stephane dot Conversy at lri dot fr>, egcs-bugs at egcs dot cygnus dot com, egcs-patches at egcs dot cygnus dot com
- References: <32321.930129360@upchuck.cygnus.com>
Jeffrey A Law wrote:
>
> What I do not understand (I did not follow the whole thread) is why other
> folks are not having this problem. What is different about the particular
> system that's choking on libz right now?
>
> jeff
What happens is that libz is not needed when building makeinfo:
> cc -g -o makeinfo makeinfo.o multi.o ../lib/libtxi.a ../intl/libintl.a -lz
ld32: WARNING 84: /usr/lib32/libz.so is not used for resolving any symbol.
and when I launch makeinfo I get:
> ./makeinfo
7387:./makeinfo: rld: Error: unresolvable symbol in /usr/lib32/libiflPNG.so:
__vtbl__9type_info
7387:./makeinfo: rld: Error: unresolvable symbol in /usr/lib32/libiflPNG.so:
__T_9__nothrow
7387:./makeinfo: rld: Error: unresolvable symbol in /usr/lib32/libifl.so:
__pure_virtual_called
7387:./makeinfo: rld: Error: unresolvable symbol in /usr/lib32/libifl.so:
__nw__GUi
7387:./makeinfo: rld: Error: unresolvable symbol in /usr/lib32/libifl.so:
__vtbl__9type_info
7387:./makeinfo: rld: Error: unresolvable symbol in /usr/lib32/libifl.so:
__T_9__nothrow
7387:./makeinfo: rld: Fatal Error: this executable has unresolvable symbols
now if I link explicitly with -lCsup I get:
> cc -g -o makeinfo makeinfo.o multi.o ../lib/libtxi.a ../intl/libintl.a -lz
-lCsup
ld32: WARNING 84: /usr/lib32/libz.so is not used for resolving any symbol.
> ./makeinfo
makeinfo: missing file argument.
Try `makeinfo --help' for more information.
and if I remove both -lz and -lCsup:
> cc -g -o makeinfo makeinfo.o multi.o ../lib/libtxi.a ../intl/libintl.a -lz
-lCsup
> ./makeinfo
makeinfo: missing file argument.
Try `makeinfo --help' for more information.
the last solution is the best one.
stef
--
Stéphane Conversy
http://www-ihm.lri.fr/~conversy/
mailto:conversy@lri.fr