Re: [Openpvr-devel] seendb.c:88: error: too few arguments to function
Brought to you by:
brian_j_murrell,
jfunk
From: Brian J. M. <br...@in...> - 2003-11-27 12:57:25
|
On Tue, 2003-11-25 at 10:20, Alan Murrell wrote: > Hello :-) Hi. >=20 > Mandrake 9.2 > gcc-3.3.1-2mdk > OpenPVR: latest CVS as of Nov 25, 2003 >=20 > After fiddling with a couple of the paths (parser.h, > xmlmemory.h, glib.h), 'make' will compile the > 'schedule' binary, however, it stops with the > following error: >=20 > ------ > cc -DSEENDB_PATH=3D\"/var/cache/openpvr\" -g > -I/usr/include/glib-1.2 -I/usr/lib/glib/include > -I/usr/include/gnome-xml -I/usr/include/glib-1.2 > -I/usr/include/libxml2 -Wall -c -o seendb.o seendb.c > seendb.c: In function `main': > seendb.c:88: warning: passing arg 2 of pointer to > function from incompatible pointer type > seendb.c:88: warning: passing arg 4 of pointer to > function makes pointer from integer without a cast > seendb.c:88: error: too few arguments to function > make: *** [seendb.o] Error 1 This looks like a libdb incompatibility. What version of libdb are you using? IIRC, you need libdb4. I am using 4.1 here. > ------ >=20 > The section in 'seendb.c' is: >=20 > [87] if ((ret =3D dbp->open(dbp, > g_strconcat(SEENDB_PATH, "/seen.db", NULL), NULL, > [88] DB_BTREE, DB_CREATE, 0664)) !=3D 0) { > [89] dbp->err(dbp, ret, "%s", > g_strconcat(SEENDB_PATH, "/seen.db", NULL)); > [90] goto err; b. --=20 My other computer is your Microsoft Windows server. Brian J. Murrell |