[Dibbler] Problems compiling on a redhat enterprise 4u4 OS

Denise Hynson dhynson at broadcom.com
Thu Apr 19 13:02:47 CEST 2007


Adding

#include <linux/types.h>

To lowlevel-options-linux.c fixed the issue.  Did not have to touch the
header files.  



-----Original Message-----
From: dibbler-bounces at klub.com.pl [mailto:dibbler-bounces at klub.com.pl]
On Behalf Of Rommel Laranjo
Sent: Wednesday, April 18, 2007 10:06 PM
To: Dibbler users list
Subject: Re: [Dibbler] Problems compiling on a redhat enterprise 4u4 OS

Hi,

I have encountered this one too when i try to install dibbler in Fedora
Core 5, what i did was i tried to update some of the header files of
FC5, and it works.

Cheers,

Rommel

On 4/17/07, Denise Hynson <dhynson at broadcom.com> wrote:
> Can someone help me?
>
> ste-apt-01:dibbler-0.6.0-RC1 {49}: make server [CONFIG ] /poslib/
> [MAKE   ] /poslib/poslib
> [LINKS  ] /include
> [CXX    ] /IfaceMgr/SocketIPv6.o
> [CXX    ] /IfaceMgr/Iface.o
> [CXX    ] /IfaceMgr/IfaceMgr.o
> [LIB    ] /IfaceMgr/libIfaceMgr.a
> [CXX    ] /AddrMgr/AddrAddr.o
> [CXX    ] /AddrMgr/AddrIA.o
> [CXX    ] /AddrMgr/AddrClient.o
> [CXX    ] /AddrMgr/AddrMgr.o
> [CXX    ] /AddrMgr/AddrPrefix.o
> [LIB    ] /AddrMgr/libAddrMgr.a
> [CXX    ] /CfgMgr/CfgMgr.o
> [CXX    ] /CfgMgr/TimeZone.o
> [CXX    ] /CfgMgr/StationID.o
> [CXX    ] /CfgMgr/StationRange.o
> [LIB    ] /CfgMgr/libCfgMgr.a
> [CXX    ] /Messages/Msg.o
> [LIB    ] /Messages/libMsg.a
> [CXX    ] /Options/Opt.o
> [CXX    ] /Options/OptIAAddress.o
> [CXX    ] /Options/OptGeneric.o
> [CXX    ] /Options/OptTA.o
> [CXX    ] /Options/OptPreference.o
> [CXX    ] /Options/OptRapidCommit.o
> [CXX    ] /Options/OptInteger.o
> [CXX    ] /Options/OptDUID.o
> [CXX    ] /Options/OptStatusCode.o
> [CXX    ] /Options/OptUserClass.o
> [CXX    ] /Options/OptVendorClass.o
> [CXX    ] /Options/OptVendorSpecInfo.o
> [CXX    ] /Options/OptIA_NA.o
> [CXX    ] /Options/OptOptionRequest.o
> [CXX    ] /Options/OptAddr.o
> [CXX    ] /Options/OptAddrLst.o
> [CXX    ] /Options/OptString.o
> [CXX    ] /Options/OptStringLst.o
> OptStringLst.cpp: In member function `virtual char*
>    TOptStringLst::storeSelf(char*)':
> OptStringLst.cpp:117: warning: assignment of negative value `-1' to 
> `size_t'
> OptStringLst.cpp:117: warning: argument of negative value `-1' to 
> `unsigned int
>    '
> [CXX    ] /Options/OptFQDN.o
> [CXX    ] /Options/OptIA_PD.o
> [CXX    ] /Options/OptIAPrefix.o
> [CXX    ] /Options/OptAuthentication.o
> [LIB    ] /Options/libOptions.a
> [CXX    ] /Misc/Logger.o
> [CXX    ] /Misc/DHCPConst.o
> [CXX    ] /Misc/DUID.o
> [CXX    ] /Misc/IPv6Addr.o
> [CC     ] /Misc/addrpack.o
> [CXX    ] /Misc/FQDN.o
> [CC     ] /Misc/sha1.o
> [CC     ] /Misc/sha256.o
> [CC     ] /Misc/sha512.o
> [CC     ] /Misc/hmac-sha-md5.o
> [LIB    ] /Misc/libMisc.a
> [CC     ] /Port-linux/lowlevel-linux.o
> [CC     ] /Port-linux/libnetlink.o (warnings)
> [CC     ] /Port-linux/ll_map.o
> [CC     ] /Port-linux/ll_types.o
> [CC     ] /Port-linux/utils.o (warnings)
> [CC     ] /Port-linux/lowlevel-options-linux.o
> In file included from /usr/include/linux/rtnetlink.h:4,
>                  from lowlevel-options-linux.c:14:
> /usr/include/linux/netlink.h:22: error: parse error before "__u32"
> /usr/include/linux/netlink.h:23: error: ISO C forbids data definition 
> with no type or storage class
> /usr/include/linux/netlink.h:28: error: parse error before "__u32"
> /usr/include/linux/netlink.h:29: error: ISO C forbids data definition 
> with no type or storage class
> /usr/include/linux/netlink.h:30: error: parse error before
"nlmsg_flags"
> /usr/include/linux/netlink.h:30: error: ISO C forbids data definition 
> with no type or storage class
> /usr/include/linux/netlink.h:31: error: parse error before "nlmsg_seq"
> /usr/include/linux/netlink.h:31: error: ISO C forbids data definition 
> with no type or storage class
> /usr/include/linux/netlink.h:32: error: parse error before "nlmsg_pid"
> /usr/include/linux/netlink.h:32: error: ISO C forbids data definition 
> with no type or storage class
> /usr/include/linux/netlink.h:82: error: field `msg' has incomplete 
> type In file included from lowlevel-options-linux.c:14:
> /usr/include/linux/rtnetlink.h:247: error: parse error before "__u32"
> /usr/include/linux/rtnetlink.h:248: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:249: error: parse error before 
> "rta_expires"
> /usr/include/linux/rtnetlink.h:249: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:250: error: parse error before 
> "rta_error"
> /usr/include/linux/rtnetlink.h:250: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:251: error: parse error before
"rta_used"
> /usr/include/linux/rtnetlink.h:251: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:254: error: parse error before "rta_id"
> /usr/include/linux/rtnetlink.h:254: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:255: error: parse error before "rta_ts"
> /usr/include/linux/rtnetlink.h:255: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:256: error: parse error before 
> "rta_tsage"
> /usr/include/linux/rtnetlink.h:256: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:325: error: parse error before "__s32"
> /usr/include/linux/rtnetlink.h:326: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:351: error: parse error before "__u16"
> /usr/include/linux/rtnetlink.h:352: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:353: error: parse error before
"ndm_type"
> /usr/include/linux/rtnetlink.h:353: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:395: error: parse error before "__u32"
> /usr/include/linux/rtnetlink.h:396: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:397: error: parse error before 
> "ndm_updated"
> /usr/include/linux/rtnetlink.h:397: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:398: error: parse error before 
> "ndm_refcnt"
> /usr/include/linux/rtnetlink.h:398: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:494: error: parse error before "__u32"
> /usr/include/linux/rtnetlink.h:495: error: ISO C forbids data 
> definition with no type or storage class
> /usr/include/linux/rtnetlink.h:496: error: parse error before
"tcm_info"
> /usr/include/linux/rtnetlink.h:496: error: ISO C forbids data 
> definition with no type or storage class
> make[1]: *** [lowlevel-options-linux.o] Error 1
> make: *** [commonlibs] Error 1
> ste-apt-01:dibbler-0.6.0-RC1 {50}:
>
> _______________________________________________
> http://klub.com.pl/cgi-bin/mailman/listinfo/dibbler
>
_______________________________________________
http://klub.com.pl/cgi-bin/mailman/listinfo/dibbler




More information about the Dibbler mailing list