>> restored the checked status of "Advanced configuration options - Target Options" in menuconfig and then recompiled with no error, but still the same problem
Apparently, gargoyle needs netdiscover.
Why not keep it and enable libnet in the config file?
Google for "openwrt libnet" and you'll probably find the latest version. Additionally, look at a config file from the trunk branch and you'll get an idea where to put the statement ...libnet=y in your config file.
You'll also need libpcap and ibpthread, next to libnet1, says the netdiscover Makefile. Add these to thew config file too if they are not there.
Another thought, you could run the command "make defconfig".
This is supposed to check for and add missing dependencies in the config file.
Afterwards, check by hand, I noticed it "adds" (a lot of?) packages with "=m" instead of "is not set". This can also cause compilation problems.
I've deleted the directory of "~/gargoyle" and build from scratch, but still got the *weburl*.ko-error even if I've unchecked the "Advanced configuration options - Target Options" in menuconfig.
Also I found the following log: ...
Applying /home/pwcpp/gargoyle/patches-generic//99-gcom-getstrength.patch using plaintext:
patching file package/network/utils/comgt/files/3g.sh Aborting. '/home/pwcpp/gargoyle/targets/custom/patches/' is not a directory.
new_module_dirs=weburl webmon timerange bandwidth
found WEBURL module, patching...
found WEBMON module, patching...
found TIMERANGE module, patching...
found BANDWIDTH module, patching...
I don't know whether it is the reason of the *weburl*.ko-error and how to fix it.
The error that you have highlighted in red, I get that one too.
Doesn't cause any troubles, I think.
Another thought I had: have you set Gargoyle to enabled during menuconfig? Which Gargoyle addons have you selected?
I've read somewhere on the forum that the *weburl*.ko error went away when you have openvpn as a package selected together with the Gargoyle openvpn plugin.
In menuconfig "Administration - Gargoyle Web Interface" only gargoyle, gargoyle-i18n and plugin-gargoyle-i18n-English-EN are enabled.
I've unchecked both package of openvpn (and pptp) and Gargoyle openvpn plugin in menuconfig, and also have changed all packages with "=m" to "is not set". But still the same problem of *weburl*.ko-error.
Occasionally I found "Download failed -- http://mirror2.openwrt.org/sources/linux-.tar.xz" when building, but it didn't stop building like the other "download failed" event had did. Is it related to *weburl*.ko-error? I've googled but it seems no linux-.tar.xz exist.
Download failed.
No more mirrors to try - giving up.
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/pwcpp/gargoyle/custom-src/nf-patch-build'
mv: cannot start 'linux' : No such file or directory
cp: cannot start 'linux.orig' : No such file or directory
make[1]: Entering directory '/home/pwcpp/gargoyle/custom-src/nf-patch-build'
if [ ! -e "../dl/iptables-1.4.21.tar.bz2" ] ; then ../scripts/download.pl ../dl iptables-1.4.21.tar.bz2 ...
I meant: openvpn must be set to Y and gargoyle openvpn plugin must also set to Y.
But I'm not sure if that will fix the *webko*.url error.
Sorry, I'm running out of suggestions now.
I have tried to build for my WDR4900V1, mpc85xx architecture.
I have made some changes to the file gen-js.pl, build.sh and the directory structure. I added a profile directory "mpc85xx" in the targets-directory, with similar structure as the other profiles, but with only 1 target, the WDR4900V1 .That's how I ended up with a successful compile.
Also, I noticed that in build.sh the openwrt packages only get downloaded and built when you issue the command "make custom". So I modified build.sh ("custom" to "mpc85xx" in one line) to include it when I would issue the command "make mpc85xx".