[uClibc]Compiling X...

Michael Adams bulk at michaeladams.org
Fri Dec 20 04:08:06 UTC 2002


Hi there,
Sorry if this is a completely stupid question, but I'm having some 
trouble compiling XFree86 with uclibc. I've searched the archieve, but 
nothing much came up.

What I do is set up the path, run make World in the xc/ dir, and almost 
straight away it fails, with a huge list of errors. I've followed the 
process a bit closer, and it's trying to make the imake, ccmake 
utilities. These all compile fine, but when xc/config/imake/imake is 
run, it gives a whole string of errors that look like this...
  /usr/lib/gcc-lib/i386-redhat-linux/3.2/crtend.o:1: stray '\177' in program
  /usr/lib/gcc-lib/i386-redhat-linux/3.2/crtend.o:1: stray '\1' in program
  /usr/lib/gcc-lib/i386-redhat-linux/3.2/crtend.o:1: stray '\1' in program
  /usr/lib/gcc-lib/i386-redhat-linux/3.2/crtend.o:1: stray '\1' in program

these are followed by
  /System/uClibc-devel/lib/crtn.o:1: stray '\177' in program
  /System/uClibc-devel/lib/crtn.o:1: stray '\1' in program
  /System/uClibc-devel/lib/crtn.o:1: stray '\1' in program
  /System/uClibc-devel/lib/crtn.o:1: stray '\1' in program

Should it be using these two different files?

Doing a 'strings imake | grep lib' gives, among other things...
  /System/Library/Libraries/ld-uClibc.so.0
  libc.so.0
  __uClibc_start_main
  /lib/cpp, libgcc.a

if that helps things. I'm using the 0.9.16 release of uClibc, building 
on a bastardised Redhat 7.2 system, using gcc 3.2 (20020903)

Thanks,
--Michael Adams.





More information about the uClibc mailing list