Errror building libdivecomputer
jefdriesen at telenet.be
Mon Sep 10 05:45:40 PDT 2012
On 2012-09-10 13:03, Lubomir I. Ivanov wrote:
> i've encountered this when trying to build libdivecomputer /
> subsurface on debian 6.0.x with libtool 2.2.6b-2
> and can honestly say that building on windows was a "breeze" compared
> to that.
> and while my rant against libtool, which is a prehistoric tool for
> hackers with a subconscious fetishizm for obscure programming
> patterns, compensating for the lack of feminine touch with plans of
> reproduction, is of infinite length, i propose to you the following
> horrible build script :-):
> but first open "src/serial_posix.c"
> add these 3 lines:
> #define HAVE_LINUX_SERIAL_H
> #define __USE_BSD
> #define __USE_POSIX199309
> #include <sys/ioctl.h> // ioctl
> /* < ---- here */
> #include <sys/time.h> // gettimeofday
> don't even ask whats going on here...also mind that "gcc -D.." will
> not work due to macro override.
If anyone knows what is going wrong here, I can try to fix it properly
in libdivecomputer. I don't get any errors on Ubuntu.
@lubomir: What's the error message you get?
More information about the subsurface