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

Author Message
 ld Error on g++ compile - Help needed!

I get the following errors when I compile with the makefile at the end
of this message:

ld: Output file requires shared ''
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)

                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 or


 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 (mapping errors)

7. need help with 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