[Xorp-hackers] XORP compilation for power pc

Gorja Prasad-B37785 B37785 at freescale.com
Tue Mar 13 11:44:40 PDT 2012


Log1:(when included CFLAGS=-I=-I/usr/local/ssl/include \ 
	CXXFLAGS=-I/usr/local/ssl/include \
	> LINKFLAGS=-L/usr/local/ssl/lib)\

Checking whether system has sysctl IPCTL_FORWARDING... no
Checking whether __KAME__ is declared... no
Checking whether inet6_opt_init is declared... no
Checking whether C type struct sockaddr_in6 has member sin6_len... no
Checking whether C type struct sockaddr_in6 has member sin6_scope_id... yes
Checking for C header file netinet/ip6.h... yes
Checking for C header file netinet/icmp6.h... yes
Checking for C type struct mld_hdr... yes
Checking for C header file netinet6/in6_var.h... no
Checking for C header file netinet6/nd6.h... no
Checking for C++ header file netinet6/nd6.h... no
Checking whether system has sysctl IPV6CTL_FORWARDING... no
Checking whether system has sysctl IPV6CTL_ACCEPT_RTADV... no
Checking whether IPV6_MULTICAST_IF is declared... yes
Checking whether IPV6_MULTICAST_LOOP is declared... yes
Checking whether fpclassify is declared... no
Checking whether fpclassify is declared... no
ERROR:  Cannot find fpclassify, tried -std=gnu99 as well


Log2( when not included the CFLAGS,CXX FLAGS and LINKFLAGS):


Checking whether C type struct mfcctl2 has member mfcc_flags... no
Checking whether C type struct mfcctl2 has member mfcc_rp... no
Checking for C header file netinet/pim.h... no
Checking for C type struct pim... no
Checking whether C type struct pim has member pim_vt... no
Checking for C header file netinet6/ip6_mroute.h... no
Checking for C header file linux/mroute6.h... yes
Checking whether inet6_option_space is declared... no
Checking for C type struct mf6cctl2... no
Checking whether C type struct mf6cctl2 has member mf6cc_flags... no
Checking whether C type struct mf6cctl2 has member mf6cc_rp... no

WARNING:  inet6_option_* and inet6_opt_* are not supported on this system.
  this might cause some problems with IPv6 multicast routing.

Checking whether C type struct mif6ctl has member vifc_threshold... yes
Checking for C header file netinet/ip_compat.h... no
Checking for C header file netinet/ip_fil.h... no
Checking for C header file netinet/ip_fw.h... no
Checking for C header file net/pfvar.h... no
Checking for C++ header file linux/netfilter_ipv4/ip_tables.h... no
Checking for C++ header file linux/netfilter_ipv6/ip6_tables.h... no
Checking for C header file net/if_vlanvar.h... no
Checking for C header file net/if_vlan_var.h... no
Checking for C header file net/vlan/if_vlan_var.h... no
Checking for C header file linux/if_vlan.h... yes
Checking whether GET_VLAN_REALDEV_NAME_CMD is declared... yes
Checking whether GET_VLAN_VID_CMD is declared... yes
Checking for C header file pcre.h... no
Checking for C header file pcreposix.h... no
Checking for C library pcre... no
Checking for C library pcreposix... no
Checking for C header file openssl/md5.h... no

ERROR:  Cannot find required openssl/md5.h.
  On Fedora/RedHat:  yum install openssl-devel
  On Ubuntu:  apt-get install libssl-dev
  After install, rm -fr xorp/obj build directory to
  clear the configure cache before re-building.


Log3(config.log): 

cons: Configure: Checking for C header file openssl/md5.h...
obj/powerpc-none-linux-gnuspe/.sconf_temp/conftest_198.c <-
  |#include <sys/types.h>
  |
  |#include <openssl/md5.h>
  |
  |
/opt/freescale/usr/local/gcc-4.3.74-eglibc-2.8.74-dp-2/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnuspe-gcc -o obj/powerpc-none-linux-gnuspe/.sconf_temp/conftest_198.o -c -std=gnu99 -Iobj/powerpc-none-linux-gnuspe obj/powerpc-none-linux-gnuspe/.sconf_temp/conftest_198.c
obj/powerpc-none-linux-gnuspe/.sconf_temp/conftest_198.c:3:25: error: openssl/md5.h: No such file or directory
scons: Configure: no


Thanks,
Prasad Gorja

-----Original Message-----
From: Ben Greear [mailto:greearb at candelatech.com] 
Sent: Tuesday, March 13, 2012 11:52 PM
To: Gorja Prasad-B37785
Cc: xorp-hackers at icir.org
Subject: Re: XORP compilation for power pc

On 03/13/2012 11:14 AM, Gorja Prasad-B37785 wrote:
> Ben,
>
> Thanks for the reply and I have registered with my coreID.
>
> I have compiled openssl-1.0.0 and installed at default location /usr/local/ssl/ and can see /usr/local/ssl/lib and /usr/local/ssl/bin directories.
>
> scons build= powerpc-none-linux-gnuspe \
>
> STRIP=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-g
> nuspe-strip \
>
> CC=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnus
> pe-gcc \
>
> CXX=$(TOOL_CHAIN)/powerpc-none-linux-gnuspe/bin/powerpc-none-linux-gnu
> spe-g++
>
> CFLAGS=-I=-I/usr/local/ssl/include \
>
> CXXFLAGS=-I/usr/local/ssl/include \
>
> LINKFLAGS=-L/usr/local/ssl/lib
>
> I hit the road either ERROR: Cannot find required openssl/md5.h or ERROR: cannot find fpclassify,tried -std=gnu99 as well.
>
>  >>>>>>>I think I compiled openssl and placed it in the standard 
> include & library paths for the cross-compiler when using ARM
>
> Could you provide the paths where you have placed opensssl for ARM.

Please post the last bit of your compile log where the error occurs.

That fpclassify thing is something else I think.  Please post the few lines around that message as well.

Thanks,
Ben

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






More information about the Xorp-hackers mailing list