Bug 125598 - sys-apps/pcmciautils-012 fails to build on embedded
|
Bug#:
125598
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: mobile@gentoo.org
|
Reported By: natanael.copa@gmail.com
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: sys-apps/pcmciautils-012 fails to build on embedded
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2006-03-09 06:40 0000
|
Looks like it requires libintl.h:
...
src/pccardctl.c:19:21: libintl.h: No such file or directory
i386-gentoo-linux-uclibc-gcc -pipe -DPCMCIAUTILS_VERSION=\"012\" -march=i386
-Os -pipe -fomit-frame-pointer
-I/var/tmp/portage/pcmciautils-012/work/pcmciautils-012/src -Wall
-Wchar-subscripts -Wpointer-arith -Wsign-compare -Wdeclaration-after-statement
-Wshadow -I/usr/lib/gcc/i386-gentoo-linux-uclibc/3.4.5/include -Os
-fomit-frame-pointer -D_GNU_SOURCE -c -o src/read-cis.o src/read-cis.c
i386-gentoo-linux-uclibc-gcc -pipe -DPCMCIAUTILS_VERSION=\"012\" -march=i386
-Os -pipe -fomit-frame-pointer
-I/var/tmp/portage/pcmciautils-012/work/pcmciautils-012/src -Wall
-Wchar-subscripts -Wpointer-arith -Wsign-compare -Wdeclaration-after-statement
-Wshadow -I/usr/lib/gcc/i386-gentoo-linux-uclibc/3.4.5/include -Os
-fomit-frame-pointer -D_GNU_SOURCE -c -o src/startup.o src/startup.c
i386-gentoo-linux-uclibc-gcc -pipe -DPCMCIAUTILS_VERSION=\"012\" -march=i386
-Os -pipe -fomit-frame-pointer
-I/var/tmp/portage/pcmciautils-012/work/pcmciautils-012/src -Wall
-Wchar-subscripts -Wpointer-arith -Wsign-compare -Wdeclaration-after-statement
-Wshadow -I/usr/lib/gcc/i386-gentoo-linux-uclibc/3.4.5/include -Os
-fomit-frame-pointer -D_GNU_SOURCE -c -o src/yacc_config.o src/yacc_config.c
make: *** [src/pccardctl.o] Error 1
make: *** Waiting for unfinished jobs....
y.tab.c: In function `yyparse':
y.tab.c:284: warning: implicit declaration of function `yylex'
y.tab.c: At top level:
src/yacc_config.c:3: warning: 'yyrcsid' defined but not used
Just remove the line:
#include <libintl.h>
and it works.
Fixed in CVS. Thank you for reporting this.
Wait a couple of hours, emerge --sync and retry.