error output: network.c:38:23: ifaddrs.h: No such file or directory network.c: In function `NetIFUpdate': network.c:158: warning: implicit declaration of function `getifaddrs' network.c:161: dereferencing pointer to incomplete type network.c:167: dereferencing pointer to incomplete type network.c:167: dereferencing pointer to incomplete type network.c:168: dereferencing pointer to incomplete type network.c:168: dereferencing pointer to incomplete type network.c:185: dereferencing pointer to incomplete type network.c:186: dereferencing pointer to incomplete type network.c:187: dereferencing pointer to incomplete type network.c:189: dereferencing pointer to incomplete type network.c:190: dereferencing pointer to incomplete type network.c:192: dereferencing pointer to incomplete type network.c:234: warning: implicit declaration of function `freeifaddrs' make[1]: *** [network.o] Error 1 make: *** [all] Error 1 !!! ERROR: net-print/cups-1.1.17_pre20021025 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! compile problem Calculating world dependencies ...done! >>> emerge (1 of 5) net-print/cups-1.1.17_pre20021025 to / >>> md5 ;-) cups-1.1.16-source.tar.bz2 >>> md5 ;-) cups-1.1.17_pre20021025.diff.bz2
do you have an /usr/include/ifaddrs.h file? if not, why?
I do not have ifaddrs.h on my system apparently because nothing else I have installed needs it or possibly it was removed at some point after everything that was installed that did need it was built. If cups has a dependency on this file it has not been addressed by the ebuild.
/var/db/pkg/sys-libs/glibc-2.3.1/CONTENTS:obj /usr/include/ifaddrs.h weird. apparently this file isnt included with glibc-2.2.x :/
is 1.1.18 working for you ?
After completely rebuilding my system around 12/7/02 this is the cups version I currently have installed: 1.1.17_pre20021025. So from my point of view this bug appears resolved. /usr/include/ifaddrs.h is present.
alrighty then ...