Problems with linking on libc6 system
Sorry, if this is described somewhere, I did some RTFM, but didn't
find answer to my problem. I've installed libc6(-dev) 2.0.4-1 and gcc
188.8.131.52-5 and I can't link hello world program:
$ gcc hello.c
/usr/lib/crt1.o(.text+0xe): undefined reference to `__libc_init_first'
/usr/lib/crt1.o(.text+0x18): undefined reference to `_environ'
Static linking is OK. I've found file `/usr/lib/libc.so', which I
don't understand. Linking with `/lib/ld-linux.so.2' removes
`_environ' error but I didn't find `__libc_init_first' anywhere except
of static libc.
Could someone tell me what's wrong on my system?
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .