Hi,
I am having problems building fvwm95 on a Debian 2.1 system.
fvwm95 needs some of the older libc5 based libraries and in the case of
Debian, there are packages from which these libraries can be installed.
They go into the directories /usr/i486-linuxlibc1 and
/usr/i486-linuxchecker . Here is a portion of my 'make' output :
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?
Kenneth