[Xorp-hackers] Error xorp 1.8.5src

Ben Greear greearb at candelatech.com
Wed Feb 11 07:36:55 PST 2015


Try using the latest from git:

http://www.xorp.org/scm.html

Thanks,
Ben

On 02/11/2015 04:17 AM, Rajeesh Rarankurissi wrote:
> 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.
>
>
>
> _______________________________________________
> Xorp-hackers mailing list
> Xorp-hackers at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
>

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



More information about the Xorp-hackers mailing list