Re: Compile error in hal (for 2.14.1)



i think i will symlink everything in my kernel source over to /usr/include

and slack does have kernel headers...i just haven't updated in a while (i'm at 2.4.22) cause i build from source :D

also why doesn't the configure script just add this to the CFLAGS
	-I/lib/modules/`uname -r`/build/include/
make modules_install symlinks that to the kernel source by default

i thought thats what most things seem to do

Joseph E. Sacco, Ph.D. wrote:
Ed,

Most linux systems have

     /usr/include/linux

as well as other "kernel" include file directories like

     /usr/include/asm

Question... Is there a Slackware [development] package containing
"kernel" headers? Is so, install it.
Otherwise, you can either add '-I/usr/sr/linux/include' to CFLAGS or
create soft links from your kernel src directory to /usr/include.

-Joseph

========================================================================

On Fri, 2006-04-14 at 20:54 -0400, Ed Martin wrote:
Well its not defined in that file for me...

and i grep'ed all these locations and couldn't find one define for KEY_PLAY

/usr/include
/usr/local/include
/usr/local/gnome/include
/opt/kde/include

wait...i found it :D

/usr/src/linux/include/linux/include.h

(/usr/src/linux is a symlink to my kernel source)

ok, so now how do i make compile, i know i could just put in the full path and make it work, but i don't feel like thats a good idea, so any suggestions?



Joseph E. Sacco, Ph.D. wrote:
Ed,

On my system, an FC4 clone, the missing symbols are defined in

        <linux/input.h>
-Joseph

=====================================================================
On Thu, 2006-04-13 at 17:06 -0400, Ed Martin wrote:
i am getting this error, i'm on slack-current, i have uncommented the patch for slack to make it configure hal, i'm also running a 2.6.16 kernel, so what do i have to do to make it compile, i am also installing over the garnome 2.14.0 install

thanks in advance for any help :D

if cc -DHAVE_CONFIG_H -I. -I. -I../../.. -DPACKAGE_SYSCONF_DIR=\""/usr/local/gnome/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/gnome/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/gnome/bin"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/gnome/share/locale"\" -DPACKAGE_LOCALSTATEDIR=\""/usr/local/gnome/var"\" -I../../.. -I/usr/local/gnome/include/glib-2.0 -I/usr/local/gnome/lib/glib-2.0/include -I/usr/local/gnome/include/dbus-1.0 -I/usr/local/gnome/lib/dbus-1.0/include -I/usr/local/gnome/include -I/usr/local/gnome/include -L/usr/local/gnome/lib -O3 -pipe -march=pentium4 -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -MT addon-keyboard.o -MD -MP -MF ".deps/addon-keyboard.Tpo" -c -o addon-keyboard.o addon-keyboard.c; \ then mv -f ".deps/addon-keyboard.Tpo" ".deps/addon-keyboard.Po"; else rm -f ".deps/addon-keyboard.Tpo"; exit 1; fi
addon-keyboard.c:121: error: `KEY_PLAY' undeclared here (not in a function)
addon-keyboard.c:121: error: nonconstant array index in initializer
addon-keyboard.c:121: error: (near initialization for `key_name')
addon-keyboard.c:122: error: `KEY_FASTFORWARD' undeclared here (not in a function)
addon-keyboard.c:122: error: nonconstant array index in initializer
addon-keyboard.c:122: error: (near initialization for `key_name')
addon-keyboard.c:123: error: `KEY_BASSBOOST' undeclared here (not in a function)
addon-keyboard.c:123: error: nonconstant array index in initializer
addon-keyboard.c:123: error: (near initialization for `key_name')
addon-keyboard.c:124: error: `KEY_PRINT' undeclared here (not in a function)
addon-keyboard.c:124: error: nonconstant array index in initializer
addon-keyboard.c:124: error: (near initialization for `key_name')
addon-keyboard.c:125: error: `KEY_HP' undeclared here (not in a function)
addon-keyboard.c:125: error: nonconstant array index in initializer
addon-keyboard.c:125: error: (near initialization for `key_name')
addon-keyboard.c:126: error: `KEY_CAMERA' undeclared here (not in a function)
addon-keyboard.c:126: error: nonconstant array index in initializer
addon-keyboard.c:126: error: (near initialization for `key_name')
addon-keyboard.c:127: error: `KEY_SOUND' undeclared here (not in a function)
addon-keyboard.c:127: error: nonconstant array index in initializer
addon-keyboard.c:127: error: (near initialization for `key_name')
addon-keyboard.c:128: error: `KEY_QUESTION' undeclared here (not in a function)
addon-keyboard.c:128: error: nonconstant array index in initializer
addon-keyboard.c:128: error: (near initialization for `key_name')
addon-keyboard.c:129: error: `KEY_EMAIL' undeclared here (not in a function)
addon-keyboard.c:129: error: nonconstant array index in initializer
addon-keyboard.c:129: error: (near initialization for `key_name')
addon-keyboard.c:130: error: `KEY_CHAT' undeclared here (not in a function)
addon-keyboard.c:130: error: nonconstant array index in initializer
addon-keyboard.c:130: error: (near initialization for `key_name')
addon-keyboard.c:131: error: `KEY_SEARCH' undeclared here (not in a function)
addon-keyboard.c:131: error: nonconstant array index in initializer
addon-keyboard.c:131: error: (near initialization for `key_name')
addon-keyboard.c:132: error: `KEY_CONNECT' undeclared here (not in a function)
addon-keyboard.c:132: error: nonconstant array index in initializer
addon-keyboard.c:132: error: (near initialization for `key_name')
addon-keyboard.c:133: error: `KEY_FINANCE' undeclared here (not in a function)
addon-keyboard.c:133: error: nonconstant array index in initializer
addon-keyboard.c:133: error: (near initialization for `key_name')
addon-keyboard.c:134: error: `KEY_SPORT' undeclared here (not in a function)
addon-keyboard.c:134: error: nonconstant array index in initializer
addon-keyboard.c:134: error: (near initialization for `key_name')
addon-keyboard.c:135: error: `KEY_SHOP' undeclared here (not in a function)
addon-keyboard.c:135: error: nonconstant array index in initializer
addon-keyboard.c:135: error: (near initialization for `key_name')
addon-keyboard.c:136: error: `KEY_ALTERASE' undeclared here (not in a function)
addon-keyboard.c:136: error: nonconstant array index in initializer
addon-keyboard.c:136: error: (near initialization for `key_name')
addon-keyboard.c:137: error: `KEY_CANCEL' undeclared here (not in a function)
addon-keyboard.c:137: error: nonconstant array index in initializer
addon-keyboard.c:137: error: (near initialization for `key_name')
addon-keyboard.c:140: error: `KEY_MEDIA' undeclared here (not in a function)
addon-keyboard.c:140: error: nonconstant array index in initializer
addon-keyboard.c:140: error: (near initialization for `key_name')
make[15]: *** [addon-keyboard.o] Error 1
make[15]: Leaving directory `/home/edman007/downloads/garnome-2.14.1/freedesktop/hal/work/main.d/hal-0.5.7/hald/linux2/addons'
make[14]: *** [all-recursive] Error 1
make[14]: Leaving directory `/home/edman007/downloads/garnome-2.14.1/freedesktop/hal/work/main.d/hal-0.5.7/hald/linux2'
make[13]: *** [all-recursive] Error 1
make[13]: Leaving directory `/home/edman007/downloads/garnome-2.14.1/freedesktop/hal/work/main.d/hal-0.5.7/hald'
make[12]: *** [all] Error 2
make[12]: Leaving directory `/home/edman007/downloads/garnome-2.14.1/freedesktop/hal/work/main.d/hal-0.5.7/hald'
make[11]: *** [all-recursive] Error 1
make[11]: Leaving directory `/home/edman007/downloads/garnome-2.14.1/freedesktop/hal/work/main.d/hal-0.5.7'
make[10]: *** [all] Error 2
make[10]: Leaving directory `/home/edman007/downloads/garnome-2.14.1/freedesktop/hal/work/main.d/hal-0.5.7'
make[9]: *** [build-work/main.d/hal-0.5.7/Makefile] Error 2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]