[Xorp-cvs] XORP cvs commit: xorp/libxorp

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Fri Apr 25 16:05:16 PDT 2008


Bruce M. Simpson <bms at icir.org> wrote:

> Pavlin Radoslavov wrote:
> > OK, in that case I committed the array-based solution.
> > If you run across another compilation warning, please
> > record the version of the compiler and let me know.
> Breaks under Gentoo.

Which Gentoo version are you using?
Gentoo 2007.0 or 2008.0_beta1 or something else?

Thanks,
Pavlin

> 
> 
> anglepoise:~/hg/xorp-olsr/libxorp % jam
> ...found 380 target(s)...
> ...using 41 temp target(s)...
> ...updating 2 target(s)...
> Cc random.o
> cc1: warnings being treated as errors
> random.c: In function ‘xorp_srandomdev’:
> random.c:386: warning: ‘junk_seed[1]’ is used uninitialized in this function
> 
> gcc -c -o random.o -g -Werror -W -Wall -Wwrite-strings -Wbad-function-cast
> -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith
> -Wcast-align -Wstrict-prototypes -Wnested-externs -pipe -O  -I. -I. -I..
> random.c
> 
> ...failed Cc random.o ...
> ...skipped libxorp.a for lack of libxorp.a(random.o)...
> ...failed updating 1 target(s)...
> ...skipped 1 target(s)...
> Exit 1
> anglepoise:~/hg/xorp-olsr/libxorp % gcc -v
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured with: /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/configure
> --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.2
> --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include
> --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2
> --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man
> --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info
> --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include/g++-v4
> --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
> --enable-nls --without-included-gettext --with-system-zlib --disable-checking
> --disable-werror --enable-secureplt --disable-libunwind-exceptions
> --disable-multilib --enable-libmudflap --disable-libssp --disable-libgcj
> --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix
> --enable-__cxa_atexit --enable-clocale=gnu
> Thread model: posix
> gcc version 4.1.2 (Gentoo 4.1.2)
> _______________________________________________
> Xorp-cvs mailing list
> Xorp-cvs at icir.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-cvs



More information about the Xorp-cvs mailing list