AMULET and Linux.
Christoph Trojan (trojan@zeus.ph1.Uni-Koeln.DE)
Sat, 25 Nov 1995 01:03:04 +0100
Bruce S. Tobin writes:
>
> Does AMULET work under Linux? I tried compiling a sample app and got:
>
> gcc -g -I/usr/X11R6/include -I/home/apps/amulet/include -L/usr/X11R6/lib
> -DGCC -DDEBUG -c tutorial.cc
> gcc -g -I/usr/X11R6/include -I/home/apps/amulet/include -L/usr/X11R6/lib
> -DGCC -DDEBUG tutorial.o \
> -L/home/apps/amulet/lib -lamulet -lX11 -lg++ -lm \
> -o tutorial
> ld: Output file requires shared library `libc.so.4'
> gcc: Internal compiler error: program ld got fatal signal 6
> make: *** [tutorial] Error 1
>
Hi Bruce,
you need to include the flag -lc to your library list :
-lamulet -lc -lX11 -lg++ -lm.
I got the newest release of Linux and the libc.so.4. Ever since it wasn't
necessary to include -lc for compiling Amulet apps under Linux.
Best wishes
--Chris