2008-07-16 07:37:24     busybox seems to be broken with os-x

Document created by Aaronwu Employee on Aug 7, 2013
Version 1Show Document
  • View in full screen mode

2008-07-16 07:37:24     busybox seems to be broken with os-x

Mark Noonchester (NEW ZEALAND)

Message: 58946   

 

*

* Runit Utilities

*

runsv (RUNSV) [N/y/?] n

runsvdir (RUNSVDIR) [N/y/?] n

sv (SV) [N/y/?] n

svlogd (SVLOGD) [N/y/?] n

chpst (CHPST) [N/y/?] n

setuidgid (SETUIDGID) [N/y/?] n

envuidgid (ENVUIDGID) [N/y/?] n

envdir (ENVDIR) [N/y/?] n

softlimit (SOFTLIMIT) [N/y/?] n

*

* Print Utilities

*

lpd (LPD) [N/y/?] n

lpr (LPR) [N/y/?] n

lpq (LPQ) [N/y/?] n

ln -sf busybox-1.11.1/examples/depmod.pl depmod.pl

make -C build-busybox-1.11.1

make -C /Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/busybox-1.11.1 O=/Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/build-busybox-1.11.1

  Using /Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/busybox-1.11.1 as source for busybox

  GEN     /Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/build-busybox-1.11.1/Makefile

  SPLIT   include/autoconf.h -> include/config/*

  GEN     include/bbconfigopts.h

  HOSTCC  applets/usage

  GEN     include/usage_compressed.h

  HOSTCC  applets/applet_tables

In file included from /Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/busybox-1.11.1/applets/../include/busybox.h:10,

                 from /Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/busybox-1.11.1/applets/applet_tables.c:16:

/Volumes/beluga-b/blackfin_sources/uclinux-dist/user/busybox/busybox-1.11.1/applets/../include/libbb.h:86: error: conflicting types for ‘setgroups’

/usr/include/unistd.h:561: error: previous declaration of ‘setgroups’ was here

make[7]: *** [applets/applet_tables] Error 1

make[6]: *** [applets] Error 2

make[5]: *** [_all] Error 2

make[4]: *** [all] Error 2

make[3]: *** [all] Error 2

make[2]: *** [busybox] Error 2

make[1]: *** [all] Error 2

make: *** [subdirs] Error 1

 

QuoteReplyEditDelete

 

 

2008-07-16 07:53:05     Re: busybox seems to be broken with os-x

Mike Frysinger (UNITED STATES)

Message: 58947   

 

i dont have access to an OS X machine at the moment, but you should be able to comment out the setgroups() prototype in that header without any problems

QuoteReplyEditDelete

 

 

2008-07-16 23:04:19     Re: busybox seems to be broken with os-x

Mark Noonchester (NEW ZEALAND)

Message: 58986   

 

Let me know when this is fixed trunk or where ever.

QuoteReplyEditDelete

 

 

2008-07-18 07:25:15     Re: busybox seems to be broken with os-x

Mike Frysinger (UNITED STATES)

Message: 59090   

 

should be fine now

QuoteReplyEditDelete

 

 

2008-07-18 17:11:45     Re: busybox seems to be broken with os-x

Mark Noonchester (NEW ZEALAND)

Message: 59097   

 

Doing another check out but it still seems to be having problems.  Any ideas?

 

 

 

make post-build

make[4]: Nothing to be done for `post-build'.

set -e; \

    cd /Volumes/beluga-b/blackfin_sources/uclinux-dist/staging; \

    find ./usr/lib/ -name 'lib*.so*' -print0 | xargs -0 -r chmod 755; \

    find ./usr/lib/ -name 'lib*.la' -o -name 'lib*.a' -print0 | xargs -0 -r chmod 644; \

    find ./usr/lib/ -name 'lib*.la' -print0 | xargs -0 -r sed -i -e "/^libdir=/s:=.*:='/Volumes/beluga-b/blackfin_sources/uclinux-dist/staging/usr/lib':" -e "/^dependency_libs=/s: /usr/lib/: /Volumes/beluga-b/blackfin_sources/uclinux-dist/staging/usr/lib/:g"; \

    find ./usr/lib/pkgconfig/ -name '*.pc' -print0 | xargs -0 -r sed -i "/^prefix=/s:=.*:='/Volumes/beluga-b/blackfin_sources/uclinux-dist/staging/usr':"; \

    find ./usr/bin/ -name '*-config' -print0 | xargs -0 -r sed -i "/^prefix=/s:=.*:='/Volumes/beluga-b/blackfin_sources/uclinux-dist/staging/usr':"; \

    test -d usr/bin || exit 0; \

    cd usr/bin; \

    for config in *-config ; do \

        ln -s "/Volumes/beluga-b/blackfin_sources/uclinux-dist/staging/usr/bin/$config" "/Volumes/beluga-b/blackfin_sources/uclinux-dist/tools/bfin-uclinux-$config.$$"; \

        mv "/Volumes/beluga-b/blackfin_sources/uclinux-dist/tools/bfin-uclinux-$config.$$" "/Volumes/beluga-b/blackfin_sources/uclinux-dist/tools/bfin-uclinux-$config"; \

    done

[ ! -d "openobex" ] || ( touch openobex/.sgbuilt_lib && make -C openobex ) || exit $?

make -C build-openobex-1.3.0 install DESTDIR=/Volumes/beluga-b/blackfin_sources/uclinux-dist/staging

cd ../openobex-1.3.0 && /Volumes/beluga-b/blackfin_sources/uclinux-dist/lib/openobex/openobex-1.3.0/missing automake-1.4 --gnu Makefile

WARNING: `automake-1.4' is needed, and you do not seem to have it handy on your

         system.  You might have modified some files without having the

         proper tools for further handling them.  Check the `README' file,

         it often tells you about the needed prerequirements for installing

         this package.  You may also peek at any GNU archive site, in case

         some other package would contain this missing `automake-1.4' program.

make[4]: *** [../openobex-1.3.0/Makefile.in] Error 1

make[3]: *** [all] Error 2

make[2]: *** [openobex] Error 2

make[1]: *** [all] Error 2

make: *** [subdirs] Error 1

 

QuoteReplyEditDelete

 

 

2008-07-18 18:51:13     Re: busybox seems to be broken with os-x

Mark Noonchester (NEW ZEALAND)

Message: 59100   

 

It works now.

 

I needed to do a make clean

 

then set every thing to the default setting.  Then disabled jffs2 in the kernal.

 

 

 

Thanks for all the help

 

Mark

Attachments

    Outcomes