compile and install bugs on irix

Stephane Conversy Stephane.Conversy@lri.fr
Wed Jun 23 02:36:00 GMT 1999


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





More information about the Gcc-bugs mailing list