glibc on Interix

Martin Koeppe mkoeppe at gmx.de
Tue Dec 20 11:47:45 UTC 2005



Hello all,

I'm trying to port the glibc (the 2.3 from Debian kFreeBSD, but 
without the FreeBSD patches) to the Interix system. I'm currently not 
yet very familiar with building the glibc. During make I get the 
following error, after about 1 minute:


gmake -r PARALLELMFLAGS="" CVSOPTS="" -C ../glibc-2.3 objdir=`pwd` all 
gmake[1]: Entering directory `/dev/fs/C/temp/c/glibc-2.3' gmake -C csu 
subdir_lib gmake[2]: Entering directory `/dev/fs/C/temp/c/glibc-2.3/csu'
gcc ../sysdeps/unix/i386/sysdep.S -c -I../include -I. -I/dev/fs/C/temp/c/build-2.3/csu -I.. -I../libio -I/dev/fs/C/temp/c/build-2.3 -I../sysdeps/unix/bsd/bsd4.4 -I../sysdeps/unix/mman -I../sysdeps/unix/bsd/i386 -I../sysdeps/unix/bsd -I../sysdeps/unix/common -I../sysdeps/unix/inet -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic -include ../include/libc-symbols.h -DHAVE_INITFINI -DASSEMBLER -DGAS_SYNTAX -o /dev/fs/C/temp/c/build-2.3/csu/sysdep.o 
/tmp/ccOgoxq3.s: Assembler messages:
/tmp/ccOgoxq3.s:56: Error: can't resolve `.text' {.text section} - `__syscall_error' {*UND* section}
gmake[2]: *** [/dev/fs/C/temp/c/build-2.3/csu/sysdep.o] Error 1
gmake[2]: Leaving directory `/dev/fs/C/temp/c/glibc-2.3/csu'
gmake[1]: Leaving directory `/dev/fs/C/temp/c/glibc-2.3' 
gmake: *** [all] Error 2


I try to port the glibc to Interix to have it easier to build dpkg, 
and maybe in some very future day to have a complete Debian 
GNU/Interix port.

For more information on Interix I found the following:
http://lists.debian.org/debian-win32/2005/10/msg00002.html
http://lists.debian.org/debian-win32/2005/10/msg00003.html

Interix seems similar to BSD, so I have configure'd the glibc with 
base_os = unix/bsd/bsd4.4, and configure went ok. And since Interix 
3.5, there seem to be the most important kernel functions there.

I hope you can help me.


Thank you

Martin



More information about the Glibc-bsd-devel mailing list