It is currently Thu, 25 Feb 2021 06:29:05 GMT



 
Author Message
 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



 Tue, 10 Feb 1998 03:00:00 GMT   
 
   [ 1 post ] 

Similar Threads

1. g++ compiling: Can't Find .h Files - Need Help

2. g++(egcs)/ld error message

3. Help needed for compiling in g++

4. HELP: wierd ld error compiling magic

5. Need help on SIGSEGV error in a g++/JNI application

6. Help needed with ld.so (mapping errors)

7. need help with ld.so.cache version error

8. Parse errors compiling string program using SGI sTL with g++

9. g++ compile error

10. g++ compile error


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software