View previous topic :: View next topic |
Author |
Message |
Alien_Freak n00b
Joined: 28 Sep 2003 Posts: 19
|
Posted: Tue Jun 12, 2007 2:56 pm Post subject: compcomm css-lib |
|
|
just an fyi for anyone who runs into this issue as well, css-lib was giving me issues compiling:
Quote: | g -MT bindings.lo -MD -MP -MF .deps/bindings.Tpo -c bindings.c -fPIC -DPIC -o .libs/bindings.o
filewatch.c:28:25: sys/inotify.h: No such file or directory
filewatch.c: In function `ccsCheckFileWatches':
filewatch.c:63: error: invalid application of `sizeof' to incomplete type `inotify_event'
filewatch.c:80: error: dereferencing pointer to incomplete type
filewatch.c:83: error: dereferencing pointer to incomplete type
filewatch.c:83: error: dereferencing pointer to incomplete type
filewatch.c: In function `ccsAddFileWatch':
filewatch.c:96: warning: implicit declaration of function `inotify_init'
filewatch.c:96: warning: nested extern declaration of `inotify_init'
filewatch.c:105: warning: implicit declaration of function `inotify_add_watch'
filewatch.c:105: warning: nested extern declaration of `inotify_add_watch'
filewatch.c:106: error: `IN_MODIFY' undeclared (first use in this function)
filewatch.c:106: error: (Each undeclared identifier is reported only once
filewatch.c:106: error: for each function it appears in.)
filewatch.c:106: error: `IN_MOVE' undeclared (first use in this function)
filewatch.c:107: error: `IN_MOVE_SELF' undeclared (first use in this function)
filewatch.c:107: error: `IN_DELETE_SELF' undeclared (first use in this function)
filewatch.c:108: error: `IN_CREATE' undeclared (first use in this function)
filewatch.c:108: error: `IN_DELETE' undeclared (first use in this function)
filewatch.c: In function `ccsRemoveFileWatch':
filewatch.c:138: warning: implicit declaration of function `inotify_rm_watch'
filewatch.c:138: warning: nested extern declaration of `inotify_rm_watch'
filewatch.c: In function `ccsDisableFileWatch':
filewatch.c:172: warning: nested extern declaration of `inotify_rm_watch'
filewatch.c: In function `ccsEnableFileWatch':
filewatch.c:187: warning: nested extern declaration of `inotify_add_watch'
filewatch.c:189: error: `IN_MODIFY' undeclared (first use in this function)
filewatch.c:189: error: `IN_MOVE' undeclared (first use in this function)
filewatch.c:190: error: `IN_MOVE_SELF' undeclared (first use in this function)
filewatch.c:190: error: `IN_DELETE_SELF' undeclared (first use in this function)
filewatch.c:191: error: `IN_CREATE' undeclared (first use in this function)
filewatch.c:191: error: `IN_DELETE' undeclared (first use in this function)
make[2]: *** [filewatch.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/libxml2 -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DMETADATADIR=\"/usr/share/compiz\" -DLIBDIR=\"/usr/lib\" -DGLOBALMETADATA=\"/usr/share/compizconfig/global.xml\" -O2 -march=k8 -fomit-frame-pointer -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT bindings.lo -MD -MP -MF .deps/bindings.Tpo -c bindings.c -o bindings.o >/dev/null 2>&1
mv -f .deps/bindings.Tpo .deps/bindings.Plo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DPNG_NO_MMX_CODE -I/usr/include/libpng12 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/libxml2 -I../include -I../src -DPLUGINDIR=\"/usr/lib/compiz\" -DMETADATADIR=\"/usr/share/compiz\" -DLIBDIR=\"/usr/lib\" -DGLOBALMETADATA=\"/usr/share/compizconfig/global.xml\" -O2 -march=k8 -fomit-frame-pointer -pipe -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -MT ini.lo -MD -MP -MF .deps/ini.Tpo -c ini.c -o ini.o >/dev/null 2>&1
mv -f .deps/ini.Tpo .deps/ini.Plo
make[2]: Leaving directory `/var/tmp/portage/x11-libs/ccs-lib-9999/work/ccs-lib/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/ccs-lib-9999/work/ccs-lib'
make: *** [all] Error 2
!!! ERROR: x11-libs/ccs-lib-9999 failed.
Call stack:
ebuild.sh, line 1615: Called dyn_compile
ebuild.sh, line 972: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
ccs-lib-9999.ebuild, line 30: Called die
!!! make failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/x11-libs:ccs-lib-9999:20070612-142941.log'.
|
emerging inotify-tools didn't seem to help.
I ended putting a symlink from /usr/include/sys/inotify.h to point to /usr/include/linux/inotify.h
but then when I start compiz, I get a symbol error:
compiz: symbol lookup error: /usr/lib/libcompizconfig.so.0: undefined symbol: inotify_init
Last edited by Alien_Freak on Tue Jun 12, 2007 3:28 pm; edited 1 time in total |
|
Back to top |
|
|
Alien_Freak n00b
Joined: 28 Sep 2003 Posts: 19
|
Posted: Tue Jun 12, 2007 3:27 pm Post subject: update |
|
|
I believe this might have something to do with gcc/glibc version I'm running.
sys-libs/glibc-2.3.6-r5
sys-devel/gcc-3.4.6-r1
sys-kernel/linux-headers-2.6.1
I can't upgrade atm, but if anyone has run into the same issue, hope this might be helpful. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|