Thread View: gnu.g++.bug
2 messages
2 total messages
Started by kha
Mon, 17 Apr 1989 04:36
One more bug.
Author: kha
Date: Mon, 17 Apr 1989 04:36
Date: Mon, 17 Apr 1989 04:36
10 lines
674 bytes
674 bytes
One more bug on sun3-os4 when compiing libg++1.34.0: the linker still
complaints when linking the programs in the tests subdirectory.:
Undefined symbols:
__DYNAMIC
This error message doesn't appear when compiling the library for Sun3
and os3.4
Knut-Haavard Aksnes.
Re: One more bug.
Author: Doug Schmidt
Date: Mon, 17 Apr 1989 05:10
Date: Mon, 17 Apr 1989 05:10
36 lines
1909 bytes
1909 bytes
In article <8904170434.AA11415@mime.unit.no> kha@idt.unit.no writes: ++ One more bug on sun3-os4 when compiing libg++1.34.0: the linker still ++ complaints when linking the programs in the tests subdirectory.: ++ Undefined symbols: ++ __DYNAMIC ++ ++ This error message doesn't appear when compiling the library for Sun3 ++ and os3.4 Look very carefully at the STARTFILE_SPEC in tm.h. I'll bet you are not using the correct crt0+.o file when running ld++. To find out whether you are, try compiling a simple program using g++ -v foo.cc The last line of the output should look something like this: ---------------------------------------- /usr/public/lib/gnu/gcc-ld++ -C -C /usr/public/lib/gnu/crt0+.o foo.o -lg++ /usr/public/lib/gnu/gcc-gnulib -lc ---------------------------------------- (of course, your directory structure may differ). You are probably getting /lib/crt0.o, which accounts for your troubles. Changing the appropriate lines in tm.h in the ./config/tm.h directory should do the trick. This works for me. Please let me know if you have additional problems. Doug -- On a clear day, under blue skies, there is no need to seek. And asking about Buddha +------------------------+ Is like proclaiming innocence, | schmidt@ics.uci.edu | With loot in your pocket. | office: (714) 856-4043 |
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads