Error cross-compiling glibc-20081013 with connections.c:1831: error: lvalue required as left operand of assignment

Jason Pernito jpernito@gmail.com
Wed Oct 22 08:56:00 GMT 2008


Here's the last part of the log:
/bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/bin/powerpc-750-linux-gnu-gcc
connections.c -c -std=gnu99 -fgnu89-inline -O -Wall -Winline
-Wwrite-strings -fmerge-all-constants -g -mnew-mnemonics
-Wstrict-prototypes -mlong-double-128  -DHAVE_EPOLL -DHAVE_SENDFILE
-DHAVE_INOTIFY -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2   -I../include
-I/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd
-I/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2
-I../sysdeps/powerpc/powerpc32/elf -I../sysdeps/powerpc/elf
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu
-I../sysdeps/powerpc/powerpc32/fpu
-I../nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../sysdeps/unix/sysv/linux/powerpc/powerpc32
-I../nptl/sysdeps/unix/sysv/linux/powerpc
-I../sysdeps/unix/sysv/linux/powerpc -I../sysdeps/ieee754/ldbl-128ibm
-I../sysdeps/ieee754/ldbl-opt -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet
-I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv
-I../sysdeps/unix/powerpc -I../nptl/sysdeps/unix -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/powerpc/powerpc32
-I../sysdeps/wordsize-32 -I../sysdeps/powerpc/fpu
-I../nptl/sysdeps/powerpc -I../sysdeps/powerpc
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic
-I../nptl  -I.. -I../libio -I. -nostdinc -isystem
/bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/lib/gcc/powerpc-750-linux-gnu/4.3.2/include
-isystem /bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/lib/gcc/powerpc-750-linux-gnu/4.3.2/include-fixed
-isystem /bonus/scratch/jpernito/btools-builds/wip-4486/ix86-Linux-RHEL4/powerpc-750-linux-gnu_gcc-4.3.2/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h   -DNOT_IN_libc=1
   -o /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o
-MD -MP -MF /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o.dt
-MT /bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o
connections.c: In function 'main_loop_poll':
connections.c:1827: warning: implicit declaration of function 'paccept'
connections.c:1831: error: lvalue required as left operand of assignment
make[3]: *** [/bonus/scratch/jpernito/btools/build_temp/powerpc-750-linux-gnu_gcc-4.3.2_glibc-20081013_pass2/nscd/connections.o]
Error 1
make[3]: Leaving directory `/bonus/scratch/jpernito/btools/glibc-20081013/nscd'
make[2]: *** [nscd/others] Error 2
make[2]: Leaving directory `/bonus/scratch/jpernito/btools/glibc-20081013'
make[1]: *** [all] Error 2


Thanks in advance,
-jason

-- 
"Regard your soldiers as your children,
  and they will follow you into the deepest valleys.
  Look on them as your beloved sons,
  and they will stand by you even unto death!"

  - Sun Tzu, the art of war



More information about the Libc-help mailing list