john9527
Part of the Furniture
That's two....same error I had (and same solution)ctype.h line 73:
extern int isblank(int __c) __THROW;
In asus`s toolchain this line is commented, well i commented it:
//extern int isblank(int __c) __THROW;
That's two....same error I had (and same solution)ctype.h line 73:
extern int isblank(int __c) __THROW;
In asus`s toolchain this line is commented, well i commented it:
//extern int isblank(int __c) __THROW;
next compilation stopped on miniupnpd
natpmp.c: In function ‘ReceiveNATPMPOrPCPPacket’:
natpmp.c:211:36: error: dereferencing pointer to incomplete type
natpmp.c:212:15: error: dereferencing pointer to incomplete type
natpmp.c:214:35: error: dereferencing pointer to incomplete type
natpmp.c:215:39: error: dereferencing pointer to incomplete type
well i taked file arm-brcm-linux-uclibcgnueabi/sysroot/usr/include/netinet/in.h from asus`s toolchain
That's two....same error I had (and same solution)
The toolchain indeed comes directly from Broadcom, and is untouched AFAIK by any of their customers.
I thought ASUS is heavy weight enough to overrule some of Broadcom's design decision...
I thought ASUS is heavy weight enough to overrule some of Broadcom's design decision...
I'm currently running Asuswrt-Merlin 378.55 built with this updated Buildroot. And I'm in the process of re-compiling all my programs. No issues thus far. I don't use the Trend Micro.
Does ASUS or Broadcom publish the Buildroot 2012.02 configuration file ".config" used to build the ARM toolchain ?
After compiling and linking Transmission-daemon against AsusWRT, it seems to be running as multiple processes. Under Entware-ng, there is only one Transmission-daemon process. I'm just trying Transmission/uClibc for better performance on my RT-AC68U with Asuswrt-Merlin. So now I'm looking at the Buildroot 2012.02 ARM toolchain to explain why Transmission-daemon is multiple processes when compiled against AsusWRT.... move to Entware-ng. Its pthread library appears to be newer and much better.
Thank you. This file appears to be the .config to built the ARM toolchain for AsusWRT ?I'll upload it to https://www.mediafire.com/folder/ftf9kjixr1a5f/Misc in a few mins (I don't include it on Github because it's too big - would require LFS).
In the AsusWRT firmware there is a file /lib/libpthread.so.0. Do you happen to know if it is a good pthreads library?going back to pthreads and asuswrt - there was issues with certain revisions of the Cortex-A9 that pthreads enabled could cause corruption and data aborts in corner cases
Broadcom likely opted to do the safe approach to cover all bases and intended use cases in their SDK. Esp. with the older kernel and toolchain back in the day.
Thank you. This file appears to be the .config to built the ARM toolchain for AsusWRT ?
dl_save/defconfig-arm-uclibc
After compiling and linking Transmission-daemon against AsusWRT, it seems to be running as multiple processes.
I ran out of time trying to compile the toolchain myself. Now I'm rebuilding the firmware with your toolchain.If you're using my build of the toolchain, you shall get native pthread otherwise you will see processes as you did. they're known as linuxthread very very old tech.
awk: symbol lookup error: awk: undefined symbol: mpfr_z_sub
/tmp/GmRElg1V:1119: recipe for target 'modules.builtin' failed
make[4]: *** [modules.builtin] Error 127
make[4]: Leaving directory ' /home/rob/asuswrt-merlin/release/src-rt-6.x.4708/linux/linux-2.6.36'
Makefile:1006: recipe for target 'kernel' failed
make[3]: *** [kernel] Error 2
make[3]: Leaving directory ' /home/rob/asuswrt-merlin/release/src/router'
Makefile:202: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory ' /home/rob/asuswrt-merlin/release/src-rt-6.x.4708'
Makefile:2816: recipe for target 'bin' failed
make[1]: *** [bin] Error 2
make[1]: Leaving directory ' /home/rob/asuswrt-merlin/release/src-rt-6.x.4708'
Makefile:2886: recipe for target 'rt-ac68u' failed
make: *** [rt-ac68u] Error 2
cp -pdv /usr/lib/x86_64-linux-gnu/libmpfr.* /opt/brcm-arm/lib/
Yes, I had to update an environment variable RTVER in this file, ~/asuswrt-merlin/release/src-rt/platform.mak. And the Beceem_BCMS250_arm with prebuilt librt.so had to be updated too.... check if you're actually copying the correct uClib and pthread lib from the right toolchain's directory.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!