Hi Developers,

I get following compile error when using latest git version
for MIPS64 N32 ABI:
/home/wbx/n32/host_mips64_uclibc_uclibc/bin/mips64-openadk-linux-uclibc-gcc
-c libc/sysdeps/linux/mips/sigaction.c -o
libc/sysdeps/linux/mips/sigaction.os -
Wall -Wstrict-prototypes -Wstrict-aliasing -Wformat=2
-Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes
-Wmissing-declarations -Wnested-ext
erns -Wnonnull -Wold-style-declaration -Wold-style-definition
-Wshadow -Wundef -Wdeclaration-after-statement -march=mips64 -fwrapv
-fno-ident -fhonour-copts
 -mabi=n32 -g3 -fno-omit-frame-pointer -fno-stack-protector
-nostdinc -I./include -I./include -include libc-symbols.h
-I./libc/sysdeps/linux/mips -I./libc/s
ysdeps/linux -I./ldso/ldso/mips -I./ldso/include -I.  -Os
-funit-at-a-time -fmerge-all-constants -fstrict-aliasing
-fno-tree-loop-optimize -fno-tree-dominat
or-opts -fno-strength-reduce -mno-split-addresses
-DHAVE_FORCED_UNWIND -I./libpthread/nptl -I./libpthread/nptl
-I./libpthread/nptl/sysdeps/unix/sysv/linux/
mips -I./libpthread/nptl/sysdeps/mips
-I./libpthread/nptl/sysdeps/mips
-I./libpthread/nptl/sysdeps/unix/sysv/linux
-I./libpthread/nptl/sysdeps/unix/sysv/lin
ux -I./libpthread/nptl/sysdeps/pthread
-I./libpthread/nptl/sysdeps/pthread/bits
-I./libpthread/nptl/sysdeps/generic -I./libc/sysdeps/linux/common
-isystem /
home/wbx/n32/host_mips64_uclibc_uclibc/lib/gcc/mips64-openadk-linux-uclibc/4.7.3/include-fixed
-isystem /home/wbx/n32/host_mips64_uclibc_uclibc/lib/gcc/mips
64-openadk-linux-uclibc/4.7.3/include
-I/home/wbx/n32/target_mips64_uclibc_uclibc/usr/include/ -DNDEBUG
-D__USE_STDIO_FUTEXES__ -fPIC     -MT libc/sysdeps/l
inux/mips/sigaction.os -MD -MP -MF
libc/sysdeps/linux/mips/.sigaction.os.dep
libc/sysdeps/linux/mips/pread_write.c: In function
'__syscall_pread':
libc/sysdeps/linux/mips/pread_write.c:17:1: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
libc/sysdeps/linux/mips/pread_write.c:17:1: error: '__NR_pread'
undeclared (first use in this function)
libc/sysdeps/linux/mips/pread_write.c:17:1: note: each undeclared
identifier is reported only once for each function it appears in
libc/sysdeps/linux/mips/pread_write.c: In function
'__syscall_pwrite':
libc/sysdeps/linux/mips/pread_write.c:24:1: warning: cast from
pointer to integer of different size [-Wpointer-to-int-cast]
libc/sysdeps/linux/mips/pread_write.c:24:1: error: '__NR_pwrite'
undeclared (first use in this function)
In file included from ./include/libc-symbols.h:50:0,
                 from <command-line>:0:
./include/bits/uClibc_arch_features.h:15:18: warning: "_ABIO32" is
not defined [-Wundef]
In file included from
./libpthread/nptl/sysdeps/mips/../../descr.h:29:0,
                 from ./libpthread/nptl/sysdeps/mips/tls.h:73,
                 from ./include/tls.h:6,
                 from
./libpthread/nptl/sysdeps/unix/sysv/linux/mips/sysdep-cancel.h:19,
                 from ./include/cancel.h:58,
                 from
libc/sysdeps/linux/mips/../common/pread_write.c:20,
                 from libc/sysdeps/linux/mips/pread_write.c:31:

Should it be __NR_pread64/__NR_pwrite64?

thanks in advance
        Waldemar
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to