Hi,
On Sun, 12 Nov 2006 at 15:08 +0100, Ulrich Kahl wrote:
> Hello,
> 
> I'm trying to compile FreeWRT (1.0) under OpenBSD and it seems so,
> that I'm stumbled over a GNU/(Open)BSD tool difference in find. The
> BSD version uses the first argument as path (at least the '-').
> 
> Here a diff which fixed it for me (done with "svn diff"):

Thanks for the patch. The problem is uncritical, you still get a
working kernel for your embedded system. (I use it very often)

Nevertheless I will commit your patch.
 
> Index: target/linux/generic-2.4/patches/209-build_fixes.patch
> ===================================================================
> --- target/linux/generic-2.4/patches/209-build_fixes.patch      (Revision 
> 1125)
> +++ target/linux/generic-2.4/patches/209-build_fixes.patch      (Arbeitskopie)
> @@ -26,7 +26,7 @@
>   #
>   fastdep: dummy
>  -      $(TOPDIR)/scripts/mkdep $(CFLAGS) $(EXTRA_CFLAGS_nostdinc) -- 
> $(wildcard *.[chS]) > .depend
> -+      find -name '*.[chS]' | xargs $(TOPDIR)/scripts/mkdep $(CFLAGS) 
> $(EXTRA_CFLAGS_nostdinc) -- > .depend
> ++      find . -name '*.[chS]' | xargs $(TOPDIR)/scripts/mkdep $(CFLAGS) 
> $(EXTRA_CFLAGS_nostdinc) -- > .depend
>   ifdef ALL_SUB_DIRS
>         $(MAKE) $(patsubst %,_sfdep_%,$(ALL_SUB_DIRS)) 
> _FASTDEP_ALL_SUB_DIRS="$(ALL_SUB_DIRS)"
>   endif
> 
> The base system compiles fine with it and works on ASUS WL-500gP and WRT54G 
> v3.1.
> 
> 
> A show-stopper is (lib)mysql, which errors out during the 
> configuration process:
> 
> [...]
> checking "Linux threads"... "starting"
> checking "getconf GNU_LIBPTHREAD_VERSION"... getconf: GNU_LIBPTHREAD_VERSION: 
> unknown variable 
> "unknown"
> checking "LinuxThreads in header file comment"... "Not found"
> configure: error: This is a Linux system without a working getconf,
> and Linuxthreads was not found. Please install it (or a new glibc) and try 
> again.
> See the Installation chapter in the Reference Manual for more information.
> [...]
> 
> Using the getconf from emul/redhat didn't solve it (emul/fedora not 
> tested), so as a rough guess, I think that it picks up wrong header
> files.

I know this problem, but I do not have any solution, yet. FreeWRT is
usable on OpenBSD to create basic images, but a full build is still
not fully working. So disable mysql for now.  

bye
 Waldemar

-- 
don't open your wrt, free it
http://www.freewrt.org
_______________________________________________
freewrt-users mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-users

Reply via email to