This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Can't build on IRIX 6.5.5
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Can't build on IRIX 6.5.5
- From: "Zow" Terry Brugger <zow at pensive dot llnl dot gov>
- Date: Wed, 17 Nov 1999 12:57:22 -0800
- Reply-To: zow at llnl dot gov
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-Type: text/plain; charset=us-ascii
Good day,
I'm having trouble building 2.95.2 on an IRIX 6.5.5 box; specifically I'm
getting Unresolved data symbols when attempting to link the makeinfo binary.
The error messages are:
gcc -g -O2 -o makeinfo makeinfo.o multi.o ../lib/libtxi.a ../intl/libintl.a
ld32: WARNING 126: The archive ../lib/libtxi.a defines no global symbols.
Ignoring.
ld32: WARNING 126: The archive ../intl/libintl.a defines no global symbols.
Ignoring.
ld32: ERROR 33: Unresolved text symbol "_nl_msg_cat_cntr" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "dcgettext__" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "bindtextdomain" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "textdomain" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "xstrdup" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "xrealloc" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "getopt_long" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved text symbol "xmalloc" -- 1st referenced by
makeinfo.o.
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
The currently installed gcc is egcs-2.91.66. If I set CC to cc (MIPSpro
Compilers: Version 7.2.1), I get:
cc -g -o makeinfo makeinfo.o multi.o ../lib/libtxi.a ../intl/libintl.a
ld32: ERROR 33: Unresolved text symbol "dcgettext__" -- 1st referenced by
../intl/libintl.a(intl-compat.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved data symbol "_nl_domain_bindings" -- 1st referenced
by ../intl/libintl.a(bindtextdom.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved data symbol "_nl_default_dirname" -- 1st referenced
by ../intl/libintl.a(bindtextdom.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved data symbol "_nl_current_default_domain" -- 1st
referenced by ../intl/libintl.a(textdomain.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: ERROR 33: Unresolved data symbol "_nl_default_default_domain" -- 1st
referenced by ../intl/libintl.a(textdomain.o).
Use linker option -v to see when and which objects, archives and dsos
are loaded.
ld32: INFO 152: Output file removed because of error.
I must admit a certain amount of laziness as I haven't looked at what
libraries are loaded and correlated that with what libraries define these
symbols, but I figured that I'm doing something stupid or missed something in
the docs. Of course, it could be a problem with our system libraries. . . So I
figured I should check with the Guru's before spending an inordinate amount of
time trying to fix it myself. The procedure I'm using is:
cd /tmp
gzip -d gcc-2.95.2.tar.gz
tar xfv gcc-2.95.2.tar
mkdir gcc-obj
cd gcc-obj
/tmp/gcc-2.95.2/configure --prefix=/usr/local/gcc
make bootstrap
Maybe with a setenv CC cc thrown in to check my sanity.
Any pointers would be appreciated.
TIA!
"Zow" Terry Brugger
zow@llnl.gov
zow@acm.org
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv
iQA/AwUBODMWsqfuGVwXgOQkEQK1jACeJ7bL1IEHnx7QfKQAJQV8GspaAcwAnjia
jcWa3kVku3Jnzfsj+hEVFk1r
=6m/O
-----END PGP SIGNATURE-----