Quoth Tiberiu Motoc:
> test_program: test_program.o httpslib.o
>         $(CC) $(CFLAGS) $(LDFLAGS) -o $@ test_program.o httpslib.o
> /home/motoct/uClinux-dist/lib/libcurl/compiled/lib/libcurl.a $(LDLIBS)
> 
> The linker error that I'm getting is:
> /home/motoct/uClinux-dist/lib/libc/./libc.a(errno_loc.o)(.data+0x0):
> multiple definition of `errno'
> /home/motoct/uClinux-dist/lib/libc/crt0.o(.data+0x4): first defined
> here
> collect2: ld returned 1 exit status
> make[2]: *** [messenger] Error 1

What's the final command line that's being run?  Maybe your LDFLAGS are
wrong.



_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to