Modify

Opened 6 years ago

Last modified 4 years ago

#10869 new defect

ncurses compile error

Reported by: big-r@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

hi,

i get this error message when compiling the source...

Revision 29935.
Host OS: Mac OS X 10.7.2

i tried to add -D_GNU_SOURCE to the crosscompiler, but this doesn't help!

rm -rf /Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/tmp-libncurses
touch /Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/root-ar71xx/stamp/.libncurses_installed
make[3]: Leaving directory `/Volumes/OpenWRT/trunk/package/ncurses'
make[3]: Entering directory `/Volumes/OpenWRT/trunk/package/ncurses'
CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -fpic  -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -fpic  -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/include -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/include -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/include -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/include " LDFLAGS="-L/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/usr/lib -L/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/lib -L/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/usr/lib -L/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.5-linaro_uClibc-0.9.32/lib " make  -j1 -C /Volumes/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libncursesw/ncurses-5.7/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -D_GNU_SOURCE -c -Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -fhonour-copts -msoft-float -fpic" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc -D_GNU_SOURCE" GCC="mips-openwrt-linux-uclibc-gcc -D_GNU_SOURCE" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" BUILD_CC="gcc -D_GNU_SOURCE" HOSTCC="gcc -D_GNU_SOURCE" HOSTCCFLAGS="" libs ;
cd include && make DESTDIR="" libs
make[5]: Nothing to be done for `libs'.
cd ncurses && make DESTDIR="" libs
gcc -D_GNU_SOURCE -o make_hash -DHAVE_CONFIG_H -I../ncurses -I. -I./../include -I../include -D_GNU_SOURCE  -DMAIN_PROGRAM ./tinfo/comp_hash.c  
In file included from ./tinfo/comp_hash.c:42:
../ncurses/curses.priv.h:1456: warning: parameter names (without types) in function declaration
../ncurses/curses.priv.h:1457: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_nc_to_widechar'
make[5]: *** [make_hash] Error 1
make[4]: *** [libs] Error 2
make[3]: *** [/Volumes/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.32/libncursesw/ncurses-5.7/.built] Error 2
make[3]: Leaving directory `/Volumes/OpenWRT/trunk/package/ncurses'
make[2]: *** [package/ncurses/compile] Error 2
make[2]: Leaving directory `/Volumes/OpenWRT/trunk'
make[1]: *** [/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.package_compile] Error 2
make[1]: Leaving directory `/Volumes/OpenWRT/trunk'
make: *** [world] Error 2

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.