[sane-devel] libm issues on macppc
paul beard
paulbeard at mac.com
Tue Feb 19 23:03:00 GMT 2002
I evidently looked in the wrong place or some other way
incorrectly and missed libm. I created a symlink or two to
resolved that and the reference to libc.so, touched
/etc/ld.so.conf, and I've cleared up those missing file errors.
anyone have any time to look at the attached ktruss output? or
would something else be more worthwhile?
-------------- next part --------------
= 0
12488 ktruss emul(netbsd)
12488 ktruss "/usr/libexec/ld.elf_so" JUSTRETURN
12488 scanimage emul(netbsd)
12488 scanimage __sysctl(0x7fffe798, 0x2, 0x41855f60, 0x7fffe7a0, 0, 0) = 0
12488 scanimage mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1099268096
12488 scanimage geteuid = 0
12488 scanimage getuid = 0
12488 scanimage getegid = 0
12488 scanimage getgid = 0
12488 scanimage open("/etc/ld.so.conf", 0, 0x418535c8) = 3
12488 scanimage __fstat13(0x3, 0x7fffe8a8) = 0
12488 scanimage mmap(0, 0, 0x3, 0x2, 0x3, 0, 0, 0) = 1099169792
12488 scanimage close(0x3) = 0
12488 scanimage munmap(0x41840000, 0) = 0
12488 scanimage __stat13("/usr/pkg/lib/libsane.so.1", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libsane.so.1", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\^[ \0\0\0004"
12488 scanimage close(0x3) = 0
12488 scanimage open("/usr/pkg/lib/libsane.so.1", 0, 0) = 3
12488 scanimage __fstat13(0x3, 0x7fffe838) = 0
12488 scanimage read(0x3, 0x7fffd7d0, 0x1000) = 4096
12488 scanimage mmap(0, 0x47000, 0x5, 0x2, 0x3, 0, 0, 0) = 1099300864
12488 scanimage mmap(0x418a5000, 0x1000, 0x7, 0x12, 0x3, 0, 0, 0x5000) = 1099583488
12488 scanimage mmap(0x418a6000, 0x1000, 0x7, 0x1012, 0xffffffff, 0, 0, 0) = 1099587584
12488 scanimage munmap(0x41866000, 0x3f000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libusb-0.1.so.5", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libusb-0.1.so.5", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\^S\^P\0\0"
12488 scanimage close(0x3) = 0
12488 scanimage open("/usr/pkg/lib/libusb-0.1.so.5", 0, 0) = 3
12488 scanimage __fstat13(0x3, 0x7fffe838) = 0
12488 scanimage read(0x3, 0x7fffd7d0, 0x1000) = 4096
12488 scanimage mmap(0, 0x45000, 0x5, 0x2, 0x3, 0, 0, 0) = 1099591680
12488 scanimage mmap(0x418ea000, 0x2000, 0x7, 0x12, 0x3, 0, 0, 0x3000) = 1099866112
12488 scanimage mmap(0x418ec000, 0, 0x7, 0x1012, 0xffffffff, 0, 0, 0) = 1099874304
12488 scanimage munmap(0x418ab000, 0x3f000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libm.so.0", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libm.so.0", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\^A\M-`\M-x\0\0"
12488 scanimage close(0x3) = 0
12488 scanimage open("/usr/pkg/lib/libm.so.0", 0, 0) = 3
12488 scanimage __fstat13(0x3, 0x7fffe838) = 0
12488 scanimage read(0x3, 0x7fffd7d0, 0x1000) = 4096
12488 scanimage mmap(0, 0xec000, 0x5, 0x2, 0x3, 0, 0, 0) = 1099874304
12488 scanimage mmap(0x419be000, 0xd000, 0x7, 0x12, 0x3, 0, 0, 0x92000) = 1100734464
12488 scanimage mmap(0x419cb000, 0xd000, 0x7, 0x1012, 0xffffffff, 0, 0, 0) = 1100787712
12488 scanimage munmap(0x4197f000, 0x3f000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libjpeg.so.62", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libjpeg.so.62", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0/\M-$\0\0\000"
12488 scanimage close(0x3) = 0
12488 scanimage open("/usr/pkg/lib/libjpeg.so.62", 0, 0) = 3
12488 scanimage __fstat13(0x3, 0x7fffe838) = 0
12488 scanimage read(0x3, 0x7fffd7d0, 0x1000) = 4096
12488 scanimage mmap(0, 0x62000, 0x5, 0x2, 0x3, 0, 0, 0) = 1100840960
12488 scanimage mmap(0x41a36000, 0x3000, 0x7, 0x12, 0x3, 0, 0, 0x1e000) = 1101225984
12488 scanimage mmap(0x41a39000, 0x1000, 0x7, 0x1012, 0xffffffff, 0, 0, 0) = 1101238272
12488 scanimage munmap(0x419f7000, 0x3f000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libc.so.12", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libc.so.12", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\^A\M-`\M-x\0\0"
12488 scanimage close(0x3) = 0
12488 scanimage open("/usr/pkg/lib/libc.so.12", 0, 0) = 3
12488 scanimage __fstat13(0x3, 0x7fffe838) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libusb-0.1.so.5", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libusb-0.1.so.5", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\^S\^P\0\0"
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libm.so.0", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libm.so.0", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\^A\M-`\M-x\0\0"
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libjpeg.so.62", 0x7fffe7b8) = 0
12488 scanimage open("/usr/pkg/lib/libjpeg.so.62", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffe828, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0/\M-$\0\0\000"
12488 scanimage close(0x3) = 0
12488 scanimage __sysctl(0x41854274, 0x2, 0x41855f54, 0x7fffe8b8, 0, 0) = 0
12488 scanimage __sysctl(0x7fffdbe8, 0x2, 0x7fffdbf0, 0x7fffdbf4, 0, 0) = 0
12488 scanimage "/etc/malloc.conf" Err#22 EINVAL
12488 scanimage mmap(0, 0x1000, 0x3, 0x1002, 0xffffffff, 0, 0, 0) = 1099325440
12488 scanimage break(0x1848f80) = 0
12488 scanimage break(0x1848f80) = 0
12488 scanimage break(0x184a000) = 0
12488 scanimage open("./dll.conf", 0, 0x1b6) = 3
12488 scanimage __fstat13(0x3, 0x7fffdfe8) = 0
12488 scanimage break(0x184a000) = 0
12488 scanimage break(0x184c000) = 0
12488 scanimage read(0x3, 0x184a000, 0x2000) = 371
"# enable the next line if you want to allow access through the networ"
12488 scanimage break(0x184c000) = 0
12488 scanimage break(0x184d000) = 0
12488 scanimage break(0x184d000) = 0
12488 scanimage break(0x184e000) = 0
12488 scanimage read(0x3, 0x184a000, 0x2000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage open("./dll.aliases", 0, 0x1b6) = 3
12488 scanimage __fstat13(0x3, 0x7fffdfe8) = 0
12488 scanimage read(0x3, 0x184a000, 0x2000) = 28
"alias scanner umax:/dev/uk0\n"
12488 scanimage read(0x3, 0x184a000, 0x2000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage getpid = 12488
12488 scanimage open("/usr/pkg/lib/sane/libsane-umax.so.1", 0, 0x1b6) = 3
12488 scanimage close(0x3) = 0
12488 scanimage open("/usr/pkg/lib/sane/libsane-umax.so.1", 0, 0) = 3
12488 scanimage __fstat13(0x3, 0x7fffdfa0) = 0
12488 scanimage read(0x3, 0x7fffcf30, 0x1000) = 4096
12488 scanimage mmap(0, 0x5f000, 0x5, 0x2, 0x3, 0, 0, 0) = 1101242368
12488 scanimage mmap(0x41a8f000, 0xa000, 0x7, 0x12, 0x3, 0, 0, 0x15000) = 1101590528
12488 scanimage mmap(0x41a99000, 0, 0x7, 0x1012, 0xffffffff, 0, 0, 0) = 1101631488
12488 scanimage munmap(0x41a50000, 0x3f000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libusb-0.1.so.5", 0x7fffde90) = 0
12488 scanimage open("/usr/pkg/lib/libusb-0.1.so.5", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffdf00, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0\^S\^P\0\0"
12488 scanimage close(0x3) [sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_scsi] sanei_scsi_find_devices: not implemented for this platform
[sanei_debug] Setting debug level of sanei_scsi to 255.
[sanei_debug] Setting debug level of sanei_scsi to 255.
scanimage: open of device umax:/dev/uk0 failed: Invalid argument
= 0
12488 scanimage __stat13("/usr/pkg/lib/libm.so.0", 0x7fffde90) = 0
12488 scanimage open("/usr/pkg/lib/libm.so.0", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffdf00, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\^A\M-`\M-x\0\0"
12488 scanimage close(0x3) = 0
12488 scanimage __stat13("/usr/pkg/lib/libjpeg.so.62", 0x7fffde90) = 0
12488 scanimage open("/usr/pkg/lib/libjpeg.so.62", 0, 0) = 3
12488 scanimage read(0x3, 0x7fffdf00, 0x34) = 52
"\^?ELF\^A\^B\^A\0\0\0\0\0\0\0\0\0\0\^C\0\^T\0\0\0\^A\0\0/\M-$\0\0\000"
12488 scanimage close(0x3) = 0
12488 scanimage open("./umax.conf", 0, 0x1b6) = 3
12488 scanimage __fstat13(0x3, 0x7fffdf70) = 0
12488 scanimage read(0x3, 0x184a000, 0x2000) = 712
"#\n# Options for the umax backend\n#option scsi-maxqueue 2\n#option s"
12488 scanimage __fstat13(0x2, 0x7fffddc0) = 0
12488 scanimage write(0x2, 0x7fffd730, 0xe) = 14
"[sanei_debug] "
12488 scanimage write(0x2, 0x7fffd7c0, 0x2a) = 42
"Setting debug level of sanei_scsi to 255.\n"
12488 scanimage __fstat13(0x2, 0x7fffdee0) = 0
12488 scanimage write(0x2, 0x7fffd850, 0xd) = 13
"[sanei_scsi] "
12488 scanimage write(0x2, 0x7fffd8e0, 0x3b) = 59
"sanei_scsi_find_devices: not implemented for this platform\n"
12488 scanimage break(0x184e000) = 0
12488 scanimage break(0x184f000) = 0
12488 scanimage __fstat13(0x2, 0x7fffdd30) = 0
12488 scanimage write(0x2, 0x7fffd6a0, 0xe) = 14
"[sanei_debug] "
12488 scanimage write(0x2, 0x7fffd730, 0x2a) = 42
"Setting debug level of sanei_scsi to 255.\n"
12488 scanimage open("/dev/uk0", 0x802, 0x2a) = 4
12488 scanimage break(0x184f000) = 0
12488 scanimage break(0x1850000) = 0
12488 scanimage break(0x1850000) = 0
12488 scanimage break(0x1854000) = 0
,_IOWR('Q',0x1,0x60) 12488 scanimage ioctl(0x4, 0x7fffde80) = 0
,_IOWR('Q',0x1,0x60) 12488 scanimage ioctl(0x4, 0x7fffde80) = 0
12488 scanimage close(0x4) = 0
12488 scanimage read(0x3, 0x184a000, 0x2000) = 0
12488 scanimage close(0x3) = 0
12488 scanimage __fstat13(0x2, 0x7fffe190) = 0
12488 scanimage write(0x2, 0x7fffdb00, 0xe) = 14
"[sanei_debug] "
12488 scanimage write(0x2, 0x7fffdb90, 0x2a) = 42
"Setting debug level of sanei_scsi to 255.\n"
12488 scanimage open("/dev/uk0", 0x802, 0x2a) = 3
,_IOWR('Q',0x1,0x60) 12488 scanimage ioctl(0x3, 0x7fffe2e0) = 0
,_IOWR('Q',0x1,0x60) 12488 scanimage ioctl(0x3, 0x7fffe2e0) = 0
12488 scanimage close(0x3) = 0
12488 scanimage write(0x2, 0x7fffde18, 0x41) = 65
"scanimage: open of device umax:/dev/uk0 failed: Invalid argument\n"
12488 scanimage munmap(0x41a3a000, 0x5f000) Err#22 EINVAL
12488 scanimage exit(0x1)
More information about the sane-devel
mailing list