Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125598 - sys-apps/pcmciautils-012 fails to build on embedded
Summary: sys-apps/pcmciautils-012 fails to build on embedded
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-03-09 06:40 UTC by Natanael Copa
Modified: 2006-03-24 08:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to remove libintl.h (pccardctl-uclibc.patch,251 bytes, patch)
2006-03-09 06:48 UTC, Natanael Copa
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Natanael Copa 2006-03-09 06:40:04 UTC
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
Comment 1 Natanael Copa 2006-03-09 06:48:09 UTC
Just remove the line:

#include <libintl.h>

and it works.
Comment 2 Natanael Copa 2006-03-09 06:48:57 UTC
Created attachment 81768 [details, diff]
patch to remove libintl.h

Patch that fixes problem on embedded.
Comment 3 Henrik Brix Andersen 2006-03-24 08:30:54 UTC
Fixed in CVS. Thank you for reporting this.

Wait a couple of hours, emerge --sync and retry.