各位先進
小弟在compile pkgconfig-0.15.0時候,產生了以下的訊息,
在網路上找了許久,仍找不到答案,請問各位前輩,該如何解決
謝謝
make all-recursive
make[1]: Entering directory `/root/pkgconfig-0.15.0'
Making all in glib-1.2.8
make[2]: Entering directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make all-recursive
make[3]: Entering directory `/root/pkgconfig-0.15.0/glib-1.2.8'
Making all in .
make[4]: Entering directory `/root/pkgconfig-0.15.0/glib-1.2.8'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -c gmain.c
rm -f .libs/gmain.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -DG_LOG_DOMAIN=g_log_domain_glib -g -O2 -Wall -c gmain.c -fPIC -DPIC -o .libs/gmain.lo
gmain.c:191: error: `poll' undeclared here (not in a function)
gmain.c: In function `g_get_current_time':
gmain.c:597: warning: implicit declaration of function `gettimeofday'
gmain.c: In function `g_main_poll':
gmain.c:980: warning: implicit declaration of function `pipe'
gmain.c:1079: warning: implicit declaration of function `read'
gmain.c: In function `g_main_wakeup':
gmain.c:1226: warning: implicit declaration of function `write'
make[4]: *** [gmain.lo] Error 1
make[4]: Leaving directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make[2]: *** [all-recursive-am] Error 2
make[2]: Leaving directory `/root/pkgconfig-0.15.0/glib-1.2.8'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pkgconfig-0.15.0'
make: *** [all-recursive-am] Error 2