[uClibc]problems when compiling with uClibc

Matjaz Brumec matjaz.brumec at hermes.si
Tue Oct 16 15:23:38 UTC 2001


Hi!

I'm trying to compile source files for inetd daemon with uClibc libraries (I
successfully compiled inetd with libc.so.6 library). In my Makefile I
replace standard "gcc" with "/usr/i386-linux-uclibc/bin/gcc". *.c source
files are compiled correctly (in to *.o files), but linker is unable to link
them together in one binary target.
I don't now how to set-up (Makefile) linker to do that?


my Makefile example:
....
OBJS=inetd.o servtab.o builtins.o sig.o daemon.o setproctitle.o mysleep.o

inetd:  $(OBJS)
        $(CC) $(LDFLAGS) -o $@ $(OBJS)
....


Regards Bruma






More information about the uClibc mailing list