DDK compilation failed on Mac OS X
RRaph
mac.rraph at free.fr
Tue Jun 7 14:26:54 PDT 2005
Hello,
I try for hours to compile the DDK but i cannot find what's wrong.
Thanks by advance for any advice.
Here is situation :
OS : Mac OS X.4.1 on PowerPPC
GCC : powerpc-apple-darwin8-gcc-4.0.0 (GCC) 4.0.0 20041026 (Apple Computer, Inc. build 4061)
Cups version : 1.1.23
Cups DDk version : cupsddk-1.0
Cups headers installed from the latest sources for Darwin : cups-86.tar.gz
I find this :
ls /usr/include/cups/
cups.h image.h language.h ppd.h
http.h ipp.h md5.h raster.h
And this :
ls /usr/lib | grep "cup"
libcups.2.dylib
libcups.dylib
libcupsimage.2.dylib
libcupsimage.dylib
So, no problem during ./configure
But during make :
ranlib libppdc.a
gcc -I.. -Wall -Wwrite-strings -O -fno-exceptions -fno-rtti -c ppdc.cxx
gcc -Wall -Wwrite-strings -O -fno-exceptions -fno-rtti -o ppdc ppdc.o libppdc.a ../espmsg/libespmsg.a \
-lcups
/usr/bin/ld: Undefined symbols:
operator new(unsigned long)
operator delete(void*)
operator delete[](void*)
operator new[](unsigned long)
collect2: ld returned 1 exit status
make[1]: *** [ppdc] Error 1
make: *** [all] Error 1
More information about the cups-devel
mailing list