problem with linking

hi. at some point i decided to try programming in GTK+, however i've got a problem when trying to link my program.
i get an error:

/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../ undefined reference to `FT_Get_Next_Char' /usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../ undefined reference to `FT_Get_First_Char'
collect2: ld returned 1 exit status

i use the include libraries returned by the pkg-config program. when i enter "gtk+" as a package it links, however even the "Hello World" program from GTK documentation raises some undefined symbol errors, however if i use "gtk+-2.0" it compiles good, however there is the linking error.

what might be the problem?

i've got Red Hat Linux 7.2, i installed the pango libs from RPM.

thanks for any support
           Jakub "arakell" Łukomski

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]