[vox-tech] Binary problems
Peter Jay Salzman
vox-tech@lists.lugod.org
Thu, 26 Feb 2004 10:18:55 -0800
cam,
what does file report the "binary" as? perhaps it's not an ELF.
pete
On Thu 26 Feb 04, 9:43 AM, Doctorcam <cam@ellisonet.ca> said:
> I have downloaded a commercial fax program (free version, for
> evaluation). It is in binary (i.e. *.bin). I have permissions set to
> execute (100755).
>
> It will not run, even as "sh primafax_l.bin".
>
> strace gives me the following (in part - hope the wrapping does not confuse):
>
> open("primafax_l.bin", O_RDONLY|O_LARGEFILE) = 4
> ioctl(4, TCGETS, 0xbffff79c) = -1 ENOTTY (Inappropriate ioctl for device)
> _llseek(4, 0, [0], SEEK_CUR) = 0
> read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\2\0\3\0\1\0\0\0\260\200"..., 80) = 80
> write(2, "primafax_l.bin: primafax_l.bin: "..., 59primafax_l.bin: primafax_l.bin: cannot execute binary file
> ) = 59
> exit_group(126)
>
> I presume it cannot find the proper tty. At the moment I have ttyS0
> and ttyS1 designated elsewhere, so this may be the problem. I tried
> to set them to mgetty through inittab, but this had no impact.
>
> I'd be grateful for any ideas. Google, so far, has been un-helpful.
>
> TIA
>
> Cam
>
> --
> Cam Ellison
> In lovely Roberts Creek
> cam (at) ellisonet (dot) ca
> H: 604-885-2897
> C: 604-802-7928
> _______________________________________________
> vox-tech mailing list
> vox-tech@lists.lugod.org
> http://lists.lugod.org/mailman/listinfo/vox-tech
--
Make everything as simple as possible, but no simpler. -- Albert Einstein
GPG Instructions: http://www.dirac.org/linux/gpg
GPG Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D