[Xorp-hackers] problem compiling xorp - ubuntu

Ben Greear greearb at candelatech.com
Thu Jan 7 09:46:21 PST 2010


On 01/07/2010 09:42 AM, Aleksandar Cvjetic wrote:
> Hi Ben,
>
> I've got the latest version from your repo and install packages as you
> suggest (not patch) and got the same:
>
> root at aleks:~/xorp.ct# scons
> scons: Reading SConscript files ...
> ..........................................................
> In file included from libxorp/ether_compat.c:102:
> ./libxorp/ether_compat.h:72: error: redefinition of ‘struct ether_addr’
> ./libxorp/ether_compat.h:78: error: conflicting types for ‘ether_aton’
> /usr/include/netinet/ether.h:36: note: previous declaration of
> ‘ether_aton’ was here
> ./libxorp/ether_compat.h:82: error: conflicting types for ‘ether_ntoa’
> /usr/include/netinet/ether.h:31: note: previous declaration of
> ‘ether_ntoa’ was here
> libxorp/ether_compat.c:114: error: conflicting types for ‘ether_ntoa’
> /usr/include/netinet/ether.h:31: note: previous declaration of
> ‘ether_ntoa’ was here
> libxorp/ether_compat.c:146: error: conflicting types for ‘ether_aton’
> /usr/include/netinet/ether.h:36: note: previous declaration of
> ‘ether_aton’ was here
> scons: *** [obj/i686-pc-linux-gnu/libxorp/ether_compat.os] Error 1
> scons: building terminated because of errors.
> root at aleks:~/xorp.ct#
>
> What is the way to apply the patch? Maybe it solves my problem.

No, my patch is already in that repo, and it causes a different problem anyway.

You must not have all of the boost stuff installed properly.

Please:

rm -fr obj
re-build, and when it fails, send me the obj/*/config.log file

Thanks,
Ben

-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list