What's new

Cannot compile 384.13 for rt-ac86u...

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Sylphia

Regular Contributor
I need geoip function of iptables, so I have to compile the firmware myself. Clean clone from git, built for rt-ac86u.

Found 3 problems:
1. /src/router/openssl built failed, I have to 'make depend' to make it working.
2. /src/router/libevent-2.0.21 built failed, 'autoreconf -vfi' seems fixed it.
3. Unknown reference while building 'httpd': bcmdrivers/broadcom/net/wl/bcm94908/main/src/router/mssl/libmssl.so, SSLv23_client_method, SSL_library_init, SSLv23_server_method, SSL_load_error_strings

I've no idea how to fix the third one, help appreciated.
 
Make sure you build from the mainline branch.
 
Do a clean checkout and try again building from mainline - you probably have leftovers from your build attempts on the main branch.
 
Do a clean checkout and try again building from mainline - you probably have leftovers from your build attempts on the main branch.
Merlin is right it builds just fine from the mainline branch. --- Confirmed.
 
Thanks. I'll try rm all and get a new clone then build.
I've done `git reset --hard` & `git clean -f -d` , I think that was a clean repo... hmm

Confirmed, a clean clone built without any issue.
What's the difference between a clean clone and a repo after `git reset --hard` & `git clean -f -d` :eek:
 
Confirmed, a clean clone built without any issue.
What's the difference between a clean clone and a repo after `git reset --hard` & `git clean -f -d` :eek:
The problem is the difference in changes of the original .git you had and the ones made to the most recent version on github I suppose. No way to really know at this point since you started fresh. It is this reason I usually always start fresh when I am self building, also I only build if there is a fix that I absolutely have to have or want to test.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top