LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-22-2011, 12:46 AM   #1
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Rep: Reputation: 0
IPSET 6.8 install problem


I want to install IPSET 6.8..

for that i m doing this steps:
---> sh autogen.sh
1)./configure --with-kbuild=/lib/modules/2.6.39.2-1smp/build/ --libexecdir=/usr/local/lib/

So its give No package 'libmnl' found
So i install libmnl and set path
export libmnl_LIBS=$PWD/libmnl-1.0.1/src/.libs/
export libmnl_CFLAGS=$PWD/libmnl-1.0.1/include/
than again i m start with

2) ./configure --with-kbuild=/lib/modules/2.6.39.2-1smp/build/ --libexecdir=/usr/local/lib/
SUCCESSFULLY CONFIGURE

3)make
BUT ITS GIVE ERROR
Its stop process in between.
Code:
../lib/.libs/libipset.a(session.o): In function `generic_data_attr_cb':
session.c:(.text+0x239): undefined reference to `mnl_attr_get_type'
session.c:(.text+0x24c): undefined reference to `mnl_attr_type_valid'
session.c:(.text+0x280): undefined reference to `mnl_attr_validate'
session.c:(.text+0x29f): undefined reference to `mnl_attr_get_payload_len'
../lib/.libs/libipset.a(session.o): In function `open_nested':
session.c:(.text+0x35f): undefined reference to `mnl_attr_nest_start'
../lib/.libs/libipset.a(session.o): In function `rawdata2attr':
session.c:(.text+0x43e): undefined reference to `mnl_attr_put'
session.c:(.text+0x4ef): undefined reference to `mnl_attr_nest_start'
session.c:(.text+0x515): undefined reference to `mnl_attr_put'
session.c:(.text+0x524): undefined reference to `mnl_attr_nest_end'
../lib/.libs/libipset.a(session.o): In function `close_nested':
session.c:(.text+0x669): undefined reference to `mnl_attr_nest_end'
../lib/.libs/libipset.a(session.o): In function `attr2data':
session.c:(.text+0x908): undefined reference to `mnl_attr_get_payload'
session.c:(.text+0x997): undefined reference to `mnl_attr_parse_nested'
session.c:(.text+0xa11): undefined reference to `mnl_attr_get_payload'
../lib/.libs/libipset.a(session.o): In function `callback_error':
session.c:(.text+0xba9): undefined reference to `mnl_nlmsg_get_payload'
session.c:(.text+0xbba): undefined reference to `mnl_nlmsg_size'
session.c:(.text+0xbe8): undefined reference to `mnl_nlmsg_get_payload'
session.c:(.text+0xc55): undefined reference to `mnl_attr_parse'
session.c:(.text+0xc7d): undefined reference to `mnl_attr_get_u32'
../lib/.libs/libipset.a(session.o): In function `ipset_commit':
session.c:(.text+0x102a): undefined reference to `mnl_attr_nest_end'
../lib/.libs/libipset.a(session.o): In function `callback_list':
session.c:(.text+0x1404): undefined reference to `mnl_attr_parse_nested'
session.c:(.text+0x1533): undefined reference to `mnl_attr_get_payload'
session.c:(.text+0x154c): undefined reference to `mnl_attr_get_payload'
session.c:(.text+0x155e): undefined reference to `mnl_attr_get_payload_len'
session.c:(.text+0x157c): undefined reference to `mnl_attr_ok'
session.c:(.text+0x15c7): undefined reference to `mnl_attr_parse_nested'
session.c:(.text+0x1823): undefined reference to `mnl_attr_next'
../lib/.libs/libipset.a(session.o): In function `callback_data':
session.c:(.text+0x1dac): undefined reference to `mnl_attr_parse'
session.c:(.text+0x1dc7): undefined reference to `mnl_attr_get_u8'
session.c:(.text+0x1ef8): undefined reference to `mnl_attr_get_str'
session.c:(.text+0x1f6a): undefined reference to `mnl_attr_get_str'
session.c:(.text+0x205e): undefined reference to `mnl_attr_get_u8'
session.c:(.text+0x206f): undefined reference to `mnl_attr_get_u8'
../lib/.libs/libipset.a(session.o): In function `build_send_private_msg':
session.c:(.text+0x2362): undefined reference to `mnl_attr_put_u8'
session.c:(.text+0x250c): undefined reference to `mnl_attr_put_u8'
../lib/.libs/libipset.a(session.o): In function `build_msg':
session.c:(.text+0x25bd): undefined reference to `mnl_attr_put_u8'
session.c:(.text+0x274b): undefined reference to `mnl_attr_put_u8'
session.c:(.text+0x2a2b): undefined reference to `mnl_attr_nest_cancel'
../lib/.libs/libipset.a(mnl.o): In function `ipset_mnl_query':
mnl.c:(.text+0x3e): undefined reference to `mnl_socket_sendto'
mnl.c:(.text+0x83): undefined reference to `mnl_cb_run2'
mnl.c:(.text+0x99): undefined reference to `mnl_socket_recvfrom'
../lib/.libs/libipset.a(mnl.o): In function `ipset_mnl_fill_hdr':
mnl.c:(.text+0xd6): undefined reference to `mnl_nlmsg_put_header'
mnl.c:(.text+0x107): undefined reference to `mnl_nlmsg_put_extra_header'
../lib/.libs/libipset.a(mnl.o): In function `ipset_mnl_fini':
mnl.c:(.text+0x134): undefined reference to `mnl_socket_close'
../lib/.libs/libipset.a(mnl.o): In function `ipset_mnl_init':
mnl.c:(.text+0x17c): undefined reference to `mnl_socket_open'
mnl.c:(.text+0x19a): undefined reference to `mnl_socket_bind'
mnl.c:(.text+0x1a8): undefined reference to `mnl_socket_get_portid'
mnl.c:(.text+0x1de): undefined reference to `mnl_socket_close'
collect2: ld returned 1 exit status
make[2]: *** [ipset] Error 1
make[2]: Leaving directory `/usr/src/kernels/linux-2.6.39.2/ipset-6.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kernels/linux-2.6.39.2/ipset-6.8'
make: *** [all] Error 2

PLEASE TELL ME HOW TO INSTALL IPSET ......
 
Old 07-22-2011, 10:19 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by dashang.trivedi View Post
I want to install IPSET 6.8..

for that i m doing this steps:
---> sh autogen.sh
1)./configure --with-kbuild=/lib/modules/2.6.39.2-1smp/build/ --libexecdir=/usr/local/lib/

So its give No package 'libmnl' found
So i install libmnl and set path
export libmnl_LIBS=$PWD/libmnl-1.0.1/src/.libs/
export libmnl_CFLAGS=$PWD/libmnl-1.0.1/include/
than again i m start with
How did you install the library? And did you re-run the autogen.sh, or do a "make clean" after you installed it? What version/distro of Linux are you using?
Quote:
2) ./configure --with-kbuild=/lib/modules/2.6.39.2-1smp/build/ --libexecdir=/usr/local/lib/
SUCCESSFULLY CONFIGURE

3)make
BUT ITS GIVE ERROR Its stop process in between.
PLEASE TELL ME HOW TO INSTALL IPSET ......
You are missing a library or header somewhere. And this should be available in your online repos...have you tried to add it?
 
Old 07-22-2011, 11:03 AM   #3
dashang.trivedi
Member
 
Registered: Feb 2011
Posts: 56

Original Poster
Rep: Reputation: 0
Sir Thank You for replay...

sir which library i m not getting ....
I m using fedora 11...
i download ipset6.8.tar.bz file from ipset website...

i just follow the step which they have mention in their installation guide..

1) sh autogen.sh
2) ./configure (with kernel build directory) but its give me error that not found libmnl

so i download libmnl.1.0.1.tar.gz from netfilter web site and install it
3) than again i try with ./configure with build source its done
but when i type make command its give error

Last edited by dashang.trivedi; 07-22-2011 at 11:07 AM.
 
Old 07-22-2011, 01:04 PM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by dashang.trivedi View Post
Sir Thank You for replay...

sir which library i m not getting ....I m using fedora 11...
i download ipset6.8.tar.bz file from ipset website...
Ok...again, have you tried to install ipset from the online repos? "yum install ipset"???
Quote:
i just follow the step which they have mention in their installation guide..
1) sh autogen.sh
2) ./configure (with kernel build directory) but its give me error that not found libmnl

so i download libmnl.1.0.1.tar.gz from netfilter web site and install it
3) than again i try with ./configure with build source its done
but when i type make command its give error
Same as above...why don't you install the library from your online repos? Look for the libmnl library, and install it, and your development headers.

Also, FC11 is OLD, and hit end-of-life last year. The latest is 15...
 
Old 06-25-2013, 07:07 AM   #5
Caesurus
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
I know the post is super old, but I figured it may help someone.
Quote:
Originally Posted by dashang.trivedi
I want to install IPSET 6.8..

for that i m doing this steps:
---> sh autogen.sh
1)./configure --with-kbuild=/lib/modules/2.6.39.2-1smp/build/ --libexecdir=/usr/local/lib/

So its give No package 'libmnl' found
So i install libmnl and set path
export libmnl_LIBS=$PWD/libmnl-1.0.1/src/.libs/
export libmnl_CFLAGS=$PWD/libmnl-1.0.1/include/
The correct settings for these exports are:
Code:
export libmnl_CFLAGS="-I/buildpath/libmnl-1.0.3/include/"
export libmnl_LIBS="-L/usr/libs -lmnl"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wubi Ubuntu install from download problem - Install files not found katmandieux Ubuntu 3 04-18-2011 11:37 AM
Yum Install flvtool2 (and ruby install) Problem athomas Linux - Server 1 10-01-2009 06:04 PM
Slack 11 install problem (cd install asks for /dev/fd0) cygnus-x1 Slackware 1 10-16-2006 10:30 AM
Slack 10.1 Install Problem(During Package Install) terdbird Slackware - Installation 2 04-22-2005 02:18 PM
dhcp problem in Debian netinst install..Help !! install. copter Linux - Networking 11 06-30-2004 01:14 PM


All times are GMT -5. The time now is 08:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration