Hi

Yes ..Without BGP .. Linking is not happening.  I tried to enable only 
multicast but it is not worked out got errors related to linking 
then  i enable bgp problem solved

Thank you for your support .
Rajeesh
________________________________________
From: Ben Greear [[email protected]]
Sent: Tuesday, February 24, 2015 8:26 PM
To: Rajeesh R
Cc: [email protected]
Subject: Re: [Xorp-hackers] Porting xorp

On 02/24/2015 04:16 AM, Rajeesh R wrote:
> Hi
>
> I could able to cross compile the source for powerpc arch ..!!!!!!!!!
>
> But While disabling features
>
> = enable_bgp=no
> = enable_ospf=no
> = enable_olsr=no
> = enable_vrrp=no
>
> and compiling I am  geting error (Pls see below) Is it necessary to enable 
> above protocols for compilation ?
>
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0xcc): 
> In function `hmac_md5':
> libxipc/hmac_md5.c:96: undefined reference to `MD5_Init'

Looks like this should be linking libssl or something like that?

Thanks,
Ben

> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0xdc):libxipc/hmac_md5.c:97:
>  undefined reference to `MD5_Update'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0xec):libxipc/hmac_md5.c:98:
>  undefined reference to `MD5_Update'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0xf8):libxipc/hmac_md5.c:99:
>  undefined reference to `MD5_Final'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x100):libxipc/hmac_md5.c:103:
>  undefined reference to `MD5_Init'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x110):libxipc/hmac_md5.c:104:
>  undefined reference to `MD5_Update'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x120):libxipc/hmac_md5.c:105:
>  undefined reference to `MD5_Update'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x12c):libxipc/hmac_md5.c:106:
>  undefined reference to `MD5_Final'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x16c):libxipc/hmac_md5.c:63:
>  undefined reference to `MD5_Init'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x17c):libxipc/hmac_md5.c:64:
>  undefined reference to `MD5_Update'
> obj/powerpc-unknown-linux-gnu/libxipc/libxorp_ipc.a(hmac_md5.o)(.text+0x190):libxipc/hmac_md5.c:65:
>  undefined reference to `MD5_Final'
> collect2: ld returned 1 exit status
> scons: *** [obj/powerpc-unknown-linux-gnu/rip/tools/rip_show_peer_stats] 
> Error 1
> scons: building terminated because of errors.
> make: *** [all] Error 2
>
>
> Thanks
> Rajeesh
>
> ________________________________________
> From: [email protected] [[email protected]] on behalf 
> of Rajeesh R [[email protected]]
> Sent: Monday, February 23, 2015 4:05 PM
> To: Ben Greear
> Cc: [email protected]
> Subject: Re: [Xorp-hackers] Porting xorp
>
> Hi
>
> I am facing an issue with RPATH . It is not taking the library . Its 
> generated (pls see the below terminal log)
> I tried with RPATH variable but it is not taking. Any idea ?
>
> My command is
>
> scons build=powerpc CC=/usr/local/ppce500v2/bin/powerpc-linux-gcc 
> CXX=/usr/local/ppce500v2/bin/powerpc-linux-g++ 
> CFLAGS=-I/home/thinkpalm/git/snapgear/include 
> LINKFLAGS=-L/home/thinkpalm/git/snapgear/lib 
> RPATH=/home/thinkpalm/git/snapgear/lib
>
>
> scons: `obj/powerpc-unknown-none/libxorp/libxorp_core.so' is up to date.
> scons: `obj/powerpc-unknown-none/libcomm/libxorp_comm.so' is up to date.
> scons: `obj/powerpc-unknown-none/libxipc/libxorp_ipc.so' is up to date.
> scons: `obj/powerpc-unknown-none/xrl/interfaces/libxif_cli_processor.so' is 
> up to date.
> scons: `obj/powerpc-unknown-none/libproto/libxorp_proto.so' is up to date.
> /usr/local/ppce500v2/bin/powerpc-linux-g++ -o 
> obj/powerpc-unknown-none/cli/tools/cli_generic -Wl,-z,origin 
> -L/home/thinkpalm/git/snapgear/lib -rdynamic -Wl,-rpath=\$ORIGIN/../lib 
> obj/powerpc-unknown-none/cli/tools/cli_generic.o 
> -Lobj/powerpc-unknown-none/cli/tools/usr/lib -Lcli/tools/usr/lib 
> -Lobj/powerpc-unknown-none/libxorp -Llibxorp 
> -Lobj/powerpc-unknown-none/libcomm -Llibcomm 
> -Lobj/powerpc-unknown-none/libxipc -Llibxipc 
> -Lobj/powerpc-unknown-none/libproto -Llibproto 
> -Lobj/powerpc-unknown-none/xrl/interfaces -Lxrl/interfaces 
> -Lobj/powerpc-unknown-none/xrl/targets -Lxrl/targets 
> -Lobj/powerpc-unknown-none/cli/tools -Lcli/tools -lxif_cli_processor 
> -lxorp_ipc -lxorp_core -lxorp_proto -lxorp_comm
> /usr/local/ppce500v2/bin/../lib/gcc/powerpc-buildroot-linux-gnuspe/4.7.3/../../../../powerpc-buildroot-linux-gnuspe/bin/ld:
>  warning: libcrypto.so.1.0.0, needed by 
> obj/powerpc-unknown-none/libxipc/libxorp_ipc.so, not found (try using -rpath 
> or -rpath-link)
> obj/powerpc-unknown-none/libxipc/libxorp_ipc.so: undefined reference to 
> `MD5_Init'
> obj/powerpc-unknown-none/libxipc/libxorp_ipc.so: undefined reference to 
> `MD5_Final'
> obj/powerpc-unknown-none/libxipc/libxorp_ipc.so: undefined reference to 
> `MD5_Update'
> collect2: error: ld returned 1 exit status
> scons: *** [obj/powerpc-unknown-none/cli/tools/cli_generic] Error 1
> scons: building terminated because of errors.
>
> Thanks
> Rajeesh
>
> ________________________________________
> From: Ben Greear [[email protected]]
> Sent: Friday, February 20, 2015 10:30 PM
> To: Rajeesh R
> Cc: Syamasundar Gandikota; [email protected]
> Subject: Re: [Xorp-hackers] Porting xorp
>
> On 02/20/2015 12:08 AM, Rajeesh R wrote:
>> Hi Syam,
>>
>> Thank you for your information
>>
>> Now I am facing an issue .see below error message .
>>
>> /usr/local/powerpc-linux/bin/powerpc-linux-g++ -o 
>> obj/powerpc-unknown-linux-gnu/libxorp/win_dispatcher.os -c -O2 -g3 -W -Wall 
>> -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
>> -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO -fPIC 
>> -DXRL_PF=120 -DXORP_VERSION=1.8.6-WIP -Iobj/powerpc-unknown-linux-gnu -I. 
>> -I. libxorp/win_dispatcher.cc
>> /usr/local/powerpc-linux/bin/powerpc-linux-g++ -o 
>> obj/powerpc-unknown-linux-gnu/libxorp/profile.os -c -O2 -g3 -W -Wall 
>> -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align 
>> -Woverloaded-virtual -ftemplate-depth-25 -pipe -DXORP_BUILDINFO -fPIC 
>> -DXRL_PF=120 -DXORP_VERSION=1.8.6-WIP -Iobj/powerpc-unknown-linux-gnu -I. 
>> -I. libxorp/profile.cc
>> scons: *** [obj/powerpc-unknown-linux-gnu/libxorp/build_info.os] Source 
>> `libxorp/build_info.cc' not found, needed by target 
>> `obj/powerpc-unknown-linux-gnu/libxorp/build_info.os'.
>> scons: building terminated because of errors.
>> make: *** [all] Error 2
>>
>> Do you have any idea on this ? Do I want to enable or disable during 
>> compilation to generate it ?
>
> This should be auto-generated by the scons framework.  You might grep through 
> code to find what
> is supposed to be creating it and see if you can figure out why it is not.
>
> Thanks,
> Ben
>
> --
> Ben Greear <[email protected]>
> Candela Technologies Inc  http://www.candelatech.com
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
> _______________________________________________
> Xorp-hackers mailing list
> [email protected]
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>

--
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

_______________________________________________
Xorp-hackers mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers

Reply via email to