Thread View: gnu.utils.bug
1 messages
1 total messages
Started by Michael Tiemann
Mon, 22 Jan 1990 15:59
ld bug
Author: Michael Tiemann
Date: Mon, 22 Jan 1990 15:59
Date: Mon, 22 Jan 1990 15:59
30 lines
1631 bytes
1631 bytes
Here's a build which fails for reasons I understand:
cd /home2/gnu/prog2c/
time make -k
g++ -B/home2/gnu/g++/ -g -o p2 p2_CPU.o p2_ctrl.o p2_disk.o p2_disk_sched.o p2_fault.o p2_mem.o p2_proc.o p2_queue.o -L/home2/gnu/libg++/src
/home2/gnu/usr/local/lib/g++-include/BitSet.h:359: Undefined symbol BitSet::error(char *) referenced from text segment
p2_fault.c:256: Undefined symbol lg() referenced from text segment
p2_fault.c:256: Undefined symbol lg() referenced from text segment
p2_fault.c:256: Undefined symbol lg() referenced from text segment
*** Error code 1
make: Warning: Target `all' not remade because of errors
9.2 real 1.2 user 1.2 sys
Compilation finished at Mon Jan 22 07:56:07
The bug is that /home2/gnu/usr/local/lib/g++-include/BitSet.h is the
line where the reference occurs, but the linker doens't tell me the
offending .o file that it came from. When I switch my compiler
library paths, I won't know which file to recompile (without
searching). It would be nice if this error were reported like this:
in file foo.o:
...all errors of file foo.o...
in file bar.o:
...all errors of file bar.o...
etc.
Sound reasonable?
Michael
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