Compiling fvwm95 on Slink
Hi,
I am having problems compiling fvwm95 on Slink. I installed the
required development libraries from the oldlibs packages. Here is an
example of the problem :
debian$gcc -o FvwmAudio FvwmAudio.o -L../../libs
-L/usr/i486-linuxlibc1/lib -L/usr/i486-linuxchecker/lib -lfvwm95 -lXpm
-lXext -lX11
/usr/lib/crt1.o(.text+0xe): undefined reference to `__libc_init_first'
/usr/lib/crt1.o(.text+0x18): undefined reference to `_environ'
Quite obviously, the above error is due to the crt1.o object being
picked up from /usr/lib, rather than /usr/i486-linuxlibc1/lib . However,
when I try to fix this problem by using the -nostdlib flag, I get :
debian$gcc -o FvwmAudio FvwmAudio.o -L../../libs
-L/usr/i486-linuxlibc1/lib -L/usr/i486-linuxchecker/lib -lfvwm95 -lXpm
-lXext -lX11 -nostdlib
ld: warning: cannot find entry symbol _start; defaulting to 08048630
How can I get round this problem?
Jor-el
Reply to: