Hi,
Brendan Simon (eTRIX) wrote,
> I've read the patches page on the wiki, but still a little confused.
>
> I gather I need to drop this patch in the
> feeds/packages/libs/libmicroxml/patches/ directory -- yes ??
Yes.
> The patches directory does not exist so I created it.
Okay.
> What do I do now to apply the patch and have it rebuild.
>
> I tried "make feeds/packages/libs/libmicroxml/{clean,compile}" but that
> doesn't work.
Try
make package/libmicroxml/{clean,compile} V=s
or just make V=s
It will rebuild the package automatically if a new patch found IIRC.
P.S.: Can you try the Python Patch, too:
http://patchwork.openwrt.org/patch/3424/
good luck
Waldemar
> or just manually patch the configure.in file in the build directory ??
>
> Thanks,
> Brendan.
>
>
> On 3/03/13 4:31 AM, Waldemar Brodkorb wrote:
> > Hi Brendan,
> >
> > the configure script just uses uname to find the target operating system
> > and then creates MacOS X libraries.
> > Try the small attached patch.
> >
> > bye
> > Waldemar
> >
> >
> >
> >
> >
> > On Feb 27, 2013, at 12:30 PM, Brendan Simon (eTRIX) wrote:
> >
> >> I enabled libmicroxml and tried to build (on my OS X dev host) and got the
> >> errors below.
> >>
> >> Is it normal for openwrt build system to create or use .dylib files ?? I
> >> would have thought these were Mac OS X specific and the cross-compiler
> >> shouldn't need to use or create them. Yes/no/maybe ??
> >>
> >> Thanks for any insights.
> >> Brendan.
> >>
> >> make[3]: Entering directory
> >> `/Volumes/OpenWRT/trunk/feeds/packages/libs/libmicroxml'
> >> CFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
> >> -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable
> >> -msoft-float
> >> -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include
> >>
> >> -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/include
> >>
> >> -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
> >>
> >> -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include
> >> " CXXFLAGS="-Os -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves
> >> -mno-branch-likely -fhonour-copts -Wno-error=unused-but-set-variable
> >> -msoft-float
> >> -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/include
> >>
> >> -I/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/include
> >>
> >> -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include
> >>
> >> -I/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/include
> >> " L
DF
> L
> AGS="-L/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/usr/lib
> -L/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/lib
> -L/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/usr/lib
>
> -L/Volumes/OpenWRT/trunk/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/lib
> " make -j1 -C
> /Volumes/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libmicroxml-2012-06-11/.
> AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os
> -pipe -mips32r2 -mtune=mips32r2 -fno-caller-saves -mno-branch-likely
> -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float"
> LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm
> CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc"
> CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib
> STRIP=mips-openwrt-linux-uclibc-strip
> OBJCOPY=mips-openwrt-linux-uclibc-objcopy
> OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt
-l
> i
> nux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" ;
> >> Creating libmicroxml.1.dylib...
> >> mips-openwrt-linux-uclibc-gcc: error: /usr/lib/libmicroxml.dylib: No such
> >> file or directory
> >> mips-openwrt-linux-uclibc-gcc: error: 1.0.0: No such file or directory
> >> mips-openwrt-linux-uclibc-gcc: error: 1.0.0: No such file or directory
> >> mips-openwrt-linux-uclibc-gcc: error: unrecognized option
> >> '-current_version'
> >> mips-openwrt-linux-uclibc-gcc: error: unrecognized option
> >> '-compatibility_version'
> >> make[4]: *** [libmicroxml.1.dylib] Error 1
> >> make[3]: ***
> >> [/Volumes/OpenWRT/trunk/build_dir/target-mips_r2_uClibc-0.9.33.2/libmicroxml-2012-06-11/.built]
> >> Error 2
> >> make[3]: Leaving directory
> >> `/Volumes/OpenWRT/trunk/feeds/packages/libs/libmicroxml'
> >> make[2]: *** [package/feeds/packages/libmicroxml/compile] Error 2
> >> make[2]: Leaving directory `/Volumes/OpenWRT/trunk'
> >> make[1]: ***
> >> [/Volumes/OpenWRT/trunk/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile]
> >> Error 2
> >> make[1]: Leaving directory `/Volumes/OpenWRT/trunk'
> >> make: *** [world] Error 2
> >>
> >> _______________________________________________
> >> openwrt-users mailing list
> >> openwrt-users-ZwoEplunGu0+xA9t4nZiwti2O/[email protected]
> >> https://lists.openwrt.org/mailman/listinfo/openwrt-users
> >
> >
> >
> > _______________________________________________
> > openwrt-users mailing list
> > openwrt-users-ZwoEplunGu0+xA9t4nZiwti2O/[email protected]
> > https://lists.openwrt.org/mailman/listinfo/openwrt-users
> >
>
> _______________________________________________
> openwrt-users mailing list
> [email protected]
> https://lists.openwrt.org/mailman/listinfo/openwrt-users
>
_______________________________________________
openwrt-users mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-users