Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

linux-ipsec: Undefined references to netlink_* (linux86-2.0.3[56])

From: Enrique I.R. <esoft(at)netspain.com>
Date: Sat Nov 21 1998 - 09:51:46 EST


Hello everybody.

I'm trying to setup freeswan in a linux x86 2.0.35. All the work seems to be fine up to the kernel linking. Then I get undefined references to both netlink_attach and netlink_detach:

ld -m elf_i386 -Ttext 0x100000 -e stext arch/i386/kernel/head.o init/main.o init/version.o \

        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o net/network.a \

        fs/filesystems.a \
        drivers/block/block.a drivers/char/char.a drivers/net/net.a
drivers/pci/pci.a \
        /usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a -o vmlinux net/network.a(ipsec.o): In function `ipsec_init': ipsec.o(.text+0x2211): undefined reference to `netlink_attach' net/network.a(ipsec.o): In function `ipsec_cleanup': ipsec.o(.text+0x2243): undefined reference to `netlink_detach' make: *** [vmlinux] Error 1

I fixed this including /usr/src/linux/net/netlink.o in the ipsec Makefile but this seems to be a botched job. Do I am the only one to get this undefined refs?

PS: Please, send me copy to my mail. I'm not sure of my subscription. I sent my subscribing petition to Majordomo@ but didn't receive any confirmation.

(for USENET postings) Delete 'NOSPAM' from my e-mail to reply.



        Enrique I.R.
 Freelance Sofware Developer.
   Gran Canaria. Spain.
 (aka CtrInt on #Linux) Received on Sat Nov 21 10:52:27 1998

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 12:59:07 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library