Re: Xsane

From: Bioperler (usenet_at_ts-cs.de)
Date: 02/20/05


Date: Sun, 20 Feb 2005 22:06:21 +0100

Kris Kennaway wrote:
> On 2005-02-19, Bioperler <usenet@ts-cs.de> wrote:
>
>
>>There are a lot of libs missing. Well actually that means they are not
>>really missing - they are just installed elsewhere. So is that formally
>>something like a broken port?
>
>
> No, since they were all found in the search path.
>
>
>>access("/usr/local/lib/libusb-0.1.so.7",0) = 0 (0x0)
>>access("/lib/libcam.so.2",0) = 0 (0x0)
>>access("/lib/libm.so.3",0) = 0 (0x0)
>>access("/usr/local/lib/libjpeg.so.9",0) = 0 (0x0)
>>access("/usr/local/lib/libgphoto2_port.so.5",0) = 0 (0x0)
>
>
>>open("/dev/pass0",0x2,02000) = 8 (0x8)
>>ioctl(8,CAMGETPASSTHRU,0xbfbfde70) = 0 (0x0)
>>ioctl(8,CAMIOCOMMAND,0xbfbfde70) = 0 (0x0)
>>ioctl(8,CAMIOCOMMAND,0xbfbfde70) = 0 (0x0)
>>ioctl(8,CAMIOCOMMAND,0xbfbfde70) = 0 (0x0)
>>ioctl(8,CAMIOCOMMAND,0x8119000) = 0 (0x0)
>>ioctl(8,CAMIOCOMMAND,0x8119000) = 0 (0x0)
>>nanosleep({1 0}) = 0 (0x0)
>>SIGNAL 11 (SIGSEGV)
>>SIGNAL 11 (SIGSEGV)
>
>
> This indicates that sane tried to open /dev/pass0 (to talk to the
> scanner), and issued some commands, and then crashed soon after.
> Possibly it didn't like the information it received from the scsi
> device. This is probably a bug in sane, although it might be caused
> by another condition on your system. You might be able to find out
> more information if you recompile sane with debugging symbols
> (CFLAGS=-O -pipe -ggdb) and run gdb on the core when it crashes.
>
> Kris
>
>
Hmm I tried it but it doesn't work. Well..as I'm new to freeBSD, maybe
I've made a mistake....
I modified one line xsane's Makefile:
CONFIGURE_ENV+= CFLAGS-="-O -pipe -ggdb"

and compiled xsane again. gdb led to: This GDB was configured as
"i386-marcel-freebsd"..."/usr/ports/graphics/xsane/xsane.core": not in
executable format: File format not recognized