Jari Lammi - 2004-03-04

I'd like to compile aprsd on Mac OS X, where there is no AX.25 stack available. What I need, is just the possibility to send netbeacons and connect to a local igate server, and to use my own aprsd together with javAPRS.

If I've understood correctly, none of these actually require the AX.25 availability. So in theory it would be possible to compile aprsd on Mac OS X (BSD variant), wouldn't it? If someone just told me how, ./configure was ok, but make didn't of course complete.

--
[dsl-hkigw6g75:/aprsd-2.2.5-15] oh2lna% make
make  all-recursive
Making all in src
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src    -g -O2 -Wall -pipe -pthread -MT aprsd.o -MD -MP -MF ".deps/aprsd.Tpo" \   -c -o aprsd.o `test -f 'aprsd.cpp' || echo './'`aprsd.cpp; \ then mv -f ".deps/aprsd.Tpo" ".deps/aprsd.Po"; \ else rm -f ".deps/aprsd.Tpo"; exit 1; \ fi
g++: unrecognized option `-pthread'
In file included from aprsdexception.h:29,
                 from mutex.h:36,
                 from dupCheck.h:32,
                 from aprsd.cpp:76:
osdep.h: In function `int aprsd::gethostbyname_r(const std::string&, hostent*,
   char*, long unsigned int, hostent**, int*)':
osdep.h:70: `hostent_data' undeclared (first use this function)
osdep.h:70: (Each undeclared identifier is reported only once for each function
   it appears in.)
osdep.h:76: `::gethostbyname_r' undeclared (first use here)
osdep.h:77: parse error before `*' token
osdep.h: In function `std::string aprsd::strerror_r(int)':
osdep.h:93: `::strerror_r' undeclared (first use here)
In file included from aprsd.cpp:88:
servers.h:46:1: warning: "MAX" redefined
In file included from /usr/include/arpa/inet.h:89,
                 from aprsd.cpp:69:
/usr/include/sys/param.h:216:1: warning: this is the location of the previous definition
make[2]: *** [aprsd.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2