LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 674|回复: 8

本人真的是给这个蓝牙难到了好十几个晚上了,求高人指点!

[复制链接]
发表于 2005-4-17 04:22:23 | 显示全部楼层 |阅读模式
以下是本人在网上下的我的本本蓝牙驱动,本人按照README里面做,但是就出现了好多错误,因为驱动里面的所有相关说明都是英文,本人英文真是奇菜,把我全过程发出来,不知是不是GCC编驿有问题!请高人指点!本人真的是给这个蓝牙难到了好十几个晚上了,,如下是FAQ 文件摘下来的
问题 I am unable to compile the kernel module, I get a whole load of error
messages.
回答 This is a result of using a version of gcc that is not suitable for
compiling the kernel (according to Linus and Alan Cox at least). Several
versions of gcc/ecgs have problems compiling the kernel. On this occasion
the problem seems to be with compiling the module outside the kernel tree,
and is most apparent with versions 2.9.51 and 2.9.52 of ecgs. You can
either install the an older (say 2.7.2) version of gcc, apply the kernel
patch and recompile the kernel, or uncomment
如下是我操作的全过程,什么都拷下来了,希望有人能帮我解决。。。
[root@localhost toshutils-1.9.10]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -s) works... yes
checking whether the C compiler (gcc -s) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for bison... (cached) bison -y
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking for xmessage... (cached) /usr/X11R6/bin/xmessage
checking for wall... (cached) /usr/bin/wall
checking for yywrap in -lfl... (cached) yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for gtk_main in -lgtk... (cached) no
configure: warning: *** GTK+ libraries not found. X code will not be built. ***./configure: line 2889: gtk-config: command not found
./configure: line 2890: gtk-config: command not found
creating ./config.status
creating Makefile
creating src/Makefile
creating doc/Makefile

Configure finished. Do 'make depend; make' to compile.
[root@localhost toshutils-1.9.10]# make depend
cd src; make depend
make[1]: Entering directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
cp Makefile Makefile.bak
sed '/^#----- dependences -----/q' Makefile.bak >Makefile
echo >>Makefile
gcc -m486 -O2 -Wall -I../pixmaps -DLINUX -M sci.c hci.c fan.c svpw.c hotkey.c tpasswd.c dispswitch.c machine.c misc.c alarms.c config.c alarm.c wmtuxtime.c wmgeneral.c tuxtime-conf.c ownerstring.c tdocked.c thotswap.c toshiba.c tbacklight.c |\
sed 's/\/usr\/[^ ]* *//g;/^ \\$/d' |\
grep -v '^ \\$' >>Makefile
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
dispswitch.c:52:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
machine.c:42:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
misc.c:45:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
alarms.c:33:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
tuxtime-conf.c:42:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
make[1]: Leaving directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
[root@localhost toshutils-1.9.10]# make install
cd src; make all
make[1]: Entering directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
gcc -m486 -O2 -Wall -I../pixmaps -DLINUX -DVERSION=\"1.9.10\" -DBINDIR=\"/usr/local/bin\"\
-DXMESSAGE=\"/usr/X11R6/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c dispswitch.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
dispswitch.c:52:20: gtk/gtk.h: 没有那个文件或目录
dispswitch.c:78: error: syntax error before '*' token
dispswitch.c:78: warning: type defaults to `int' in declaration of `internal'
dispswitch.c:78: warning: type defaults to `int' in declaration of `external'
dispswitch.c:78: warning: type defaults to `int' in declaration of `simultaneous'
dispswitch.c:78: warning: data definition has no type or storage class
dispswitch.c: In function `CatchSignal':
dispswitch.c:105: warning: implicit declaration of function `gtk_main_quit'
dispswitch.c: At top level:
dispswitch.c:143: error: syntax error before '*' token
dispswitch.c: In function `SetDisplayCallback':
dispswitch.c:149: error: `data' undeclared (first use in this function)
dispswitch.c:149: error: (Each undeclared identifier is reported only once
dispswitch.c:149: error: for each function it appears in.)
dispswitch.c: At top level:
dispswitch.c:161: error: syntax error before '*' token
dispswitch.c:171: error: syntax error before "Update"
dispswitch.c:171: error: syntax error before "data"
dispswitch.c:172: warning: return type defaults to `int'
dispswitch.c: In function `Update':
dispswitch.c:180: error: `TRUE' undeclared (first use in this function)
dispswitch.c:184: warning: implicit declaration of function `gtk_toggle_button_set_state'
dispswitch.c:185: warning: implicit declaration of function `GTK_TOGGLE_BUTTON'
dispswitch.c: In function `ProcessComandLine':
dispswitch.c:242: error: `gpointer' undeclared (first use in this function)
dispswitch.c: In function `main':
dispswitch.c:274: error: `GtkWidget' undeclared (first use in this function)
dispswitch.c:274: error: `window' undeclared (first use in this function)
dispswitch.c:274: error: `box' undeclared (first use in this function)
dispswitch.c:274: error: `row' undeclared (first use in this function)
dispswitch.c:274: error: `frame' undeclared (first use in this function)
dispswitch.c:274: error: `button' undeclared (first use in this function)
dispswitch.c:274: error: `label' undeclared (first use in this function)
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:275: error: `GtkStyle' undeclared (first use in this function)
dispswitch.c:275: error: `style' undeclared (first use in this function)
dispswitch.c:276: error: `GdkPixmap' undeclared (first use in this function)
dispswitch.c:276: error: `icon' undeclared (first use in this function)
dispswitch.c:277: error: `GdkBitmap' undeclared (first use in this function)
dispswitch.c:277: error: `mask' undeclared (first use in this function)
dispswitch.c:278: error: `GSList' undeclared (first use in this function)
dispswitch.c:278: error: `radio' undeclared (first use in this function)
dispswitch.c:329: warning: implicit declaration of function `gtk_init'
dispswitch.c:342: warning: implicit declaration of function `gtk_window_new'
dispswitch.c:342: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
dispswitch.c:343: warning: implicit declaration of function `gtk_container_border_width'
dispswitch.c:343: warning: implicit declaration of function `GTK_CONTAINER'
dispswitch.c:344: warning: implicit declaration of function `gtk_signal_connect'dispswitch.c:344: warning: implicit declaration of function `GTK_OBJECT'
dispswitch.c:345: warning: implicit declaration of function `GTK_SIGNAL_FUNC'
dispswitch.c:349: warning: implicit declaration of function `gtk_window_set_title'
dispswitch.c:349: warning: implicit declaration of function `GTK_WINDOW'
dispswitch.c:350: warning: implicit declaration of function `gtk_widget_get_style'
dispswitch.c:351: warning: implicit declaration of function `gtk_widget_show'
dispswitch.c:352: warning: implicit declaration of function `gdk_pixmap_create_from_xpm_d'
dispswitch.c:353: error: `GTK_STATE_NORMAL' undeclared (first use in this function)
dispswitch.c:353: error: `gchar' undeclared (first use in this function)
dispswitch.c:353: error: syntax error before ')' token
dispswitch.c:354: warning: implicit declaration of function `gdk_window_set_icon'
dispswitch.c:356: warning: implicit declaration of function `gtk_vbox_new'
dispswitch.c:356: error: `FALSE' undeclared (first use in this function)
dispswitch.c:357: warning: implicit declaration of function `gtk_container_add'
dispswitch.c:359: warning: implicit declaration of function `gtk_frame_new'
dispswitch.c:360: warning: implicit declaration of function `gtk_box_pack_start'dispswitch.c:360: warning: implicit declaration of function `GTK_BOX'
dispswitch.c:360: error: `TRUE' undeclared (first use in this function)
dispswitch.c:364: warning: implicit declaration of function `gtk_hbox_new'
dispswitch.c:367: warning: implicit declaration of function `gtk_button_new_with_label'
dispswitch.c:368: warning: implicit declaration of function `gtk_widget_set_usize'
dispswitch.c:378: warning: implicit declaration of function `gtk_label_new'
dispswitch.c:379: warning: implicit declaration of function `gtk_misc_set_padding'
dispswitch.c:379: warning: implicit declaration of function `GTK_MISC'
dispswitch.c:382: warning: implicit declaration of function `gtk_radio_button_new_with_label'
dispswitch.c:382: warning: assignment makes pointer from integer without a cast
dispswitch.c:384: warning: implicit declaration of function `gtk_radio_button_group'
dispswitch.c:384: warning: implicit declaration of function `GTK_RADIO_BUTTON'
dispswitch.c:386: error: `gpointer' undeclared (first use in this function)
dispswitch.c:386: error: syntax error before "HCI_INTERNAL"
dispswitch.c:388: warning: assignment makes pointer from integer without a cast
dispswitch.c:392: error: syntax error before "HCI_EXTERNAL"
dispswitch.c:395: warning: assignment makes pointer from integer without a cast
dispswitch.c:399: error: syntax error before "HCI_SIMULTANEOUS"
dispswitch.c:405: warning: implicit declaration of function `gtk_widget_show_all'
dispswitch.c:409: warning: implicit declaration of function `gtk_timeout_add'
dispswitch.c:409: error: syntax error before numeric constant
dispswitch.c:413: warning: implicit declaration of function `gtk_main'
dispswitch.c:274: warning: statement with no effect
dispswitch.c: At top level:
../pixmaps/displayswitch.xpm:2: warning: 'displayswitch_xpm' defined but not used
make[1]: *** [dispswitch.o] 错误 1
make[1]: Leaving directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
make: *** [all] 错误 2
 楼主| 发表于 2005-4-17 04:23:31 | 显示全部楼层

本人真的是给这个蓝牙难到了好十几个晚上了,求高人指点!

以下是本人在网上下的我的本本蓝牙驱动,本人按照README里面做,但是就出现了好多错误,因为驱动里面的所有相关说明都是英文,本人英文真是奇菜,把我全过程发出来,不知是不是GCC编驿有问题!请高人指点!本人真的是给这个蓝牙难到了好十几个晚上了,,如下是FAQ 文件摘下来的
问题 I am unable to compile the kernel module, I get a whole load of error
messages.
回答 This is a result of using a version of gcc that is not suitable for
compiling the kernel (according to Linus and Alan Cox at least). Several
versions of gcc/ecgs have problems compiling the kernel. On this occasion
the problem seems to be with compiling the module outside the kernel tree,
and is most apparent with versions 2.9.51 and 2.9.52 of ecgs. You can
either install the an older (say 2.7.2) version of gcc, apply the kernel
patch and recompile the kernel, or uncomment
如下是我操作的全过程,什么都拷下来了,希望有人能帮我解决。。。
[root@localhost toshutils-1.9.10]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking whether make sets ${MAKE}... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -s) works... yes
checking whether the C compiler (gcc -s) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for bison... (cached) bison -y
checking for flex... (cached) flex
checking for yywrap in -lfl... (cached) yes
checking for xmessage... (cached) /usr/X11R6/bin/xmessage
checking for wall... (cached) /usr/bin/wall
checking for yywrap in -lfl... (cached) yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for gtk_main in -lgtk... (cached) no
configure: warning: *** GTK+ libraries not found. X code will not be built. ***./configure: line 2889: gtk-config: command not found
./configure: line 2890: gtk-config: command not found
creating ./config.status
creating Makefile
creating src/Makefile
creating doc/Makefile

Configure finished. Do 'make depend; make' to compile.
[root@localhost toshutils-1.9.10]# make depend
cd src; make depend
make[1]: Entering directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
cp Makefile Makefile.bak
sed '/^#----- dependences -----/q' Makefile.bak >Makefile
echo >>Makefile
gcc -m486 -O2 -Wall -I../pixmaps -DLINUX -M sci.c hci.c fan.c svpw.c hotkey.c tpasswd.c dispswitch.c machine.c misc.c alarms.c config.c alarm.c wmtuxtime.c wmgeneral.c tuxtime-conf.c ownerstring.c tdocked.c thotswap.c toshiba.c tbacklight.c |\
sed 's/\/usr\/[^ ]* *//g;/^ \\$/d' |\
grep -v '^ \\$' >>Makefile
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
dispswitch.c:52:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
machine.c:42:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
misc.c:45:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
alarms.c:33:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
tuxtime-conf.c:42:20: gtk/gtk.h: 没有那个文件或目录
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
make[1]: Leaving directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
[root@localhost toshutils-1.9.10]# make install
cd src; make all
make[1]: Entering directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
gcc -m486 -O2 -Wall -I../pixmaps -DLINUX -DVERSION=\"1.9.10\" -DBINDIR=\"/usr/local/bin\"\
-DXMESSAGE=\"/usr/X11R6/bin/xmessage\" -DWALL=\"/usr/bin/wall\" -c dispswitch.c
`-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
dispswitch.c:52:20: gtk/gtk.h: 没有那个文件或目录
dispswitch.c:78: error: syntax error before '*' token
dispswitch.c:78: warning: type defaults to `int' in declaration of `internal'
dispswitch.c:78: warning: type defaults to `int' in declaration of `external'
dispswitch.c:78: warning: type defaults to `int' in declaration of `simultaneous'
dispswitch.c:78: warning: data definition has no type or storage class
dispswitch.c: In function `CatchSignal':
dispswitch.c:105: warning: implicit declaration of function `gtk_main_quit'
dispswitch.c: At top level:
dispswitch.c:143: error: syntax error before '*' token
dispswitch.c: In function `SetDisplayCallback':
dispswitch.c:149: error: `data' undeclared (first use in this function)
dispswitch.c:149: error: (Each undeclared identifier is reported only once
dispswitch.c:149: error: for each function it appears in.)
dispswitch.c: At top level:
dispswitch.c:161: error: syntax error before '*' token
dispswitch.c:171: error: syntax error before "Update"
dispswitch.c:171: error: syntax error before "data"
dispswitch.c:172: warning: return type defaults to `int'
dispswitch.c: In function `Update':
dispswitch.c:180: error: `TRUE' undeclared (first use in this function)
dispswitch.c:184: warning: implicit declaration of function `gtk_toggle_button_set_state'
dispswitch.c:185: warning: implicit declaration of function `GTK_TOGGLE_BUTTON'
dispswitch.c: In function `ProcessComandLine':
dispswitch.c:242: error: `gpointer' undeclared (first use in this function)
dispswitch.c: In function `main':
dispswitch.c:274: error: `GtkWidget' undeclared (first use in this function)
dispswitch.c:274: error: `window' undeclared (first use in this function)
dispswitch.c:274: error: `box' undeclared (first use in this function)
dispswitch.c:274: error: `row' undeclared (first use in this function)
dispswitch.c:274: error: `frame' undeclared (first use in this function)
dispswitch.c:274: error: `button' undeclared (first use in this function)
dispswitch.c:274: error: `label' undeclared (first use in this function)
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:274: warning: left-hand operand of comma expression has no effect
dispswitch.c:275: error: `GtkStyle' undeclared (first use in this function)
dispswitch.c:275: error: `style' undeclared (first use in this function)
dispswitch.c:276: error: `GdkPixmap' undeclared (first use in this function)
dispswitch.c:276: error: `icon' undeclared (first use in this function)
dispswitch.c:277: error: `GdkBitmap' undeclared (first use in this function)
dispswitch.c:277: error: `mask' undeclared (first use in this function)
dispswitch.c:278: error: `GSList' undeclared (first use in this function)
dispswitch.c:278: error: `radio' undeclared (first use in this function)
dispswitch.c:329: warning: implicit declaration of function `gtk_init'
dispswitch.c:342: warning: implicit declaration of function `gtk_window_new'
dispswitch.c:342: error: `GTK_WINDOW_TOPLEVEL' undeclared (first use in this function)
dispswitch.c:343: warning: implicit declaration of function `gtk_container_border_width'
dispswitch.c:343: warning: implicit declaration of function `GTK_CONTAINER'
dispswitch.c:344: warning: implicit declaration of function `gtk_signal_connect'dispswitch.c:344: warning: implicit declaration of function `GTK_OBJECT'
dispswitch.c:345: warning: implicit declaration of function `GTK_SIGNAL_FUNC'
dispswitch.c:349: warning: implicit declaration of function `gtk_window_set_title'
dispswitch.c:349: warning: implicit declaration of function `GTK_WINDOW'
dispswitch.c:350: warning: implicit declaration of function `gtk_widget_get_style'
dispswitch.c:351: warning: implicit declaration of function `gtk_widget_show'
dispswitch.c:352: warning: implicit declaration of function `gdk_pixmap_create_from_xpm_d'
dispswitch.c:353: error: `GTK_STATE_NORMAL' undeclared (first use in this function)
dispswitch.c:353: error: `gchar' undeclared (first use in this function)
dispswitch.c:353: error: syntax error before ')' token
dispswitch.c:354: warning: implicit declaration of function `gdk_window_set_icon'
dispswitch.c:356: warning: implicit declaration of function `gtk_vbox_new'
dispswitch.c:356: error: `FALSE' undeclared (first use in this function)
dispswitch.c:357: warning: implicit declaration of function `gtk_container_add'
dispswitch.c:359: warning: implicit declaration of function `gtk_frame_new'
dispswitch.c:360: warning: implicit declaration of function `gtk_box_pack_start'dispswitch.c:360: warning: implicit declaration of function `GTK_BOX'
dispswitch.c:360: error: `TRUE' undeclared (first use in this function)
dispswitch.c:364: warning: implicit declaration of function `gtk_hbox_new'
dispswitch.c:367: warning: implicit declaration of function `gtk_button_new_with_label'
dispswitch.c:368: warning: implicit declaration of function `gtk_widget_set_usize'
dispswitch.c:378: warning: implicit declaration of function `gtk_label_new'
dispswitch.c:379: warning: implicit declaration of function `gtk_misc_set_padding'
dispswitch.c:379: warning: implicit declaration of function `GTK_MISC'
dispswitch.c:382: warning: implicit declaration of function `gtk_radio_button_new_with_label'
dispswitch.c:382: warning: assignment makes pointer from integer without a cast
dispswitch.c:384: warning: implicit declaration of function `gtk_radio_button_group'
dispswitch.c:384: warning: implicit declaration of function `GTK_RADIO_BUTTON'
dispswitch.c:386: error: `gpointer' undeclared (first use in this function)
dispswitch.c:386: error: syntax error before "HCI_INTERNAL"
dispswitch.c:388: warning: assignment makes pointer from integer without a cast
dispswitch.c:392: error: syntax error before "HCI_EXTERNAL"
dispswitch.c:395: warning: assignment makes pointer from integer without a cast
dispswitch.c:399: error: syntax error before "HCI_SIMULTANEOUS"
dispswitch.c:405: warning: implicit declaration of function `gtk_widget_show_all'
dispswitch.c:409: warning: implicit declaration of function `gtk_timeout_add'
dispswitch.c:409: error: syntax error before numeric constant
dispswitch.c:413: warning: implicit declaration of function `gtk_main'
dispswitch.c:274: warning: statement with no effect
dispswitch.c: At top level:
../pixmaps/displayswitch.xpm:2: warning: 'displayswitch_xpm' defined but not used
make[1]: *** [dispswitch.o] 错误 1
make[1]: Leaving directory `/root/Desktop/toshiba/toshutils-1.9.10/src'
make: *** [all] 错误 2
回复 支持 反对

使用道具 举报

发表于 2005-4-17 06:18:16 | 显示全部楼层
1.GTK+是必需的
2. `-m486' is deprecated. Use `-march=i486' or `-mtune=i486' instead.
make.conf中将xxx=-m486改为-march=i486
3.Do 'make depend; make' to compile.
回复 支持 反对

使用道具 举报

发表于 2005-4-17 11:22:36 | 显示全部楼层
没装gtk-devel
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-17 12:07:07 | 显示全部楼层
二楼的同志,能不能详细说明一下呢,,不是太明,,特别是第二点,第三点
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-17 16:41:59 | 显示全部楼层
二楼的大哥,能不能加一下我的QQ,有几个问题想问一下你啊
Q:87342220
回复 支持 反对

使用道具 举报

发表于 2005-4-17 19:08:28 | 显示全部楼层
东芝笔记本上兰牙是什么芯片的??

偶HP本子上WIDCOMM的兰牙芯片一下认出(FC3)
现在在想办法驱动新入手的兰牙鼠标
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-4-18 12:15:47 | 显示全部楼层
我也不知是什么芯啊,,蓝牙上面又没有写,但一定不是WIDCOMM ,,因为我试过在XP里用WIDCOMM驱动它,,不行,,一定要自带的,,蓝牙上面只写了TAIYO公司,,好像是日本的太阳公司,上他们公司的网站,又找不到相关资料和驱动,,有没有软件能测出的是什么芯呢?
回复 支持 反对

使用道具 举报

发表于 2005-4-18 16:38:44 | 显示全部楼层
还有,大部分兰牙是借助于USB模块的。你的usb模块加载了么
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表