[Xorp-users] Problem with scons build in xorp 1.7-WIP

naresh raga naresh_raga at yahoo.co.in
Fri Sep 18 06:06:06 PDT 2009


Hi Bruce and J.T.

You are true.I was able to build and install xorp in different paths using prefix.I have run scons two times ,one for build and the other for install using same prefix path as said in previous message by J.T.Now I am free from all errors in building xorp-1.7 on my system.

But when I am cross-compiling ,I have used the below arguments for scons 

scons CC=/home/rupesh/Desktop/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc CXX=/home/rupesh/Desktop/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-g++ STRIP=/home/rupesh/Desktop/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-strip arch=arm-linux os=linux strip=True prefix=/media/disk/naresh/xorpinstall shared=True DESTDIR=/media/disk/naresh/destdir

it is resulting in the below errors:

/home/rupesh/Desktop/gcc-3.3.4-glibc-2.3.2/bin/arm-linux-gcc -o obj/arm-linux-linux-public17/libxipc/hmac_md5.os -c -g -Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs -fPIC -D_FORTIFY_SOURCE=0 -I/usr/sfw/include -I/opt/local/include -I/usr/local/include -Iobj/arm-linux-linux-public17 -I. -I. libxipc/hmac_md5.c
libxipc/hmac_md5.c:42:25: openssl/md5.h: No such file or directory
libxipc/hmac_md5.c: In function `hmac_md5':
libxipc/hmac_md5.c:53: error: `MD5_CTX' undeclared (first use in this function)
libxipc/hmac_md5.c:53: error: (Each undeclared identifier is reported only once
libxipc/hmac_md5.c:53: error: for each function it appears in.)
libxipc/hmac_md5.c:53: error: parse error before "context"
libxipc/hmac_md5.c:61: error: parse error before "tctx"
libxipc/hmac_md5.c:63: warning: implicit declaration of function `MD5_Init'
libxipc/hmac_md5.c:63: error: `tctx' undeclared (first use in this function)
libxipc/hmac_md5.c:64: warning: implicit declaration of function `MD5_Update'
libxipc/hmac_md5.c:65: warning: implicit declaration of function `MD5_Final'
libxipc/hmac_md5.c:96: error: `context' undeclared (first use in this function)
scons: *** [obj/arm-linux-linux-public17/libxipc/hmac_md5.os] Error 1
scons: building terminated because of errors.

I am not getting any errors for scons build if I am not cross-compiling.What could be the issue.I have observed the reduction in size of xorp_rtrmgr when I have built with shared libraries enabled.I am really curious that this can solve my issue.Please help me out.

Regards,
Naresh



      Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20090918/1e84fdf1/attachment.html 


More information about the Xorp-users mailing list