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
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; \
g++: unrecognized option `-pthread'
In file included from aprsdexception.h:29,
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,
/usr/include/sys/param.h:216:1: warning: this is the location of the previous definition
make: *** [aprsd.o] Error 1
make: *** [all-recursive] Error 1
make: *** [all] Error 2
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.