[Bug 340336] [NEW] FTBFS because of missing struct ucred

fabrice_sp coutadeurf at gmail.com
Tue Mar 10 05:42:24 UTC 2009


Public bug reported:

Hi,

im-sdk FTBFS because of missing definition of ucred:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/libxml2   -DXMLCONFDIR="\"/etc/iiim\"" -DSOCKETDIR="\"/var/run/iiim\"" -DSEGVLOGGER="\"/usr/lib/iiim/iiimf-segv-logger\"" -g     -I../include -I../../include/iml -I../../include/iiimp -I. -I../../include -DARCH=\"i486\" -DHAVE_CONFIG_H -DLinux   -Wall                    -D_SVID_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=199506L -Wall -g -pipe -Wl,--as-needed -O2 -MT iwrap.o -MD -MP -MF ".deps/iwrap.Tpo" -c -o iwrap.o iwrap.c; \
	then mv -f ".deps/iwrap.Tpo" ".deps/iwrap.Po"; else rm -f ".deps/iwrap.Tpo"; exit 1; fi
iwrap.c: In function 'authenticate_with_unix':
iwrap.c:187: error: storage size of 'peercred' isn't known
iwrap.c:187: warning: unused variable 'peercred'
make[3]: *** [iwrap.o] Error 1
make[3]: Leaving directory `/build/buildd/im-sdk-12.3.91/build-tree/iiimf-12.3.91-svn2814/iiimsf/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/im-sdk-12.3.91/build-tree/iiimf-12.3.91-svn2814/iiimsf'
make[1]: *** [all] Error 2

This is solved by adding -D_GNU_SOURCE to CFLAGS

** Affects: im-sdk (Ubuntu)
     Importance: Undecided
         Status: New

-- 
FTBFS because of missing struct ucred
https://bugs.launchpad.net/bugs/340336
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list