Comment 12 for bug 1027021

Revision history for this message
D. Charles Pyle (dcharlespyle) wrote :

OK. I followed the instructions given on the page referenced above. It generated several errors. I cleaned up what looked like a coding error.

I then also had to run ./configure first before make, contrary to the instructions before a makefile was even provided. I then ran make and got the following again:

$ make
/bin/sh ./libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"HP\ Linux\ Imaging\ and\ Printing\" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.12.6\" -DPACKAGE_STRING=\"HP\ Linux\ Imaging\ and\ Printing\ 3.12.6\" -DPACKAGE_BUGREPORT=\"3.12.6\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.12.6\" -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_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -g -O2 -MT libsane_hpaio_la-bb_ledm.lo -MD -MP -MF .deps/libsane_hpaio_la-bb_ledm.Tpo -c -o libsane_hpaio_la-bb_ledm.lo `test -f 'scan/sane/bb_ledm.c' || echo './'`scan/sane/bb_ledm.c
libtool: compile: gcc "-DPACKAGE_NAME=\"HP Linux Imaging and Printing\"" -DPACKAGE_TARNAME=\"hplip\" -DPACKAGE_VERSION=\"3.12.6\" "-DPACKAGE_STRING=\"HP Linux Imaging and Printing 3.12.6\"" -DPACKAGE_BUGREPORT=\"3.12.6\" -DPACKAGE_URL=\"\" -DPACKAGE=\"hplip\" -DVERSION=\"3.12.6\" -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_LIBHPIP=1 -DHAVE_LIBCRYPTO=1 -DHAVE_LIBNETSNMP=1 -DHAVE_NET_SNMP_NET_SNMP_CONFIG_H=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_LIBUSB_1_0_LIBUSB_H=1 -DHAVE_PYTHON2_7_PYTHON_H=1 -DHAVE_DBUS=1 -I. -Iip -Iio/hpmud -Iscan/sane -Iprnt/hpijs -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -g -O2 -MT libsane_hpaio_la-bb_ledm.lo -MD -MP -MF .deps/libsane_hpaio_la-bb_ledm.Tpo -c scan/sane/bb_ledm.c -fPIC -DPIC -o .libs/libsane_hpaio_la-bb_ledm.o
In file included from scan/sane/bb_ledm.c:23:0:
scan/sane/common.h:187:1: warning: 'visibility' attribute ignored on non-class types [-Wattributes]
scan/sane/bb_ledm.c: In function 'bb_is_paper_in_adf':
scan/sane/bb_ledm.c:1081:1: error: expected declaration or statement at end of input
make: *** [libsane_hpaio_la-bb_ledm.lo] Error 1

I then corrected another coding error by adding another left-facing bracket where one should have been but wasn't. Ran make again. This time there were not errors generated. I am about to run make install. Stand by.

Just did it. No errors can be seen so far. I will test the scanner in a moment and give results in separate post.