[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-bugs
Subject:    [ net-snmp-Bugs-2446289 ] fails to build with embedded perl 5.10
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2008-12-18 23:08:37
Message-ID: E1LDRyv-0000JC-Hw () 155xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #2446289, was opened at 2008-12-18 15:08
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2446289&group_id=12694

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: perl
Group: linux
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: mykhyggz (mykhyggz)
Assigned to: Nobody/Anonymous (nobody)
Summary: fails to build with embedded perl 5.10

Initial Comment:
 gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 \
-Ulinux -Dlinux=linux -fno-strict-aliasing -pipe -I/usr/src/linux/include \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm \
-I/usr/lib/perl5/5.10.0/i686-linux/CORE -Wall -Winline -Wstrict-prototypes \
-Wwrite-strings -Wcast-qual -Wno-char-subscripts -c mibII/var_route.c  -fPIC -DPIC -o \
                /tmp/var_route.o
mibII/var_route.c: In function ‘var_ipRouteEntry':
mibII/var_route.c:508: error: dereferencing pointer to incomplete type
mibII/var_route.c:552: error: dereferencing pointer to incomplete type
mibII/var_route.c:558: error: dereferencing pointer to incomplete type
mibII/var_route.c:565: error: dereferencing pointer to incomplete type
mibII/var_route.c:565: error: ‘RTF_GATEWAY' undeclared (first use in this function)
mibII/var_route.c:565: error: (Each undeclared identifier is reported only once
mibII/var_route.c:565: error: for each function it appears in.)
mibII/var_route.c:611: error: dereferencing pointer to incomplete type
mibII/var_route.c:617: error: dereferencing pointer to incomplete type
mibII/var_route.c:617: error: ‘RTF_UP' undeclared (first use in this function)
mibII/var_route.c:618: error: dereferencing pointer to incomplete type
mibII/var_route.c:632: error: dereferencing pointer to incomplete type
mibII/var_route.c:632: error: ‘RTF_DYNAMIC' undeclared (first use in this function)
mibII/var_route.c:659: error: dereferencing pointer to incomplete type
mibII/var_route.c:678: error: dereferencing pointer to incomplete type
mibII/var_route.c:681: error: dereferencing pointer to incomplete type
mibII/var_route.c: In function ‘Route_Scan_Reload':
mibII/var_route.c:1324: error: storage size of ‘rtent' isn't known
mibII/var_route.c:1330: error: dereferencing pointer to incomplete type
mibII/var_route.c:1331: error: dereferencing pointer to incomplete type
mibII/var_route.c:1339: error: dereferencing pointer to incomplete type
mibII/var_route.c:1352: error: dereferencing pointer to incomplete type
mibII/var_route.c:1355: error: dereferencing pointer to incomplete type
mibII/var_route.c:1355: error: dereferencing pointer to incomplete type
mibII/var_route.c:1355: warning: left-hand operand of comma expression has no effect
mibII/var_route.c:1356: error: dereferencing pointer to incomplete type
mibII/var_route.c:1356: error: dereferencing pointer to incomplete type
mibII/var_route.c:1356: warning: left-hand operand of comma expression has no effect
mibII/var_route.c:1358: error: dereferencing pointer to incomplete type
mibII/var_route.c:1373: error: invalid application of ‘sizeof' to incomplete type \
‘struct rtentry'  mibII/var_route.c:1378: error: invalid application of ‘sizeof' \
to incomplete type ‘struct rtentry'  mibII/var_route.c:1324: warning: unused \
                variable ‘rtent'
mibII/var_route.c: In function ‘qsort_compare':
mibII/var_route.c:1428: error: dereferencing pointer to incomplete type
mibII/var_route.c:1431: error: dereferencing pointer to incomplete type

with either 
[1] i686-pc-linux-gnu-4.1.2
 [2] i686-pc-linux-gnu-4.2.4 

So, I'll attach:
 gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -g -O2 \
-Ulinux -Dlinux=linux -fno-strict-aliasing -pipe -I/usr/src/linux/include \
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm \
-I/usr/lib/perl5/5.10.0/i686-linux/CORE -Wall -Winline -Wstrict-prototypes \
-Wwrite-strings -Wcast-qual -Wno-char-subscripts -c mibII/var_route.c  -fPIC -DPIC -E \
-dD -o /tmp/var_route.i



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2446289&group_id=12694

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Net-snmp-bugs mailing list
Net-snmp-bugs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic