Tim, when I do this change HPLIP does not build any more:
libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.9.6b\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.9.6b\"" -DPACKAGE_BUGREPORT=\"3.9.6b.4\" -DPACKAGE=\"hplip\" -DVERSION=\"3.9.6b\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_LINUX_PPDEV_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_USB_H=1 -DHAVE_PYTHON2_6_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -DMUDNAME=\"hpmud\" -DCONFDIR=\"/etc/hp\" -Wall -pipe -g -O2 -c io/hpmud/musb.c -fPIC -DPIC -o .libs/libhpmud_la-musb.o io/hpmud/musb.c: In function ‘get_device_id’: io/hpmud/musb.c:1983: error: ‘FD_MAX’ undeclared (first use in this function) io/hpmud/musb.c:1983: error: (Each undeclared identifier is reported only once io/hpmud/musb.c:1983: error: for each function it appears in.) io/hpmud/musb.c:2013: warning: unused variable ‘idProduct’ make[1]: *** [libhpmud_la-musb.lo] Error 1 make[1]: Leaving directory `/home/till/ubuntu/hplip/svn/pkg-hpijs/build-area/hplip-3.9.6b' make: *** [build-stamp] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1334: dpkg-buildpackage -rfakeroot -D -us -uc failed Command /bin/sh -c debuild "-rfakeroot" failed in /home/till/ubuntu/hplip/svn/pkg-hpijs/build-area/hplip-3.9.6b, how to continue now? [Qri?]: ^C
Tim, when I do this change HPLIP does not build any more:
libtool: compile: gcc "-DPACKAGE_ NAME=\" HP Linux Imaging and Printing\"" -DPACKAGE_ TARNAME= \"hplip\ " -DPACKAGE_ VERSION= \"3.9.6b\ " "-DPACKAGE_ STRING= \"HP Linux Imaging and Printing 3.9.6b\"" -DPACKAGE_ BUGREPORT= \"3.9.6b. 4\" -DPACKAGE=\"hplip\" -DVERSION= \"3.9.6b\ " -DSTDC_HEADERS=1 -DHAVE_ SYS_TYPES_ H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR= \".libs/ \" -DHAVE_LIBDL=1 -DHAVE_PTHREAD_H=1 -DHAVE_JPEGLIB_H=1 -DHAVE_UINT32_T=1 -DHAVE_LIBHPIP=1 -DHAVE_PPORT=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_ NET_SNMP_ NET_SNMP_ CONFIG_ H=1 -DHAVE_ LINUX_PPDEV_ H=1 -DHAVE_ CUPS_CUPS_ H=1 -DHAVE_USB_H=1 -DHAVE_ PYTHON2_ 6_PYTHON_ H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -DMUDNAME=\"hpmud\" -DCONFDIR= \"/etc/ hp\" -Wall -pipe -g -O2 -c io/hpmud/musb.c -fPIC -DPIC -o .libs/libhpmud_ la-musb. o musb.c: 1983: error: ‘FD_MAX’ undeclared (first use in this function) musb.c: 1983: error: (Each undeclared identifier is reported only once musb.c: 1983: error: for each function it appears in.) musb.c: 2013: warning: unused variable ‘idProduct’ la-musb. lo] Error 1 till/ubuntu/ hplip/svn/ pkg-hpijs/ build-area/ hplip-3. 9.6b' ubuntu/ hplip/svn/ pkg-hpijs/ build-area/ hplip-3. 9.6b, how to continue now? [Qri?]: ^C
io/hpmud/musb.c: In function ‘get_device_id’:
io/hpmud/
io/hpmud/
io/hpmud/
io/hpmud/
make[1]: *** [libhpmud_
make[1]: Leaving directory `/home/
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1334:
dpkg-buildpackage -rfakeroot -D -us -uc failed
Command /bin/sh -c debuild "-rfakeroot" failed in /home/till/