Problem with gscanbus

From: A. Kong <ahwkong_at_ahwkong.com>
Date: Mon 06 Sep 2004 - 14:40:17 CEST
Message-ID: <413C5AB1.2080600@ahwkong.com>

hi, all.

I have encountered the following messages when I tried to compile the
gscanbus.

gscanbus.c:112: error: missing terminating " character
gscanbus.c:114: error: `version' undeclared here (not in a function)
gscanbus.c:114: error: syntax error before "that"
gscanbus.c:115: error: stray '\' in program
gscanbus.c:115: error: missing terminating " character
gscanbus.c:117: error: missing terminating " character
gscanbus.c:119: error: missing terminating ' character
gscanbus.c:143: warning: parameter names (without types) in function
declaration
gscanbus.c:143: error: conflicting types for 'gdk_gc_set_foreground'
/usr/include/gtk-1.2/gdk/gdk.h:416: error: previous declaration of
'gdk_gc_set_foreground' was here
gscanbus.c:143: error: conflicting types for 'gdk_gc_set_foreground'
/usr/include/gtk-1.2/gdk/gdk.h:416: error: previous declaration of
'gdk_gc_set_foreground' was here
gscanbus.c:143: warning: data definition has no type or storage class
gscanbus.c:144: warning: parameter names (without types) in function
declaration
gscanbus.c:144: error: conflicting types for 'gdk_draw_line'
/usr/include/gtk-1.2/gdk/gdk.h:664: error: previous declaration of
'gdk_draw_line' was here
gscanbus.c:144: error: conflicting types for 'gdk_draw_line'
/usr/include/gtk-1.2/gdk/gdk.h:664: error: previous declaration of
'gdk_draw_line' was here
gscanbus.c:144: warning: data definition has no type or storage class
gscanbus.c:145: warning: parameter names (without types) in function
declaration
gscanbus.c:145: warning: data definition has no type or storage class
gscanbus.c:146: error: syntax error before '}' token
gscanbus.c: In function `main':
gscanbus.c:1089: error: `not_loaded' undeclared (first use in this function)
gscanbus.c:1089: error: (Each undeclared identifier is reported only once
gscanbus.c:1089: error: for each function it appears in.)

Could anyone tell me what is likely missing in my system and hence the
error? I am using the following kernel:

Linux xxx.yyy.com 2.6.8.1 #6 Mon Sep 6 13:01:52 EST 2004 i686 athlon
i386 GNU/Linux

and gcc:

[user@yyy]# gcc -v
Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.1/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --host=i386-redhat-linux
Thread model: posix
gcc version 3.4.1 20040702 (Red Hat Linux 3.4.1-2)

Regards,
AK

-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Mon Sep 6 15:02:34 2004

This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:49 CEST