USB to Serial

Keith Clark keithclark at k-wbookworm.com
Sat Jul 26 00:49:18 UTC 2008


Chris Mohler wrote:
> On Fri, Jul 25, 2008 at 6:54 PM, Keith Clark <keithclark at k-wbookworm.com> wrote:
>   
>> Chris Mohler wrote:
>>     
>>>> Ok, I received the adaper today and it does not work with Ubuntu, out of
>>>> the
>>>> box. It works with my XP machine with no issues. Any ideas of what to
>>>> try?
>>>>
>>>>         
>>> [...]
>>>
>>>       
>>>> --------------------------------------------------------------------------------------------------------------------------------------
>>>> I've extracted but right away there is a problem. Upon executing the make
>>>> command per the instructions, I get nothing but errors as follows:
>>>>
>>>>
>>>> --------------------------------------------------------------------------------------------------------------------------------------
>>>> keithclark at keithclark-desktop:~/tspdriver/starcupsdrv-2.9.0$ make
>>>> mkdir bin
>>>> # compiling rastertostar filter
>>>> gcc -Wl,-rpath,/usr/lib -Wall -fPIC -O2 -o bin/rastertostar
>>>> src/rastertostar.c -lcupsimage -lcups
>>>> src/rastertostar.c:33:23: error: cups/cups.h: No such file or directory
>>>> src/rastertostar.c:34:22: error: cups/ppd.h: No such file or directory
>>>>
>>>>         
>>> Sounds like you have two issues - I don't know about the
>>> serial-to-USB, but it should "just work".
>>>
>>> Now on the driver issue - if you want to compile it, you'll need to
>>> install the cups devel package via apt.  Not sure which one, but
>>> probably either 'libcupsys2-dev ' or 'cupsddk'.
>>>
>>> Chris
>>>
>>>
>>>       
>> Chris,
>>
>> Ok, I tried that.  Very same errors!
>>     
>
> Did you install this one:  libcupsys2-dev?
>
> It provides:  /usr/include/cups/cups.h
>
> Are you sure the error message is exactly the same, or is it now
> missing another file or file(s)?
>
> Chris
>
>   
Chris,

Here is the output for comparison. I've been troubleshooting all day so 
I'm probably looking over things too quickly.

Keith

keithclark at keithclark-desktop:~/tspdriver/starcupsdrv-2.9.0$ make
# compiling rastertostar filter
gcc -Wl,-rpath,/usr/lib -Wall -fPIC -O2 -o bin/rastertostar 
src/rastertostar.c -lcupsimage -lcups
src/rastertostar.c:35:25: error: cups/raster.h: No such file or directory
src/rastertostar.c:920: error: expected declaration specifiers or ‘...’ 
before ‘cups_page_header_t’
src/rastertostar.c: In function ‘pageSetup’:
src/rastertostar.c:927: error: ‘header’ undeclared (first use in this 
function)
src/rastertostar.c:927: error: (Each undeclared identifier is reported 
only once
src/rastertostar.c:927: error: for each function it appears in.)
src/rastertostar.c: In function ‘main’:
src/rastertostar.c:1021: error: ‘cups_raster_t’ undeclared (first use in 
this function)
src/rastertostar.c:1021: error: ‘ras’ undeclared (first use in this 
function)
src/rastertostar.c:1022: error: ‘cups_page_header_t’ undeclared (first 
use in this function)
src/rastertostar.c:1022: error: expected ‘;’ before ‘header’
src/rastertostar.c:1106: warning: implicit declaration of function 
‘cupsRasterOpen’
src/rastertostar.c:1106: error: ‘CUPS_RASTER_READ’ undeclared (first use 
in this function)
src/rastertostar.c:1110: warning: implicit declaration of function 
‘cupsRasterReadHeader’
src/rastertostar.c:1110: error: ‘header’ undeclared (first use in this 
function)
src/rastertostar.c:1122: warning: implicit declaration of function 
‘cupsRasterClose’
src/rastertostar.c:1129: error: too many arguments to function ‘pageSetup’
src/rastertostar.c:1166: warning: implicit declaration of function 
‘cupsRasterReadPixels’
make: *** [rastertostar] Error 1


-------------- next part --------------
A non-text attachment was scrubbed...
Name: keithclark.vcf
Type: text/x-vcard
Size: 245 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20080725/56da109d/attachment.vcf>


More information about the ubuntu-users mailing list