Date: Wed, 12 Jul 2006 17:34:32 -0800 From: Beech Rintoul <beech@alaskaparadise.com> To: freebsd-ports@freebsd.org Subject: problem with header Message-ID: <200607121735.00653.beech@alaskaparadise.com>
next in thread | raw e-mail | index | archive | help
--nextPart1694240.kIfs5H7LSa Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm trying to add option (iconv() charset conversion patch) to proftpd. http://home.h01.itscom.net/para/software/misc/proftpd-iconv/index-e.html I added the following to the port makefile: =2Eif defined(WITH_ICONV) EXTRA_PATCHES=3D ${FILESDIR}/extra_patch-iconv MODULES:=3D${MODULES}:mod_codeconv:mod_df INCLUDEDIRS:=3D${INCLUDEDIRS}:${LOCALBASE}/include LIBDIRS:=3D${LIBDIRS}:${LOCALBASE}/lib USE_AUTOTOOLS=3D autoconf:259 =2Eendif The patch applies cleanly and creates two new modules which are added to th= e=20 build config, plus ads some src code. Everything compiles until it reaches= =20 the first module which bails with the following: mod_codeconv.c: In function `remote2local': mod_codeconv.c:74: warning: passing arg 2 of `libiconv' from incompatible=20 pointer type mod_codeconv.c: In function `local2remote': mod_codeconv.c:114: warning: passing arg 2 of `libiconv' from incompatible= =20 pointer type cc -DHAVE_CONFIG_H -DFREEBSD7_0 -DFREEBSD7 -I.. -I../include -O2 -fno-str= ict-aliasing -pipe -DHAVE_OPENSSL -Wall -c=20 mod_df.c mod_df.c:34:21: sys/vfs.h: No such file or directory mod_df.c: In function `df_post_cwd': mod_df.c:57: error: storage size of 'sfs' isn't known mod_df.c:59: warning: implicit declaration of function `statfs' mod_df.c:57: warning: unused variable `sfs' gmake[1]: *** [mod_df.o] Error 1 iconv.h is included in the code but doesn't seem to be getting pulled in. I= =20 also noticed that when configure looks for iconv.h, it comes back no. libiconv is already a dependency for this port and iconv.h is=20 in /local/include. The patch is here: http://www.alaskaparadise.com/freebsd/extra_patch-iconv I'm a bit over my head with this one, but I thought I'd give it a try. Could someone take a look and maybe give me some suggestions? Thanks, Beech =2D-=20 =2D------------------------------------------------------------------------= =2D------------- Beech Rintoul - Sys. Administrator - beech@alaskaparadise.com /"\ ASCII Ribbon Campaign | Alaska Paradise \ / - NO HTML/RTF in e-mail | 201 East 9Th Avenue Ste.310 X - NO Word docs in e-mail | Anchorage, AK 99501 / \ - Please visit Alaska Paradise - http://www.alaskaparadise.com =2D------------------------------------------------------------------------= =2D------------- --nextPart1694240.kIfs5H7LSa Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQBEtaNEp5D0B1NlT4URAm/JAJ4tZFY8vIeRlOU/9oU52ztd58IGywCdGl9K MCK7SVaEXTNZ2A8N9l0p7rk= =EfaU -----END PGP SIGNATURE----- --nextPart1694240.kIfs5H7LSa--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607121735.00653.beech>