[Openpvr-devel] make: *** [schedule] Error 1
Brought to you by:
brian_j_murrell,
jfunk
From: Alan M. <si...@ya...> - 2002-06-21 23:55:12
|
Hello. This is most likely not a problem with schedule.c itself, but I thought I'd post it here just in case. I ran "make" (using gcc-3.0.4) in the OpenPVR directory (downaloded latest CVS just this morning), and I get the following error: ----- ERROR ----- gcc-3.0.4 -g -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml -Wall -g -lxml -lz -lglib -ldb-3.3 schedule.c -o schedule In file included from schedule.c:28: /usr/include/db1/db.h:121: parse error before "u_int" /usr/include/db1/db.h:122: parse error before "u_int" /usr/include/db1/db.h:123: parse error before "u_int" /usr/include/db1/db.h:124: parse error before "u_int" /usr/include/db1/db.h:125: parse error before "u_int" /usr/include/db1/db.h:137: parse error before "u_int" /usr/include/db1/db.h:140: parse error before "psize" /usr/include/db1/db.h:146: parse error before '}' token /usr/include/db1/db.h:153: parse error before "u_int" /usr/include/db1/db.h:155: parse error before "nelem" /usr/include/db1/db.h:156: parse error before "cachesize" /usr/include/db1/db.h:160: parse error before '}' token /usr/include/db1/db.h:168: parse error before "u_int" /usr/include/db1/db.h:172: parse error before "bval" /usr/include/db1/db.h:174: parse error before '}' token /usr/include/db1/db.h:153: parse error before "u_int" /usr/include/db1/db.h:155: parse error before "nelem" /usr/include/db1/db.h:156: parse error before "cachesize" /usr/include/db1/db.h:160: parse error before '}' token /usr/include/db1/db.h:168: parse error before "u_int" /usr/include/db1/db.h:172: parse error before "bval" /usr/include/db1/db.h:174: parse error before '}' token schedule.c: In function `wasSeen': schedule.c:467: `DB_NOTFOUND' undeclared (first use in this function) schedule.c:467: (Each undeclared identifier is reported only once schedule.c:467: for each function it appears in.) schedule.c:470: structure has no member named `err' schedule.c:471: too many arguments to function schedule.c:472: structure has no member named `err' schedule.c: In function `prevScheduled': schedule.c:508: `DB_NOTFOUND' undeclared (first use in this function) schedule.c:511: structure has no member named `err' schedule.c:512: too many arguments to function schedule.c:513: structure has no member named `err' schedule.c: In function `main': schedule.c:905: warning: implicit declaration of function `db_create' schedule.c:906: warning: implicit declaration of function `db_strerror' schedule.c:906: warning: format argument is not a pointer (arg 3) schedule.c:910: structure has no member named `open' schedule.c:911: `DB_CREATE' undeclared (first use in this function) schedule.c:912: structure has no member named `err' schedule.c:913: too many arguments to function schedule.c:914: structure has no member named `err' schedule.c:1394: too many arguments to function schedule.c:1395: structure has no member named `err' make: *** [schedule] Error 1 ----- ERROR ----- I have the db1-* packages from Mandrake 8.2 installed (v1.85-7). In case you're wondering, I had to change the "#include (db.h)" line in schedule.c to "#include (db1/db.h)", to reflect it's location on my system. I did take a look at the apparently-offending lines in db.h, but unfortunately I was unable to determine whether or not they are structured properly or not. Is this really a problem with db.h, or is it maybe an error on schedule.c's partparsing it? (well, I guess that would be make's problem, wouldn;t it?) Thanx, in advance. ===== -- Alan Murrell <si...@ya...> ______________________________________________________________________ Find, Connect, Date! http://personals.yahoo.ca |