Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11721 closed defect (fixed)

Not build curl for gcc-4.7.0/eglibc-2.15

Reported by: sav Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

In trunk #32129 not build curl for gcc-4.7.0/eglibc-2.15

Attachments (2)

build.log (244.5 KB) - added by sav 6 years ago.
Log build curl
eglibc-librpc.patch (497 bytes) - added by moo.tinys@… 6 years ago.
remove netdb.h from librpc when using librpc+eglibc

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by sav

Log build curl

comment:1 Changed 6 years ago by moo.tinys@…

this is due to

configure:23626: checking for netdb.h
configure:23626: i486-openwrt-linux-gnu-gcc -c -O2 -pipe -march=pentium3 -funit-at-a-time -fhonour-copts -Wno-error=unused-but-set-variable -fpic -g0 -Wno-system-headers -isystem /home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include -isystem /home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/include -isystem /home/moo/src/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_eglibc-2.15/usr/include -isystem /home/moo/src/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_eglibc-2.15/include -I/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include -I/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/openssl -I/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include conftest.c >&5
In file included from /home/moo/src/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_eglibc-2.15/include/netdb.h:33:0,
                 from conftest.c:118:
/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/rpc/netdb.h: In function 'libc_hidden_proto':
/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/rpc/netdb.h:55:13: error: storage class specified for parameter 'endrpcent'
/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/rpc/netdb.h:56:1: error: expected declaration specifiers before 'libc_hidden_proto'
/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/rpc/netdb.h:58:1: error: expected declaration specifiers before 'libc_hidden_proto'
/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/rpc/netdb.h:60:1: error: expected declaration specifiers before 'libc_hidden_proto'
/home/moo/src/openwrt/trunk/staging_dir/target-i386_eglibc-2.15/usr/include/rpc/netdb.h:62:1: error: expected declaration specifiers before 'libc_hidden_proto'
...........
conftest.c:118:0: error: expected '{' at end of input
configure:23626: $? = 1
configure: failed program was:
..............
| #include <netinet/in.h>
| #endif
| #ifdef HAVE_SYS_UN_H
| #include <sys/un.h>
| #endif
|
|
|
| #include <netdb.h>
configure:23626: result: no


configure:23626: result: no

comment:2 Changed 6 years ago by moo.tinys@…

librpc is pull in for eglibc by busybox. but librpc is for +USE_UCLIBC only

Changed 6 years ago by moo.tinys@…

remove netdb.h from librpc when using librpc+eglibc

comment:3 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r32686

comment:4 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 closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.