GNU Linker problem with Dapper
- From: "Arjun Shankar" <arjunsha@xxxxxxxxx>
- Date: Sun, 30 Apr 2006 10:37:21 +0530
I've been using Dapper for some time now, but never written code till
now. And today, just as I started learning about libnet, I hit a
roadblock.
I have gcc, g++ versions 4.0 and 3.4 installed, along with libnet1 and
libnet1-dev, all installed through apt (synaptic actually :)).
However when I try to compile any programs with libnet, each instance
of a libnet function in the code gives me this kind of error:
Terminal Output Beginsspectre@TheHotChilipepper:~$ gcc-3.4 libnet_learn_1.c
/tmp/ccmaIgZz.o: In function `main':libnet_learn_1.c:(.text+0x39):
undefined reference to `libnet_init'
:libnet_learn_1.c:(.text+0x4d): undefined reference to `libnet_destroy'
collect2: ld returned 1 exit status
Terminal Output Ends
/usr/include/libnet.h and the /usr/include/libnet directories _are_ there.
Whats wrong then? Never seen this happen in Fedora (my last distro) or
elsewhere.
Arjun Shankar
--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
- Follow-Ups:
- Re: GNU Linker problem with Dapper
- From: Jhair Tocancipa Triana
- usefull linux tools
- From: Brendon
- difference with breezy and dapper
- From: Brendon
- Re: GNU Linker problem with Dapper
- Prev by Date: Re: maxlogins
- Next by Date: Unable to log back in.
- Previous by thread: Normal behaviour? cups/error_log: select_timeout: 1 seconds to send browse update
- Next by thread: difference with breezy and dapper
- Index(es):