On 09/02/2014 04:51, John Hein wrote:
> Fair enough.
> There aren't many ports using this feature from 341775 (and thus pulling
> in converters/libiconv) on 10.x yet.  If the OP doesn't have one of
> those ports in place, the effects of the note in UPDATING should be in
> force.

In a similar vein to glib20, does anyone have any tips for print/cups-base or 
converters/recode while libiconv in installed for some of the others ports that 
require it?

echo Linking websearch...
Linking websearch...
cc  -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler 
-L/usr/local/lib -Wl,-rpath=/usr/local/lib -Wl,-R/usr/local/lib   -Wall 
-Wno-format-y2k -Wunused -fPIC -Os -g -fstack-protector 
-Wno-tautological-compare -o websearch websearch.o libcupscgi.a \
        ../cups/libcups.a -pthread -lcrypt -lm -lssp_nonshared  -lssl -lcrypto  
\
        -lz
../cups/libcups.a(transcode.o): In function `_cupsCharmapFlush':
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:64: undefined 
reference to `libiconv_close'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:70: undefined 
reference to `libiconv_close'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:64: undefined 
reference to `libiconv_close'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:70: undefined 
reference to `libiconv_close'
../cups/libcups.a(transcode.o): In function `cupsCharsetToUTF8':
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:167: undefined 
reference to `libiconv_open'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:168: undefined 
reference to `libiconv_open'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:179: undefined 
reference to `libiconv'
../cups/libcups.a(transcode.o): In function `_cupsCharmapFlush':
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:64: undefined 
reference to `libiconv_close'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:70: undefined 
reference to `libiconv_close'
../cups/libcups.a(transcode.o): In function `cupsUTF8ToCharset':
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:292: undefined 
reference to `libiconv_open'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:293: undefined 
reference to `libiconv_open'
/usr/ports/print/cups-base/work/cups-1.5.4/cups/transcode.c:304: undefined 
reference to `libiconv'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[3]: *** [websearch] Error 1
gmake[3]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.5.4/cgi-bin'
gmake[2]: *** [libs] Error 1
gmake[2]: Leaving directory `/usr/ports/print/cups-base/work/cups-1.5.4'
*** Error code 2

or converters/recode?

--- libiconv.lo ---
/bin/sh /usr/local/bin/libtool --mode=compile cc -DLIBDIR=\"/usr/local/lib\" 
-DHAVE_CONFIG_H -I.. -I. -I../lib -I/usr/local/include  -I/usr/local/include 
-DLIBICONV_PLUG  -O2 -pipe -fPIC -DLIBICONV_PLUG -fno-strict-aliasing -c 
libiconv.c
libtool: compile:  cc -DLIBDIR=\"/usr/local/lib\" -DHAVE_CONFIG_H -I.. -I. 
-I../lib -I/usr/local/include -I/usr/local/include -DLIBICONV_PLUG -O2 -pipe 
-fPIC -DLIBICONV_PLUG -fno-strict-aliasing -c libiconv.c  -fPIC -DPIC -o 
.libs/libiconv.o
libiconv.c:50:3: warning: implicit declaration of function 'iconvctl' is 
invalid in C99 [-Wimplicit-function-declaration]
  iconvctl (conversion, ICONV_SET_TRANSLITERATE, &transliterate);
  ^
libiconv.c:50:25: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
  iconvctl (conversion, ICONV_SET_TRANSLITERATE, &transliterate);
                        ^
libiconv.c:51:33: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
  iconvctl (conversion_to_utf8, ICONV_SET_TRANSLITERATE, &transliterate);
                                ^
libiconv.c:102:8: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
                            ICONV_SET_TRANSLITERATE, &transliterate);
                            ^
libiconv.c:104:8: error: use of undeclared identifier 'ICONV_SET_TRANSLITERATE'
                            ICONV_SET_TRANSLITERATE, &transliterate);
                            ^
1 warning and 4 errors generated.
*** [libiconv.lo] Error code 1

make[3]: stopped in /usr/ports/converters/recode/work/recode-3.6/src
1 error

make[3]: stopped in /usr/ports/converters/recode/work/recode-3.6/src
*** [all-recursive] Error code 1

make[2]: stopped in /usr/ports/converters/recode/work/recode-3.6
1 error


Cheers,
-- 
Mark Knight
Mobile: +44 7753 250584.  http://www.knigma.org/
Email: ma...@knigma.org.  Skype: knigma
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to