[guardian-dev] Problems compiling gnupg-for-android and Lil' Debi

Hans-Christoph Steiner hans at guardianproject.info
Mon Aug 27 11:43:07 EDT 2012


Strange, those headers it can't find are all part of the NDK.  Perhaps
your NDK install is messed up?  Also, I've only run these builds on
Debian-derivatives, it might not work on other distros or OSs.

.hc


On 08/23/2012 02:51 PM, Josh Branning wrote:
> On 23/08/12 15:49, Hans-Christoph Steiner wrote:
>>
>> For Lil' Debi, my guess is that you need to set NDK_BASE in the make
>> command since your NDK is not installed in /usr/local/android-ndk.
>>
>>   make NDK_BASE=/path/to/your/android-ndk -C external assets
>>
>>
>> For gnupg, check the "setup" section of the README.  You're missing the
>> 'transfig' package, you might be missing others.  Here's how I found that:
>>
>>> /bin/bash: fig2dev: command not found
>>
>> .hc
> 
> Thanks for the reply. I _think_ I've managed to compile gnupg, but I am
> still having issues with Lil' Debi:
> 
> ____________________________________________________________________________________________
> 
> osh at josh-desktop:~/lildebi/lildebi$ make
> NDK_BASE=/home/josh/android-ndk-linux -C external assets
> make: Entering directory `/home/josh/lildebi/lildebi/external'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc
> --sysroot=/home/josh/android-ndk-linux/platforms/android-9/arch-arm
> -DANDROID
> -I/home/josh/lildebi/lildebi/external/data/data/info.guardianproject.lildebi/app_opt/include
> -fdata-sections -ffunction-sections -Os
> -L/home/josh/lildebi/lildebi/external/data/data/info.guardianproject.lildebi/app_opt/lib
> -Wl,--rpath,/home/josh/lildebi/lildebi/external/data/data/info.guardianproject.lildebi/app_opt/lib
> -Wl,--gc-sections
> /home/josh/lildebi/lildebi/external/../external/pkgdetails/pkgdetails.c
> -o /home/josh/lildebi/lildebi/external/../external/pkgdetails/pkgdetails
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld:
> Warning:
> /home/josh/android-ndk-linux/platforms/android-9/arch-arm/usr/lib/crtend_android.o:
> Unknown EABI object attribute 44
> cp /home/josh/lildebi/lildebi/external/../external/busybox_config
> /home/josh/lildebi/lildebi/external/../external/busybox/.config
> cd /home/josh/lildebi/lildebi/external/../external/busybox/ && \
>     patch -N -p1 --reject-file=- < ../003-mount-umount-fsck-df.patch
> patching file libbb/Kbuild.src
> patching file libbb/mntent_r.c
> make -C /home/josh/lildebi/lildebi/external/../external/busybox/
> make[1]: Entering directory `/home/josh/lildebi/lildebi/external/busybox'
>   GEN     include/applets.h
>   GEN     include/usage.h
>   GEN     libbb/Kbuild
>   GEN     libbb/Config.in
>   GEN     init/Kbuild
>   GEN     init/Config.in
>   GEN     sysklogd/Kbuild
>   GEN     sysklogd/Config.in
>   GEN     printutils/Kbuild
>   GEN     printutils/Config.in
>   GEN     debianutils/Kbuild
>   GEN     debianutils/Config.in
>   GEN     selinux/Kbuild
>   GEN     selinux/Config.in
>   GEN     mailutils/Kbuild
>   GEN     mailutils/Config.in
>   GEN     procps/Kbuild
>   GEN     procps/Config.in
>   GEN     editors/Kbuild
>   GEN     editors/Config.in
>   GEN     findutils/Kbuild
>   GEN     findutils/Config.in
>   GEN     networking/Kbuild
>   GEN     networking/Config.in
>   GEN     networking/udhcp/Kbuild
>   GEN     networking/udhcp/Config.in
>   GEN     networking/libiproute/Kbuild
>   GEN     archival/Kbuild
>   GEN     archival/Config.in
>   GEN     archival/libarchive/Kbuild
>   GEN     runit/Kbuild
>   GEN     runit/Config.in
>   GEN     util-linux/Kbuild
>   GEN     util-linux/Config.in
>   GEN     util-linux/volume_id/Kbuild
>   GEN     coreutils/Kbuild
>   GEN     coreutils/Config.in
>   GEN     coreutils/libcoreutils/Kbuild
>   GEN     loginutils/Kbuild
>   GEN     loginutils/Config.in
>   GEN     console-tools/Kbuild
>   GEN     console-tools/Config.in
>   GEN     modutils/Kbuild
>   GEN     modutils/Config.in
>   GEN     applets/Kbuild
>   GEN     miscutils/Kbuild
>   GEN     miscutils/Config.in
>   GEN     e2fsprogs/Kbuild
>   GEN     e2fsprogs/Config.in
>   GEN     e2fsprogs/old_e2fsprogs/Kbuild
>   GEN     e2fsprogs/old_e2fsprogs/Config.in
>   GEN     e2fsprogs/old_e2fsprogs/uuid/Kbuild
>   GEN     e2fsprogs/old_e2fsprogs/ext2fs/Kbuild
>   GEN     e2fsprogs/old_e2fsprogs/blkid/Kbuild
>   GEN     e2fsprogs/old_e2fsprogs/e2p/Kbuild
>   GEN     libpwdgrp/Kbuild
>   GEN     shell/Kbuild
>   GEN     shell/Config.in
>   GEN     scripts/Kbuild
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/basic/split-include
> scripts/basic/split-include.c: In function ‘main’:
> scripts/basic/split-include.c:134:11: warning: ignoring return value of
> ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
>   HOSTCC  scripts/basic/docproc
>   HOSTCC  scripts/kconfig/conf.o
> scripts/kconfig/conf.c: In function ‘conf_choice’:
> scripts/kconfig/conf.c:354:9: warning: ignoring return value of ‘fgets’,
> declared with attribute warn_unused_result [-Wunused-result]
> scripts/kconfig/conf.c: In function ‘conf_askvalue’:
> scripts/kconfig/conf.c:106:8: warning: ignoring return value of ‘fgets’,
> declared with attribute warn_unused_result [-Wunused-result]
>   HOSTCC  scripts/kconfig/kxgettext.o
>   HOSTCC  scripts/kconfig/mconf.o
> scripts/kconfig/mconf.c: In function ‘show_textbox’:
> scripts/kconfig/mconf.c:839:7: warning: ignoring return value of
> ‘write’, declared with attribute warn_unused_result [-Wunused-result]
> scripts/kconfig/mconf.c: In function ‘exec_conf’:
> scripts/kconfig/mconf.c:473:6: warning: ignoring return value of ‘pipe’,
> declared with attribute warn_unused_result [-Wunused-result]
>   SHIPPED scripts/kconfig/zconf.tab.c
>   SHIPPED scripts/kconfig/lex.zconf.c
>   SHIPPED scripts/kconfig/zconf.hash.c
>   HOSTCC  scripts/kconfig/zconf.tab.o
>   HOSTLD  scripts/kconfig/conf
> scripts/kconfig/conf -s Config.in
> #
> # using defaults found in .config
> #
>   SPLIT   include/autoconf.h -> include/config/*
>   GEN     include/bbconfigopts.h
>   HOSTCC  applets/usage
> applets/usage.c: In function ‘main’:
> applets/usage.c:52:8: warning: ignoring return value of ‘write’,
> declared with attribute warn_unused_result [-Wunused-result]
>   GEN     include/usage_compressed.h
>   HOSTCC  applets/applet_tables
> applets/applet_tables.c: In function ‘main’:
> applets/applet_tables.c:144:9: warning: ignoring return value of
> ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
>   GEN     include/applet_tables.h
>   CC      applets/applets.o
> In file included from
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/syslimits.h:7,
>                  from
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:11,
>                  from include/platform.h:138,
>                  from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/limits.h:122:61:
> error: no include path in which to search for limits.h
> In file included from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/platform.h:149:23: error: byteswap.h: No such file or directory
> include/platform.h:150:21: error: endian.h: No such file or directory
> include/platform.h:175:3: error: #error "Can't determine endianness"
> include/platform.h:183:5: warning: "BB_BIG_ENDIAN" is not defined
> include/platform.h:206:20: error: stdint.h: No such file or directory
> In file included from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/platform.h:208: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'bb__aliased_uint16_t'
> include/platform.h:209: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'bb__aliased_uint32_t'
> include/platform.h:283:20: error: unistd.h: No such file or directory
> In file included from include/platform.h:498,
>                  from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:50:23:
> error: sys/cdefs.h: No such file or directory
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:51:24:
> error: sys/_types.h: No such file or directory
> In file included from include/platform.h:498,
>                  from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:163:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'extern'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:232:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> '__BEGIN_DECLS'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:382:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> '__BEGIN_DECLS'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/stdio.h:393:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'static'
> In file included from include/platform.h:499,
>                  from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:46:31:
> error: linux/posix_types.h: No such file or directory
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:47:23:
> error: asm/types.h: No such file or directory
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:48:25:
> error: linux/types.h: No such file or directory
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:49:28:
> error: machine/kernel.h: No such file or directory
> In file included from include/platform.h:499,
>                  from include/libbb.h:13,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:51:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before
> '__kernel_dev_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:61:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blkcnt_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:62:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'blksize_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:63:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clock_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:64:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'clockid_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:65:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'dev_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:66:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fsblkcnt_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:67:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fsfilcnt_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:68:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gid_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:69:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'id_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:70:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ino_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:71:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'key_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:72:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mode_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:73:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nlink_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:78:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'loff_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:79:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'off64_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:81:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'pid_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:112:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'suseconds_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:113:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'time_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:114:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uid_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:117:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'daddr_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:118:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'timer_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:119:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mqd_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:121:
> error: expected '=', ',', ';', 'asm' or '__attribute__' before 'caddr_t'
> /home/josh/android-ndk-linux/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.4.3/include-fixed/sys/types.h:126:27:
> error: sys/sysmacros.h: No such file or directory
> In file included from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/libbb.h:15:19: error: ctype.h: No such file or directory
> include/libbb.h:16:20: error: dirent.h: No such file or directory
> include/libbb.h:17:19: error: errno.h: No such file or directory
> include/libbb.h:18:19: error: fcntl.h: No such file or directory
> include/libbb.h:19:22: error: inttypes.h: No such file or directory
> include/libbb.h:20:19: error: netdb.h: No such file or directory
> include/libbb.h:21:20: error: setjmp.h: No such file or directory
> include/libbb.h:22:20: error: signal.h: No such file or directory
> include/libbb.h:31:20: error: stdlib.h: No such file or directory
> include/libbb.h:34:20: error: string.h: No such file or directory
> include/libbb.h:37:43: error: libgen.h: No such file or directory
> include/libbb.h:40:22: error: sys/poll.h: No such file or directory
> include/libbb.h:41:23: error: sys/ioctl.h: No such file or directory
> include/libbb.h:42:22: error: sys/mman.h: No such file or directory
> include/libbb.h:43:24: error: sys/socket.h: No such file or directory
> include/libbb.h:44:22: error: sys/stat.h: No such file or directory
> include/libbb.h:45:22: error: sys/time.h: No such file or directory
> include/libbb.h:50:22: error: sys/wait.h: No such file or directory
> include/libbb.h:51:21: error: termios.h: No such file or directory
> include/libbb.h:52:18: error: time.h: No such file or directory
> include/libbb.h:53:23: error: sys/param.h: No such file or directory
> include/libbb.h:54:17: error: pwd.h: No such file or directory
> include/libbb.h:55:17: error: grp.h: No such file or directory
> include/libbb.h:69:21: error: mntent.h: No such file or directory
> include/libbb.h:72:25: error: sys/statfs.h: No such file or directory
> include/libbb.h:116:24: error: arpa/inet.h: No such file or directory
> In file included from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/libbb.h:303: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'bb_bswap_64'
> include/libbb.h:320: error: expected ')' before 'mode'
> include/libbb.h:354: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'recurse_flags_t'
> include/libbb.h:356: warning: 'struct stat' declared inside parameter list
> include/libbb.h:356: warning: its scope is only this definition or
> declaration, which is probably not what you want
> include/libbb.h:357: warning: 'struct stat' declared inside parameter list
> include/libbb.h:396: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> include/libbb.h:397: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> include/libbb.h:424: error: 'SIGHUP' undeclared here (not in a function)
> include/libbb.h:425: error: 'SIGINT' undeclared here (not in a function)
> include/libbb.h:426: error: 'SIGTERM' undeclared here (not in a function)
> include/libbb.h:427: error: 'SIGPIPE' undeclared here (not in a function)
> include/libbb.h:428: error: 'SIGQUIT' undeclared here (not in a function)
> include/libbb.h:429: error: 'SIGABRT' undeclared here (not in a function)
> include/libbb.h:430: error: 'SIGALRM' undeclared here (not in a function)
> include/libbb.h:431: error: 'SIGVTALRM' undeclared here (not in a function)
> include/libbb.h:432: error: 'SIGXCPU' undeclared here (not in a function)
> include/libbb.h:433: error: 'SIGXFSZ' undeclared here (not in a function)
> include/libbb.h:434: error: 'SIGUSR1' undeclared here (not in a function)
> include/libbb.h:435: error: 'SIGUSR2' undeclared here (not in a function)
> include/libbb.h:452: warning: 'struct sigaction' declared inside
> parameter list
> include/libbb.h:460: error: expected ')' before 'gid'
> include/libbb.h:461: error: expected ')' before 'uid'
> include/libbb.h:468: warning: 'struct stat' declared inside parameter list
> include/libbb.h:469: warning: 'struct stat' declared inside parameter list
> include/libbb.h:495: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'socktype_t'
> include/libbb.h:496: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'family_t'
> include/libbb.h:499: error: 'SOCK_STREAM' undeclared here (not in a
> function)
> include/libbb.h:500: error: 'SOCK_DGRAM' undeclared here (not in a function)
> include/libbb.h:501: error: 'SOCK_RDM' undeclared here (not in a function)
> include/libbb.h:502: error: 'SOCK_SEQPACKET' undeclared here (not in a
> function)
> include/libbb.h:503: error: 'SOCK_RAW' undeclared here (not in a function)
> include/libbb.h:506: error: 'AF_UNSPEC' undeclared here (not in a function)
> include/libbb.h:507: error: 'AF_INET' undeclared here (not in a function)
> include/libbb.h:508: error: 'AF_INET6' undeclared here (not in a function)
> include/libbb.h:509: error: 'AF_UNIX' undeclared here (not in a function)
> include/libbb.h:522: warning: 'struct tm' declared inside parameter list
> include/libbb.h:523: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'validate_tm_time'
> include/libbb.h:527: warning: 'struct sockaddr' declared inside
> parameter list
> include/libbb.h:529: warning: 'struct sockaddr' declared inside
> parameter list
> include/libbb.h:531: warning: 'struct sockaddr' declared inside
> parameter list
> include/libbb.h:546: error: field 'sa' has incomplete type
> include/libbb.h:547: error: field 'sin' has incomplete type
> include/libbb.h:557: error: field 'sa' has incomplete type
> include/libbb.h:558: error: field 'sin' has incomplete type
> include/libbb.h:640: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'inet_cksum'
> include/libbb.h:795: error: expected declaration specifiers or '...'
> before 'nfds_t'
> include/libbb.h:795: warning: 'struct pollfd' declared inside parameter list
> include/libbb.h:826: error: expected ')' before '*' token
> In file included from include/libbb.h:833,
>                  from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/xatonum.h:104: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'BUG_xatou32_unimplemented'
> include/xatonum.h:105: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'xatou32'
> include/xatonum.h:161: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'BUG_bb_strtou32_unimplemented'
> include/xatonum.h:163: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'bb_strtou32'
> include/xatonum.h:172: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'bb_strtoi32'
> In file included from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/libbb.h:846: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'xatou16'
> include/libbb.h:858: error: expected specifier-qualifier-list before 'uid_t'
> include/libbb.h:869: error: expected ')' before 'uid'
> include/libbb.h:870: error: expected ')' before 'gid'
> include/libbb.h:871: error: expected ')' before 'uid'
> include/libbb.h:872: error: expected ')' before 'gid'
> include/libbb.h:873: error: expected ')' before 'uid'
> include/libbb.h:874: error: expected ')' before 'gid'
> include/libbb.h:875: error: expected ')' before 'uid'
> include/libbb.h:876: error: expected ')' before 'gid'
> include/libbb.h:878: error: expected ')' before 'uid'
> include/libbb.h:879: error: expected ')' before 'gid'
> include/libbb.h:882: error: 'uid_t' undeclared here (not in a function)
> include/libbb.h:929: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'xfork'
> include/libbb.h:933: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'spawn'
> include/libbb.h:934: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'xspawn'
> include/libbb.h:936: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'safe_waitpid'
> include/libbb.h:937: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'wait_any_nohang'
> include/libbb.h:946: error: expected ')' before 'pid'
> include/libbb.h:1017: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'option_mask32'
> include/libbb.h:1018: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'getopt32'
> include/libbb.h:1062: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'xfunc_error_retval'
> include/libbb.h:1063: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'die_jmp'
> include/libbb.h:1159: warning: 'struct mntent' declared inside parameter
> list
> include/libbb.h:1163: error: expected ')' before 'speed'
> include/libbb.h:1164: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'tty_value_to_baud'
> include/libbb.h:1186: error: expected declaration specifiers or '...'
> before 'mode_t'
> In file included from include/busybox.h:8,
>                  from applets/applets.c:9:
> include/libbb.h:1334: warning: 'struct termios' declared inside
> parameter list
> include/libbb.h:1351: warning: 'struct stat' declared inside parameter list
> include/libbb.h:1352: warning: 'struct stat' declared inside parameter list
> include/libbb.h:1428: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'read_key'
> include/libbb.h:1517: error: expected ')' before 'pid'
> include/libbb.h:1521: error: expected specifier-qualifier-list before 'DIR'
> include/libbb.h:1599: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> include/libbb.h:1600: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> include/libbb.h:1626: error: expected specifier-qualifier-list before
> 'uint8_t'
> include/libbb.h:1634: error: expected specifier-qualifier-list before
> 'uint64_t'
> include/libbb.h:1651: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> include/libbb.h:1652: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before '*' token
> include/libbb.h:1653: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'crc32_block_endian1'
> include/libbb.h:1654: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'crc32_block_endian0'
> In file included from applets/applets.c:9:
> include/busybox.h:18: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'applet_nameofs'
> include/busybox.h:19: error: expected '=', ',', ';', 'asm' or
> '__attribute__' before 'applet_install_loc'
> make[2]: *** [applets/applets.o] Error 1
> make[1]: *** [applets_dir] Error 2
> make[1]: Leaving directory `/home/josh/lildebi/lildebi/external/busybox'
> make: ***
> [/home/josh/lildebi/lildebi/external/../external/busybox/busybox] Error 2
> make: Leaving directory `/home/josh/lildebi/lildebi/external'
> _______________________________________________
> Guardian-dev mailing list
> 
> Post: Guardian-dev at lists.mayfirst.org
> List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev
> 
> To Unsubscribe
>         Send email to:  Guardian-dev-unsubscribe at lists.mayfirst.org
>         Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/hans%40guardianproject.info
> 
> You are subscribed as: hans at guardianproject.info
> 


More information about the Guardian-dev mailing list