I can't get UML 2.4.24-1 to compile under Mandrake 9.1 or 9.2. With the default configuration or several variations I tried, it fails when linking:
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/home/sjenks/uml/linux-2.4.23/arch/um/include -I/home/sjenks/uml/linux-2.4.23/arch/um/kernel/tt/include -I/home/sjenks/uml/linux-2.4.23/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o unmap.o unmap.c ld -r -o unmap_fin.o unmap.o -lc -L/usr/lib ld: cannot find -lc
libc.so is in /usr/lib as a ld script, so perhaps the ld is broken...
Does anyone have a workaround? I've managed to compile UML under Fedora Core 1, but it segfaults immediately, which is not an improvement.
Suggestions or help would be appreciated.
Thanks,
Steve Jenks
hello, you have to install the rpm glibc-devel Bye
for me it worked with glibc-static-devel
Log in to post a comment.
I can't get UML 2.4.24-1 to compile under Mandrake 9.1 or 9.2. With the default configuration or several variations I tried, it fails when linking:
gcc -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -U__i386__ -Ui386 -DUM_FASTCALL -g -D__arch_um__ -DSUBARCH=\"i386\" -D_LARGEFILE64_SOURCE -I/home/sjenks/uml/linux-2.4.23/arch/um/include -I/home/sjenks/uml/linux-2.4.23/arch/um/kernel/tt/include -I/home/sjenks/uml/linux-2.4.23/arch/um/kernel/skas/include -D_GNU_SOURCE -c -o unmap.o unmap.c
ld -r -o unmap_fin.o unmap.o -lc -L/usr/lib
ld: cannot find -lc
libc.so is in /usr/lib as a ld script, so perhaps the ld is broken...
Does anyone have a workaround? I've managed to compile UML under Fedora Core 1, but it segfaults immediately, which is not an improvement.
Suggestions or help would be appreciated.
Thanks,
Steve Jenks
hello,
you have to install the rpm glibc-devel
Bye
for me it worked with glibc-static-devel