Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2013 16:07:28 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Nilton Jose Rizzo <rizzo@i805.com.br>
Cc:        freebsd-current@freebsd.org
Subject:   Re: problems with libiconv into kernel
Message-ID:  <20130916230728.GF68682@funkthat.com>
In-Reply-To: <20130915161341.M51733@i805.com.br>
References:  <20130915161341.M51733@i805.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130916230728.GF68682>