I did have libax25 installed, so that is not the problem.
Could you post your Makefile here ?
I am using Ubuntu 16.04 as development platform.
I have installed all ax25 packages, but aprx does not need them.
Temporary solved the issue.
The compile errors indicated that ax25 files were not found.
By placing the /usr/include/netax25 directory in ~/staging_dir/toolchain-mipsel_mips32_gcc-5.4.0_musl-1.1.16/include/
After that the package aprx compiled fine because the dependances were then found, and aprx is currently working (version aprx: 17.01.4-302-gfad29d2). I had already a asus wl500g prepared for that with the latest OpenWrtLEDE.
B.t.w. I installed the ax25 packages using apt-get install.
I did not have to install ax25 on the router, i installed it on the development machine, placed the correct directory in the buildroot, and then could compile the package aprx, including all the ax25 dependencies.
With temporary I mean that I have to add these ax25 files to my git repository, so that anyone who wishes to compile aprx themselfes does not run into the same problem. For the moment i can compile and help other hams with either the package or the complete firmware.
Erik - PA0ESH
Apologize I'm reviving an old thread, but I'm having a problem on the compile as I need a version of APRX on a new TL-MR3420 V5 box (I'm upgrading from the old MR3420 V1 box that has been running flawlessly for 9 years).
Erik, could you explain how to use your git repository? My build machine is Ubuntu 16.04 or Ubuntu 20.05.
1: install the old-packages repostory, from which there is a aprx module. That however is an old one so you then have to replace it by a makefile pointing to Phurefly's latest current version.
2. Clone Phirefly's aprx locally and create your own package.
Openwrt wiki describes both ways in genreric instructions.
I will see if i can make a firmware package for you for the new router. Howeve, I have to update my build machine first because it has been a long time ago that i did
The new router box has been loaded with openwrt and looks like it is working good.
On my build machine, I "git clone" from PhirePhly, and on the same ax25 error I followed your solution that you mention in this page.
Then I got further error, which is related to "#include bits/sockaddr.h" in file /usr/include/netax25.h
My solution in this problem is edit that file and comment out the line of #include bits/sockaddr.h
I got the app finally compiled fine, and has been running fine on the MR3420 V5 box, thru manual start.
I still need to figure out how to make a complete package, so I can also have the /etc/init.d/aprx init script.