| Anonymous | Login | Signup for a new account | 11-10-2008 11:09 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0001145 | [BusyBox] Documentation | minor | always | 01-08-07 07:30 | 01-09-07 16:31 | ||||
| Reporter | Arthens | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | unable to reproduce | ||||||
| Status | closed | Product Version | |||||||
| Summary | 0001145: Can't compile busybox 1.3.1 with uClib | ||||||||
| Description |
I have to say that I don't know if is a busybox bug or a uClibc bug, for sure you can establish it better then me. I'm trying to compile busybox 1.3.1 using uClibc like lib. I download and installed the pre-compiled uClibc development system for i386 from http://www.uclibc.org/downloads/root_fs_i386.ext2.bz2 [^] I copyed the busybox folder to /home/default of the dev system, chroot here and typed [root@topolinux busybox]# make defconfig ...cut... [root@topolinux busybox]# make ...cut... CC miscutils/readahead.o miscutils/readahead.c: In function `readahead_main': miscutils/readahead.c:26: warning: implicit declaration of function `readahead' make[1]: *** [miscutils/readahead.o] Error 1 make: *** [miscutils] Error 2 [root@topolinux busybox]# then i tried [root@topolinux busybox]# make allnoconfig ...cut... [root@topolinux busybox]# make ...cut... CC libpwdgrp/pwd_grp.o libpwdgrp/pwd_grp.c:108: warning: "struct spwd" declared inside parameter list libpwdgrp/pwd_grp.c:108: warning: its scope is only this definition or declaration, which is probably not what you want libpwdgrp/pwd_grp.c:149: warning: "struct spwd" declared inside parameter list libpwdgrp/pwd_grp.c: In function `fgetspent': libpwdgrp/pwd_grp.c:153: error: storage size of 'resultbuf' isn't known libpwdgrp/pwd_grp.c:153: warning: unused variable `resultbuf' In file included from libpwdgrp/pwd_grp.c:216: libpwdgrp/pwd_grp_internal.c: In function `getspnam_R': libpwdgrp/pwd_grp_internal.c:41: error: dereferencing pointer to incomplete typelibpwdgrp/pwd_grp.c: In function `getspuid_r': libpwdgrp/pwd_grp.c:271: warning: implicit declaration of function `getspnam_r' libpwdgrp/pwd_grp.c: In function `getspuid': libpwdgrp/pwd_grp.c:283: error: storage size of 'resultbuf' isn't known libpwdgrp/pwd_grp.c:283: warning: unused variable `resultbuf' libpwdgrp/pwd_grp.c: In function `getspnam': libpwdgrp/pwd_grp.c:313: error: storage size of 'resultbuf' isn't known libpwdgrp/pwd_grp.c:313: warning: unused variable `resultbuf' libpwdgrp/pwd_grp.c: In function `getspent': libpwdgrp/pwd_grp.c:515: error: storage size of 'spwd' isn't known libpwdgrp/pwd_grp.c:515: warning: unused variable `spwd' libpwdgrp/pwd_grp.c: In function `sgetspent': libpwdgrp/pwd_grp.c:525: error: storage size of 'spwd' isn't known libpwdgrp/pwd_grp.c:525: warning: unused variable `spwd' libpwdgrp/pwd_grp.c: At top level: libpwdgrp/pwd_grp.c:647: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:647: error: initializer element is not constant libpwdgrp/pwd_grp.c:647: error: (near initialization for `_sp_off[0]') libpwdgrp/pwd_grp.c:648: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:648: error: initializer element is not constant libpwdgrp/pwd_grp.c:648: error: (near initialization for `_sp_off[1]') libpwdgrp/pwd_grp.c:649: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:649: error: initializer element is not constant libpwdgrp/pwd_grp.c:649: error: (near initialization for `_sp_off[2]') libpwdgrp/pwd_grp.c:650: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:650: error: initializer element is not constant libpwdgrp/pwd_grp.c:650: error: (near initialization for `_sp_off[3]') libpwdgrp/pwd_grp.c:651: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:651: error: initializer element is not constant libpwdgrp/pwd_grp.c:651: error: (near initialization for `_sp_off[4]') libpwdgrp/pwd_grp.c:652: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:652: error: initializer element is not constant libpwdgrp/pwd_grp.c:652: error: (near initialization for `_sp_off[5]') libpwdgrp/pwd_grp.c: In function `putspent': libpwdgrp/pwd_grp.c:664: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:665: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:665: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:680: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:680: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c: At top level: libpwdgrp/pwd_grp.c:850: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:850: error: initializer element is not constant libpwdgrp/pwd_grp.c:850: error: (near initialization for `sp_off[0]') libpwdgrp/pwd_grp.c:851: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:851: error: initializer element is not constant libpwdgrp/pwd_grp.c:851: error: (near initialization for `sp_off[1]') libpwdgrp/pwd_grp.c:852: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:852: error: initializer element is not constant libpwdgrp/pwd_grp.c:852: error: (near initialization for `sp_off[2]') libpwdgrp/pwd_grp.c:853: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:853: error: initializer element is not constant libpwdgrp/pwd_grp.c:853: error: (near initialization for `sp_off[3]') libpwdgrp/pwd_grp.c:854: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:854: error: initializer element is not constant libpwdgrp/pwd_grp.c:854: error: (near initialization for `sp_off[4]') libpwdgrp/pwd_grp.c:855: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:855: error: initializer element is not constant libpwdgrp/pwd_grp.c:855: error: (near initialization for `sp_off[5]') libpwdgrp/pwd_grp.c:856: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:856: error: initializer element is not constant libpwdgrp/pwd_grp.c:856: error: (near initialization for `sp_off[6]') libpwdgrp/pwd_grp.c:857: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:857: error: initializer element is not constant libpwdgrp/pwd_grp.c:857: error: (near initialization for `sp_off[7]') libpwdgrp/pwd_grp.c:858: error: dereferencing pointer to incomplete type libpwdgrp/pwd_grp.c:859: error: initializer element is not constant libpwdgrp/pwd_grp.c:859: error: (near initialization for `sp_off[8]') libpwdgrp/pwd_grp.c: In function `getspuid': libpwdgrp/pwd_grp.c:283: error: storage size of `resultbuf' isn't known libpwdgrp/pwd_grp.c: In function `getspnam': libpwdgrp/pwd_grp.c:313: error: storage size of `resultbuf' isn't known libpwdgrp/pwd_grp.c: In function `sgetspent': libpwdgrp/pwd_grp.c:525: error: storage size of `spwd' isn't known libpwdgrp/pwd_grp.c: In function `getspent': libpwdgrp/pwd_grp.c:515: error: storage size of `spwd' isn't known libpwdgrp/pwd_grp.c: In function `fgetspent': libpwdgrp/pwd_grp.c:153: error: storage size of `resultbuf' isn't known make[1]: *** [libpwdgrp/pwd_grp.o] Error 1 make: *** [libpwdgrp] Error 2 After that I tried to compile busybox 1.3 with the same dev system and both configuration (defconfig and allnoconfig) and I get the same errors. I tried busybox 1.2.2.1 and all works fine. It's a busybox 1.3.x bug or is busybox 1.3.x incompatible with the uClibc dev system? I can assure you that I'm using the standard comfiguration for both the dev system and busybox, I didn't change anything. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0001971) Arthens 01-08-07 07:34 |
busybox 1.3 with allnoconfig works, sorry for the false report. Resume: busybox 1.3.1 deconfig: not working busybox 1.3.1 allnoconfig: not working busybox 1.3 defconfig: not working busybox 1.3 allnoconfig: working busybox 1.2.2.1 defconfig: working busybox 1.2.2.1 allnoconfig: working Sorry again for the error. |
|
(0001979) vda 01-09-07 16:30 |
Apply http://busybox.net/downloads/fixes-1.3.1/ [^] and probably disable readahead applet, your uclibc don't like it (hmm, mine does...) |
| Copyright © 2000 - 2006 Mantis Group |