Anyone got any idea why I'm getting this error when trying to compile a minimal windowmanager?
rm -f *~ failsafewm core *.o failsafewm.o gcc -c -O3 -I/usr/X11R6/include failsafewm.c gcc -s -pipe -L/usr/X11R6/lib -lX11 failsafewm.o -o failsafewm /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init': elf-init.oS(.text+0x1d): undefined reference to `__init_array_end' elf-init.oS(.text+0x23): undefined reference to `__init_array_start' elf-init.oS(.text+0x43): undefined reference to `__init_array_start' /usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_fini': elf-init.oS(.text+0x7a): undefined reference to `__fini_array_end' elf-init.oS(.text+0x80): undefined reference to `__fini_array_start' elf-init.oS(.text+0xa3): undefined reference to `__fini_array_start' collect2: ld returned 1 exit status make: *** [failsafewm] Error 1 I'm running Debian. Got an object file in the directory I ran "make" in (/home/me/failsafewm as root), but it won't link. $ gcc --version 2.95.4 http://www.informatik.hu-berlin.de/~sperling/prog/failsafewm-0.0.2.tgz The whole (gzipped) source is only 10K. http://www.informatik.hu-berlin.de/~sperling/prog/swm-download.html http://software.linux.com/projects/swm/ http://www.informatik.hu-berlin.de/~sperling/prog/swm.html Thanks, Tom _______________________________________________ help-gnu-utils mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gnu-utils
