[Bug 775] compile error with custom libselinux header files

bugzilla at busybox.net bugzilla at busybox.net
Fri Jun 4 10:07:16 UTC 2010


--- Comment #3 from Denys Vlasenko <vda.linux at googlemail.com>  ---
I moved errno.h to /tmp. Confirmed that build fails now.
Then added


to my .config, then ran "make V=1" and it works:

make -f scripts/Makefile.build obj=archival/libunarchive
  i486-linux-uclibc-gcc -Wp,-MD,archival/libunarchive/.data_align.o.d  
-std=gnu99 -Iinclude -Ilibbb  -include include/autoconf.h -D_GNU_SOURCE
-Wwrite-strings -Wundef -Wstrict-prototypes -Wunused -Wunused-parameter
-Wunused-function -Wunused-value -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Werror -Wold-style-definition
-fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer -ffunction-sections
-fdata-sections -fno-guess-branch-probability -funsigned-char -static-libgcc
-falign-functions=1 -falign-jumps=1 -falign-labels=1 -falign-loops=1 -Os -I/tmp
-march=i386 -mpreferred-stack-boundary=2    -D"KBUILD_STR(s)=#s"
-D"KBUILD_MODNAME=KBUILD_STR(data_align)" -c -o
archival/libunarchive/data_align.o archival/libunarchive/data_align.c

Note -I/tmp in the command above.

Thus, it works for me. What make V=1 shows for you - do you see
-I/home/burdell/target/usr/include in commands? What is the error message you
are getting?

Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the busybox-cvs mailing list