Re: problems with libiconv into kernel

From: John-Mark Gurney <jmg_at_funkthat.com>
Date: Mon, 16 Sep 2013 16:07:28 -0700
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?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."
Received on Mon Sep 16 2013 - 21:07:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:41 UTC