On 07/06/2012 09:47 PM, Christian Axelsson wrote:
While making OSX homebrew packages for libdivecomputer and subsurface I've ran into trouble using my newly compiled libdivecomputer. I've tried both with 1.0.1 and the git head but the results are the same. Running the test program for vyper produces the following result:
[mba:~/Temp/libdivecomputer] $ examples/vyper /dev/tty.SLAB_USBtoUART DEVICE=/dev/tty.SLAB_USBtoUART, DELAY=500 suunto_vyper_device_open TRACE (serial_posix.c:684, ioctl): Inappropriate ioctl for device (25) suunto_vyper.c:145: Failed to set the DTR line. suunto_vyper_test.c:38: Error opening serial port. suunto_vyper_device_open TRACE (serial_posix.c:684, ioctl): Inappropriate ioctl for device (25) suunto_vyper.c:145: Failed to set the DTR line. suunto_vyper_test.c:71: Error opening serial port. SUMMARY ------- test_dump_sdm: Input/output error test_dump_memory: Input/output error
... but running the test program downloaded from the webpage works:
Any ideas on what might be causing this?
You are the second person reporting this problem this week.
I have absolutely no idea what is causing this. My setup for compiling the macosx test applications is probably very different from yours. I'm cross-compiling the macosx (and windows) binaries on linux. But on the other hand macdive is having no such problems, so it must be possible to get it working on macosx. Unfortunately I don't have a clue how.
Jef