Error message as requested by Mr. Sweet

Michael Sweet mike at easysw.com
Sat Mar 5 09:17:16 PST 2005


Randy wrote:
>>Randy wrote:
>>
>>>libxpdf.a(Function.o)(.gnu.linkonce.t._ZN15SampledFunction4copyEv+0x43): In function `SampledFunction::copy()':
>>>: undefined reference to `operator delete(void*)'
>>>*** Error code 1
>>>
>>>Stop in /usr/home/randy/cups-1.1.23/pdftops.
>>>*** Error code 1
>>>
>>>Stop in /usr/home/randy/cups-1.1.23.
>>
>>You are using GCC 3.x, but for some reason the configure check
>>didn't detect the need for -lsupc++.  Try adding that to the
>>CXXLIBS definition in the Makedefs file.
>>
>>--Mr. Sweet:
> 
> 
> I added -lsupc++ to the Makedefs file and then configured and tried to make CUPS-1.1.23 again and received the same message as above. As I kept working through the situation, I added the -lsupc++ command to the Makedefs.in file and received the message that -lsupc++ could not be located in the /usr/bin/ld file. Thus, I tried to find the -lsupc++ file on the Xpdf web-site. So far I am still looking and very puzzled. I want to compile CUPS, but simply cannot get past the pdftops problem.

Try adding -lstdc++ instead, then.  Perhaps your copy of GCC is
missing the (GCC standard) -lsupc++ library...

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Publishing Software        http://www.easysw.com




More information about the cups-devel mailing list