[Buildroot] uclibc/buildroot build error

joyful at sonic.net joyful at sonic.net
Tue Jan 5 04:38:49 UTC 2010


Does anybody see anything wrong with my .config file or the problem is
buildroot?

Thanks!

 Happy New Year, Peter.
> I deleted that buildroot to try different configuration already, so I
> don't have that exactly buildroot .config file. But when my new try, I got
> new error. The error message is below and the .config is attached:
>
>        then mv -f ".deps/losetup-lomount.Tpo" ".deps/losetup-lomount.Po";
> else rm -f ".deps/losetup-lomount.Tpo"; exit 1; fi
> /tmp/buildroot-2009.11/output/staging/usr/bin/i686-linux-uclibc-gcc  -g
> -O2   -o losetup  losetup-lomount.o
> sh swap.configure
>
> Your libc thinks that swapon has 1 arg only.
>
> if /tmp/buildroot-2009.11/output/staging/usr/bin/i686-linux-uclibc-gcc
> -DLOCALEDIR=\"\" -DHAVE_CONFIG_H   -include ../config.h -I../
> include -DHAVE_NFS -fsigned-char -fomit-frame-pointer   -g -O2 -MT
> swapon.o -MD -MP -MF ".deps/swapon.Tpo" -c -o swapon.o swapon.c;
> \
>        then mv -f ".deps/swapon.Tpo" ".deps/swapon.Po"; else rm -f
> ".deps/swapon.Tpo"; exit 1; fi
> swapon.c:86: error: expected declaration specifiers or '...' before
> 'swapon'
> swapon.c:86: error: expected declaration specifiers or '...' before 'path'
> swapon.c:86: error: expected declaration specifiers or '...' before
> 'flags'
> swapon.c:88: error: expected declaration specifiers or '...' before
> 'swapoff'
> swapon.c:88: error: expected declaration specifiers or '...' before 'path'
> swapon.c: In function 'swapon_all':
> swapon.c:328: error: 'R_OK' undeclared (first use in this function)
> swapon.c:328: error: (Each undeclared identifier is reported only once
> swapon.c:328: error: for each function it appears in.)
> make[3]: *** [swapon.o] Error 1
> make[3]: Leaving directory
> `/tmp/buildroot-2009.11/output/build/util-linux-2.13-pre7/mount'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/tmp/buildroot-2009.11/output/build/util-linux-2.13-pre7'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/tmp/buildroot-2009.11/output/build/util-linux-2.13-pre7'
> make: ***
> [/tmp/buildroot-2009.11/output/build/util-linux-2.13-pre7/misc-utils/chkdupexe]
> Error 2
>
> Very strange thing is that if I keep type "make", it will ignore the error
> and continue build next step, with another different error, then "make"
> will be able to keep moving forward.
>
>>>>>>> "joyful" == joyful  <joyful at sonic.net> writes:
>>
>> Hi,
>>
>>  joyful> I selected few more package and build root gave more errors:
>>
>>  >>>> rsync 3.0.6 Building
>>  joyful>
>>  joyful> /usr/bin/make -j1 -C /tmp/buildroot/output/build/rsync-3.0.6/
>>  joyful> make[1]: Entering directory
>>  joyful> `/tmp/buildroot/output/build/rsync-3.0.6' In file included from
>>  joyful> ./rsync.h:886, from ./rounding.c:20: ./lib/addrinfo.h:141:
>>  joyful> error: redefinition of 'struct sockaddr_storage' Failed to
>>  joyful> create rounding.h!  make[1]: *** [rounding.h] Error 1 make[1]:
>>  joyful> Leaving directory `/tmp/buildroot/output/build/rsync-3.0.6'
>>  joyful> make: ***
>>  joyful> [/tmp/buildroot/output/build/rsync-3.0.6/.stamp_built] Error 2
>>
>> Please post your .config. Rsync builds here on powerpc and ARM without
>> any problems.
>>
>>  joyful> I also ran into error when I try to include the latest
>>  joyful> bind-9.7.0rc1 to build both the named and bind-lib.  I found an
>>  joyful> old bind.mk that build both named and bind_lib, but that always
>>  joyful> fail, too.
>>
>> What error did you run into?
>>
>> --
>> Bye, Peter Korsgaard
>>
>>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot





More information about the buildroot mailing list