LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-15-2008, 07:40 PM   #1
c0re
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Rep: Reputation: 0
Net-Libdnet


root@matrix:/usr/src/Net-Libdnet-0.01# perl Makefile.PL
Note (probably harmless): No library found for -ldnet
Writing Makefile for Net::Libdnet
root@matrix:/usr/src/Net-Libdnet-0.01#

root@matrix:/usr/src/Net-Libdnet-0.01# make
cc -c -I/usr/local/include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i486 -mtune=i686 -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC "-I/usr/lib/perl5/5.8.8/i486-linux-thread-multi/CORE" Libdnet.c
Libdnet.xs:35:18: error: dnet.h: No such file or directory
Libdnet.xs:37: warning: 'struct intf_entry' declared inside parameter list
Libdnet.xs:37: warning: its scope is only this definition or declaration, which is probably not what you want
Libdnet.xs: In function 'intf2hash':
Libdnet.xs:50: error: dereferencing pointer to incomplete type
Libdnet.xs:58: error: dereferencing pointer to incomplete type
Libdnet.xs:66: error: dereferencing pointer to incomplete type
Libdnet.xs:74: error: dereferencing pointer to incomplete type
Libdnet.xs:82: error: dereferencing pointer to incomplete type
Libdnet.xs:91: error: dereferencing pointer to incomplete type
Libdnet.xs:91: warning: assignment makes pointer from integer without a cast
Libdnet.xs:95: error: dereferencing pointer to incomplete type
Libdnet.xs:95: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast
Libdnet.xs:105: error: dereferencing pointer to incomplete type
Libdnet.xs:105: warning: assignment makes pointer from integer without a cast
Libdnet.xs:109: error: dereferencing pointer to incomplete type
Libdnet.xs:109: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast
Libdnet.xs:119: error: dereferencing pointer to incomplete type
Libdnet.xs:119: warning: assignment makes pointer from integer without a cast
Libdnet.xs:123: error: dereferencing pointer to incomplete type
Libdnet.xs:123: warning: passing argument 2 of 'Perl_newSVpv' makes pointer from integer without a cast
Libdnet.xs: In function 'XS_Net__Libdnet_addr_cmp':
Libdnet.xs:144: error: storage size of 'SadA' isn't known
Libdnet.xs:144: error: storage size of 'SadB' isn't known
Libdnet.xs: In function 'XS_Net__Libdnet_addr_bcast':
Libdnet.xs:188: error: storage size of 'SadAd' isn't known
Libdnet.xs:188: error: storage size of 'SadBc' isn't known
Libdnet.xs:208: warning: assignment makes pointer from integer without a cast
Libdnet.xs: In function 'XS_Net__Libdnet_addr_net':
Libdnet.xs:226: error: storage size of 'SadAd' isn't known
Libdnet.xs:226: error: storage size of 'SadBc' isn't known
Libdnet.xs:246: warning: assignment makes pointer from integer without a cast
Libdnet.xs: In function 'XS_Net__Libdnet_arp_add':
Libdnet.xs:264: error: 'arp_t' undeclared (first use in this function)
Libdnet.xs:264: error: (Each undeclared identifier is reported only once
Libdnet.xs:264: error: for each function it appears in.)
Libdnet.xs:264: error: 'AtArp' undeclared (first use in this function)
Libdnet.xs:265: error: storage size of 'SarEntry' isn't known
Libdnet.xs:265: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:266: error: storage size of 'SadAddr' isn't known
Libdnet.xs:293: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs:303: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs: In function 'XS_Net__Libdnet_arp_delete':
Libdnet.xs:327: error: 'arp_t' undeclared (first use in this function)
Libdnet.xs:327: error: 'AtArp' undeclared (first use in this function)
Libdnet.xs:328: error: storage size of 'SarEntry' isn't known
Libdnet.xs:328: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:329: error: storage size of 'SadAddr' isn't known
Libdnet.xs:352: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs: In function 'XS_Net__Libdnet_arp_get':
Libdnet.xs:376: error: 'arp_t' undeclared (first use in this function)
Libdnet.xs:376: error: 'AtArp' undeclared (first use in this function)
Libdnet.xs:377: error: storage size of 'SarEntry' isn't known
Libdnet.xs:377: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:378: error: storage size of 'SadAddr' isn't known
Libdnet.xs:401: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs:410: warning: assignment makes pointer from integer without a cast
Libdnet.xs: In function 'XS_Net__Libdnet_intf_get':
Libdnet.xs:433: error: 'intf_t' undeclared (first use in this function)
Libdnet.xs:433: error: 'ItIntf' undeclared (first use in this function)
Libdnet.xs:434: error: storage size of 'SieEntry' isn't known
Libdnet.xs:434: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:457: error: 'INTF_NAME_LEN' undeclared (first use in this function)
Libdnet.xs: In function 'XS_Net__Libdnet_intf_get_src':
Libdnet.xs:478: error: 'intf_t' undeclared (first use in this function)
Libdnet.xs:478: error: 'ItIntf' undeclared (first use in this function)
Libdnet.xs:479: error: storage size of 'SieEntry' isn't known
Libdnet.xs:479: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:480: error: storage size of 'SaAddr' isn't known
Libdnet.xs: In function 'XS_Net__Libdnet_intf_get_dst':
Libdnet.xs:529: error: 'intf_t' undeclared (first use in this function)
Libdnet.xs:529: error: 'ItIntf' undeclared (first use in this function)
Libdnet.xs:530: error: storage size of 'SieEntry' isn't known
Libdnet.xs:530: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:531: error: storage size of 'SaAddr' isn't known
Libdnet.xs: In function 'XS_Net__Libdnet_route_add':
Libdnet.xs:580: error: 'route_t' undeclared (first use in this function)
Libdnet.xs:580: error: 'RtRoute' undeclared (first use in this function)
Libdnet.xs:581: error: storage size of 'SrtEntry' isn't known
Libdnet.xs:581: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:582: error: storage size of 'SadAddr' isn't known
Libdnet.xs:609: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs:619: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs: In function 'XS_Net__Libdnet_route_delete':
Libdnet.xs:643: error: 'route_t' undeclared (first use in this function)
Libdnet.xs:643: error: 'RtRoute' undeclared (first use in this function)
Libdnet.xs:644: error: storage size of 'SrtEntry' isn't known
Libdnet.xs:644: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:645: error: storage size of 'SadAddr' isn't known
Libdnet.xs:668: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs: In function 'XS_Net__Libdnet_route_get':
Libdnet.xs:692: error: 'route_t' undeclared (first use in this function)
Libdnet.xs:692: error: 'RtRoute' undeclared (first use in this function)
Libdnet.xs:693: error: storage size of 'SrtEntry' isn't known
Libdnet.xs:693: warning: ISO C90 forbids mixed declarations and code
Libdnet.xs:694: error: storage size of 'SadAddr' isn't known
Libdnet.xs:717: error: invalid application of 'sizeof' to incomplete type 'struct addr'
Libdnet.xs:726: warning: assignment makes pointer from integer without a cast
make: *** [Libdnet.o] Error 1
root@matrix:/usr/src/Net-Libdnet-0.01#

slackware version is 12.1, how to fix this problem?
 
Old 08-16-2008, 01:00 AM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Get libdnet and install it? I'm assuming you're trying build some kind of Perl module or something.
 
Old 08-16-2008, 11:20 AM   #3
c0re
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
that is libdnet, but i can`t install it... please help me :-)
 
Old 08-16-2008, 11:32 AM   #4
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
You need the C version, it seems, before you can install the Perl module. You can get the source for it here.
 
Old 08-16-2008, 12:32 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Real programers don't use a dumb networking library anyway

Last edited by keefaz; 08-16-2008 at 12:34 PM.
 
Old 08-16-2008, 02:53 PM   #6
c0re
LQ Newbie
 
Registered: Jul 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Problem fixed. Tnx Nylex.
 
  


Reply



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
Lost ability to net-surf with toast.net dsl under openSUSE 10.3 DeekBeek Linux - Networking 5 02-10-2008 12:26 PM
Firewalk-5 and libdnet jimaman Linux - Software 0 02-12-2007 06:30 PM
FC6 libdnet.1 installed but not found securitybreach Fedora 9 12-15-2006 11:29 AM
libdnet what?!! Xon Linux - Security 2 10-14-2004 12:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:12 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration