[Xorp-hackers] Error xorp 1.8.5src
Rajeesh Rarankurissi
rrarankurissi at edgewaternetworks.com
Wed Feb 11 04:17:01 PST 2015
Hi,
I am trying to compile xorp. While compilling xorp 1.8.5-src I am geting
errors.
what might be the reason GCC I am using 4.8.3
gcc -o obj/i686-pc-linux-gnu/libxorp/random.os -c -O2 -g3 -Werror -W -Wall
-Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual
-Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes
-Wnested-externs -pipe -fPIC -DXRL_PF=120 -DXORP_VERSION=1.8.5
-Iobj/i686-pc-linux-gnu -I. -I. libxorp/random.c
libxorp/random.c: In function ‘xorp_srandomdev’:
libxorp/random.c:393:15: error: ‘junk_seed[1]’ may be used uninitialized in
this function [-Werror=maybe-uninitialized]
xorp_srandom((getpid() << 16) ^ tv.tv_sec ^ tv.tv_usec ^ junk);
^
cc1: all warnings being treated as errors
scons: *** [obj/i686-pc-linux-gnu/libxorp/random.os] Error 1
scons: building terminated because of errors.
Thanks
Rajeesh Rarankurissi
--
This electronic message, including attachments, is intended only for the
use of the individual or company named above or to which it is addressed.
The information contained in this message shall be considered confidential
and proprietary, and may include confidential work product. If you are not
the intended recipient, please be aware that any unauthorized use,
dissemination, distribution or copying of this message is strictly
prohibited. If you have received this email in error, please notify the
sender by replying to this message and deleting this email immediately.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20150211/fc4ba2f0/attachment.html
More information about the Xorp-hackers
mailing list