rastertotpcl icon indicating copy to clipboard operation
rastertotpcl copied to clipboard

undefined reference to symbol 'cupsMarkOptions'

Open openbrian opened this issue 9 years ago • 6 comments

I'm getting this error when compiling. Looks like cupsMarkOptions is deprecated.

openbrian avatar Apr 07 '15 17:04 openbrian

If i comment out that line, i find a similar issues with ppdClose and ppdFindMarkedChoice.

openbrian avatar Apr 07 '15 17:04 openbrian

I commented out every deprecated function, hard coded default options, and got the CUPS test page to print.

openbrian avatar Apr 07 '15 20:04 openbrian

I'm also getting this error. Any chance its going to get fixed properly?

NeonHorizon avatar Dec 15 '15 20:12 NeonHorizon

I had the same problem with undefined reference - just had to tell gcc to add correct libs:

gcc rastertotpcl.c -lcupsimage -lcups -lm -o rastertotpcl

I got some warnings about deprecated functions, but it was compiled successfully. Then I copied rastertotpcl to /usr/libexec/cups/filter and everything works - on OSX 10.11 El Captain.

wcale avatar Mar 16 '16 10:03 wcale

@wcale fix sorted my compilation issue under archlinuxarm. Printer is working with a Raspberry Pi 3.

chemarbgmailcom avatar Sep 12 '18 20:09 chemarbgmailcom

How do I compile and install on Raspberry Pi 3 B+?

jx3v avatar Jul 27 '21 19:07 jx3v