
ld Error on g++ compile - Help needed!
Hi
I get the following errors when I compile with the makefile at the end
of this message:
ld: Output file requires shared 'libc.so.4'
gcc: Internal compiler error: program ld got fatal signal 6
Ok...I have that specific lib....I use kernel 1.2.1...(maybe the problem?)
Here's the makefile
CF = -c -dLINUX -g -O -I. -I/usr/g++-include
LF = -L /lib
BIN = /home/$(USER)/projek/bin/
F1 = filename
.SUFFIXES: .o .cxx
default: $(F1).o $(BIN)($F1)
$(BIN)$(F1):
g++ $(LF) -g -o$@ $(F1).o -lm -lg++
.cxx.o:; g++ $(CF) $*.cxx
This one works on a SUN machine....
Any pointers?
Please mail me at s9114...@babel.ee.up.ac.za or al...@suntiger.ee.up.ac.za
Thanx
Alwyn