DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ pxscan.c
pxscan.c:102:20: tiffio.h: No such file or directory
In file included from pxscan.c:108:
pxscan.h:178: error: parse error before '*' token
pxscan.h:180: error: parse error before '*' token
pxscan.c:266: error: parse error before '*' token
pxscan.c: In function `tiff_open':
pxscan.c:268: error: `tiffile' undeclared (first use in this function)
pxscan.c:268: error: (Each undeclared identifier is reported only once
pxscan.c:268: error: for each function it appears in.)
pxscan.c:268: warning: implicit declaration of function `TIFFOpen'
pxscan.c:268: error: `image' undeclared (first use in this function)
pxscan.c:274: warning: implicit declaration of function `TIFFSetField'
pxscan.c:274: error: `TIFFTAG_IMAGEWIDTH' undeclared (first use in this function)
pxscan.c:275: error: `TIFFTAG_IMAGELENGTH' undeclared (first use in this function)
pxscan.c:276: error: `TIFFTAG_ORIENTATION' undeclared (first use in this function)
pxscan.c:276: error: `ORIENTATION_TOPLEFT' undeclared (first use in this function)
pxscan.c:277: error: `TIFFTAG_PLANARCONFIG' undeclared (first use in this function)
pxscan.c:277: error: `PLANARCONFIG_CONTIG' undeclared (first use in this function)
pxscan.c:278: error: `TIFFTAG_ROWSPERSTRIP' undeclared (first use in this function)
pxscan.c:279: warning: implicit declaration of function `TIFFDefaultStripSize'
pxscan.c:285: error: `TIFFTAG_PHOTOMETRIC' undeclared (first use in this function)
pxscan.c:285: error: `PHOTOMETRIC_RGB' undeclared (first use in this function)
pxscan.c:286: error: `TIFFTAG_SAMPLESPERPIXEL' undeclared (first use in this function)
pxscan.c:287: error: `TIFFTAG_BITSPERSAMPLE' undeclared (first use in this function)
pxscan.c:288: error: `TIFFTAG_COMPRESSION' undeclared (first use in this function)
pxscan.c:288: error: `COMPRESSION_NONE' undeclared (first use in this function)
pxscan.c: At top level:
pxscan.c:322: error: parse error before '*' token
pxscan.c: In function `tiff_close':
pxscan.c:324: warning: implicit declaration of function `TIFFClose'
pxscan.c:324: error: `tiffile' undeclared (first use in this function)
pxscan.c: In function `readscandata':
pxscan.c:723: error: `TIFF' undeclared (first use in this function)
pxscan.c:723: error: `tiffile' undeclared (first use in this function)
pxscan.c:837: warning: implicit declaration of function `TIFFWriteScanline'
pxscan.c: In function `scan':
pxscan.c:1130: warning: comparison is always false due to limited range of data type
make: *** [pxscan.o] Error 1
Checked all my libtiff stuff and ran make and i get the info posted below.
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ pxscan.c
pxscan.c: In function `scan':
pxscan.c:1130: warning: comparison is always false due to limited range of data type
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ probe_lp.c
gcc -O -c -g -Wall -I/usr/local/tiff-v3.4/libtiff/ portio.c
portio.c: In function `epp_off':
portio.c:42: warning: implicit declaration of function `ioperm'
portio.c:43: warning: implicit declaration of function `iopl'
cc -ltiff -lm -O -g pxscan.o probe_lp.o portio.o -o pxscan
and if i do cp pxscan.1 /usr/locan/man/man1 as the readme info says i still cant get xsane to show the scanner it keeps giving "No devices available".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.