Just read this thread today and want to mention, that if you run into
build problems you should issue a "make distclean" (not dirclean) to get
rid of all old stuff and extra packages (create patches of your manual
changes first, so you can later re-apply them).
Remember that trunk is ongoing development (equals "alpha state") and
that build problems and clean-ups are normal things there.

Tip: Create a simple batch script to keep your downloads when doing a
distclean like this...
(ftp://ftp.maddes.net/maddes.net/openwrt/distclean_build.sh)
mv dl dl_save
make distclean
mv dl_save dl

My two cents
Maddes

On 27.07.2010 11:40, Joseph Roback wrote:
> Seems people are filing tickets about it now...
> 
> https://dev.openwrt.org/ticket/7674
> 
> I had the same thing happen to me with uhttpd, (minus the lua stuff), where 
> the build system didn't build openssl first. It seems that the build goes 
> straight to 'install' targets, skipping the 'compile' targets.
> 
> Also, when this was happening to me, `make dirclean' hasn't enough to fix it. 
> I had to checkout from svn, which I think is very strange. The dirclean 
> target isn't cleaning everything its supposed to, or we need another target 
> that basically starts us at the beginning without having to go back to svn 
> checkout...
> 
> I think in the long run, having a correct build system is worth every penny. 
> Why deal with this time-after-time. Additionally, having a correct build will 
> make parallel builds better and with all these cores today, parallel builds 
> are essential to not wasting an entire afternoon waiting for code to compile.
> 
> 
> Joe
> 
> 
> 
> 
> 
> On Jul 26, 2010, at 9:38 PM, Jim Henderson wrote:
> 
>> On Tue, 27 Jul 2010 01:56:19 +0200, Benjamin Cama wrote:
>>
>>>> I'll give that a try.  It's a little confusing, though, having builds
>>>> that don't build, might it not be worth tracking down why and
>>>> addressing that root cause, if only to prevent a repeat of the
>>>> discussion?
>>>
>>> Yes, it's confusing. Maybe it should be in a FAQ. Finding the root cause
>>> may be interesting, but I think that to most people here, the benefits
>>> don't outweight the cost of tracking down these "bugs".
>>
>> Fair enough - that trick did work for me, so I've got 22390 built.
>>
>> Jim
>>
>> -- 
>> Jim Henderson
>> Please keep on-topic replies on the list so everyone benefits
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> [email protected]
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> _______________________________________________
> openwrt-devel mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to