I have recently setup the new build environment for Openwrt LEDE and tried to create an image for the asus WL500G router to run aprx (the igate/Digipeater)
The source code is maintained here: https://github.com/PhirePhly/aprx
I have created a git repository for the aprx package here: https://github.com/videobuff/openwrt-aprx
In addition, when I entered the directory aprx, created by the Makefile and then executed $ configure --with-embedded and make, the package compiled fine.
YES, YOU NEED libax25...and now I can have someone test to see if it works!!!
I already have a makfile and patch file for libax25; and I'm able to compile it and prodice an IPK file...but I have issues with compiling ax25-tools and ax25-utils...perhaps you can help, later.
seventy three kilo bravo three victor whiskey golf
You may end up the the same issue...as I cannot seem to compile the other two, because there's a dependency on the libraries libax25 creates...
Hello,
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.
I did post, see above. The linked thread shows my progress with the software I mentioned...
So you're saying that you did have libax25...and you ARE having the same issue:
So why is your compile environment asking for libax25...??? AND WHAT DO YOU MEAN...ALL THE AX.25 PACKAGES DON'T EXIST FOR OpenWRT...THAT'S THE POINT OF THE THREADS AND LINKS NOTED IN IT.
Just to let you know...most APRS software DOES require libax25 (the packets are in AX.25 format)...and I'm talking about libax25 in the development environment, not on the Ubuntu system.
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.
73's
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.
it looks like aprx only needs the libax25 header files. but it is not a good way to install libax25 on the machine. it's better to create a libx25 package in openwrt. I have tried building aprx on openwrt 23.05.3 and the snapshoot version everything can be built