Em Mon, 16 Sep 2013 17:53:06 -0700, John-Mark Gurney escreveu > Nilton Jose Rizzo wrote this message on Mon, Sep 16, 2013 at 20:26 -0300: > > Em Mon, 16 Sep 2013 16:07:28 -0700, John-Mark Gurney escreveu > > > Nilton Jose Rizzo wrote this message on Sun, Sep 15, 2013 at 13:14 -0300: > > > > Last night, I has tried to put in my kernel config the libiconv with this > > > > knobs from LINT: > > > > > > > > options CD9660_ICONV > > > > options MSDOSFS_ICONV > > > > options UDF_ICONV > > > > options LIBICONV > > > > > > > > but this results int this error: > > > > > > > > cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls > > > > -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes > > > > -Wpointer-arith > > > > -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions > > > > -Wmissing-include-dirs -fdiagnostics-show-option > > > > -Wno-error-tautological-compare -Wno-error-empty-body > > > > -Wno-error-parentheses-equality -nostdinc -I. -I../../.. > > > > -I../../../contrib/altq -I../../../contrib/libfdt -D_KERNEL > > > > -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-omit-frame-pointer > > > > -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone > > > > -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding > > > > -fstack-protector -Werror ../../../libkern/iconv.c > > > > ../../../libkern/iconv.c:39:10: fatal error: 'iconv_converter_if.h' file not > > > > found > > > > #include "iconv_converter_if.h" > > > > ^ > > > > 1 error generated. > > > > *** Error code 1 > > > > > > > > Stop. > > > > make: stopped in /usr/src/sys/amd64/compile/VALFENDA > > > > > > > > What am I doing wrong? My svn version is 255531 > > > > > > How are you building your kernel? are you using config and make or > > > are you using buildkernel? If you are using config and make, did you > > > run: make cleandepend && make depend first before make like said? > > > > First, i tried with buildkernel, but i get the error, I tried config and > > make, again, I got error, so I tried make clean && make but I got error. > > I'll try with make cleandepend and then report. > > tinderbox should report these errors if they were a general issue.. > I just tried LINT, and it was able to build iconv.o fine, and as part > of the first step, it built iconv_converter_if.h via: > awk -f ../../../tools/makeobjops.awk > ../../../libkern/iconv_converter_if.m -h > > Make sure that you don't have any local patches, and that your > src/sys/conf directory is up to date, as the file sys/conf/kmod.mk sets > up the rules to build the .h file...
I update the src to revision 255658 and the error change to make clean && make cleandepend && make depend && make and results: ===> zlib (depend) @ -> /usr/src/sys rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -DHAVE_KERNEL_OPTION_HEADERS -I. -I@ -I@/contrib/altq -I/usr/src/sys/amd64/compile/VALFENDA -std=iso9899:1999 /usr/src/sys/modules/zlib/../../net/zlib.c linking kernel udf_iconv.o: In function `udf_iconv_mod_handler': ../../../fs/udf/udf_iconv.c:(.text+0x24): undefined reference to `udf_iconv' ../../../fs/udf/udf_iconv.c:(.text+0x3b): undefined reference to `udf_iconv' *** Error code 1 Stop. make: stopped in /usr/src/sys/amd64/compile/VALFENDA The make buildworld was fine! but the kernel is not. TA, Rizzo > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"