Date: Mon, 6 Jun 2005 00:05:16 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 561 ************************************************** Sunday 05 June 2005 Number 561 ************************************************** Subjects for today 1 dprintf definition : Paul Smedley **= Email 1 ==========================** Date: Sun, 05 Jun 2005 18:35:24 +0930 From: Paul Smedley Subject: dprintf definition Hi All, I'm trying to beuild the latest dvdauthor which relies on libdvdread. libdvdread uses dprintf which isn't defined in Innotek GCC's stdio.h and causes the following error when building dvdauthor: gcc -Wall -g -O2 -Zomf -o dvdunauthor.exe dvdunauthor.o compat.o -L/usr/ bin/lib -lxml2 -lz -liconv -lm -lsocket -ldvdread -ldvdread weakld: error: Unresolved symbol (UNDEF) '_dprintf'. weakld: info: The symbol is referenced by: U:\usr\lib\dvdread.lib(ifo_read.obj) Ignoring unresolved externals reported from weak prelinker. U:\usr\lib\dvdread.lib(ifo_read.obj) : error LNK2029: "_dprintf" : unresolved ex ternal There was 1 error detected make.exe[2]: *** [dvdunauthor.exe] Error 1 Does anyone have any sample definitions for dprintf? Cheers, Paul.