[BRLTTY] convertW* not defined

Raoul rmgls at free.Fr
Thu Jan 17 12:02:13 EST 2008


[quoted lines by Dave Mielke on 2008/01/17 at 12:25 +0100]

>> NB. in this case, the linker for AtSpi/screen.c compile returns some errors
>> complaining about convertWcharToChar and convertChar...
>> not defined.
>> AtSpi/screen.c like Hurd/Screen.c includes "charset.h" where these functions are defined as extern,
>> of course they are in charset.c.
>
> Can you check config.h in the top-level build directory to see if HAVE_ICONV_H 
> is defined?

bingo Dave, (#undef iconv.h*/
but after #define iconv.h 1
i verified that libiconv was found, but still the same error:

gcc -Wall -Wl,-export-dynamic -o scrtest scrtest.o program.o options.o misc.o io_misc.o queue.o async.o keyboard.o sys_freebsd.o drivers.o scr.o scr_base.o scr_help.o scr_frozen.o scr_main.o scr_real.o ./..//ScreenDrivers/AtSpi/screen.o route.o -L/usr/local/lib   -lcspi -lspi -lbonobo-2 -latk-1.0 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -liconv   -lpthread -liconv -lsupc++ 
./..//ScreenDrivers/AtSpi/screen.o(.text+0x16db): In function `insertKey_AtSpiScreen':
./screen.c:651: undefined reference to `convertCharToWchar'
./..//ScreenDrivers/AtSpi/screen.o(.text+0x1cba): In function `read_AtSpiScreen':
./screen.c:624: undefined reference to `convertWcharToChar'
gmake[1]: *** [scrtest] Erreur 1
gmake: *** [all] Erreur 2

Best regards

Raoul
rmgls at free.Fr


More information about the BRLTTY mailing list