[Openpvr-devel] seendb.c:88: error: too few arguments to function
Brought to you by:
brian_j_murrell,
jfunk
From: Alan M. <si...@ya...> - 2003-11-25 15:20:25
|
Hello :-) Mandrake 9.2 gcc-3.3.1-2mdk OpenPVR: latest CVS as of Nov 25, 2003 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: ------ cc -DSEENDB_PATH=\"/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 ------ The section in 'seendb.c' is: [87] if ((ret = dbp->open(dbp, g_strconcat(SEENDB_PATH, "/seen.db", NULL), NULL, [88] DB_BTREE, DB_CREATE, 0664)) != 0) { [89] dbp->err(dbp, ret, "%s", g_strconcat(SEENDB_PATH, "/seen.db", NULL)); [90] goto err; Note: the numbers in square brackets are not a part of the code, but are line reference numbers for the purposes of this posting only. I am not sure if perhaps the changes I made to Makefile would cause this, but I did not remove anything; only added a couple of extra paths for gcc to look in for the header files. Any ideas? Any traces or other output that would help? TIA, Alan ______________________________________________________________________ Post your free ad now! http://personals.yahoo.ca |