[Gambas-user] Compile error .62, Slack9/gcc3.2/QT3.1

Benoit Minisini gambas at ...2...
Wed Jul 23 22:00:45 CEST 2003


Le Mercredi 23 Juillet 2003 01:49, Richard Tough a écrit :
> Hello, i'm attempting to compile Gambas .62 on Slackware-9, fails with
> the following "make" output:
>
> subr_string.o(.text+0x15af): In function `SUBR_sconv':
> /root/gambas-0.62/src/exec/subr_string.c:1215: undefined reference to
> `libiconv_open'
> subr_string.o(.text+0x160f):/root/gambas-0.62/src/exec/subr_string.c:1232:
> undefined reference to `libiconv'
> subr_string.o(.text+0x16b6):/root/gambas-0.62/src/exec/subr_string.c:1254:
> undefined reference to `libiconv_close'
> collect2: ld returned 1 exit status
> make[3]: *** [gbx] Error 1
>
> I'm using gcc 3.2.2, QT 3.1.2, with "./configure
> --disable-pgsql-driver". Gambas .61 also fails to compile with an
> identical error.
> Please help!
>
> Richard
>
>

It is something missing in the configure script. You must add by hand the 
libiconv library while linking the gbx program in the Makefile.am files.

I will try to solve this problem in the next version.

-- 
Benoit Minisini
mailto:gambas at ...1...






More information about the User mailing list