i18n error
mostafa atteyah
mostafai2001 at hotmail.com
Wed Apr 10 19:21:39 BST 2002
this is the main
#include<klocale.h>
#include<qstring.h>
int main()
{
QString f;
f = i18n ("FGDFG");
return 0;
}
and this is the error
gmake[3]: Entering directory `/root/xtdry/xtdry'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -O0 -g3 -Wall -c main.cpp
main.cpp:8:1: warning: no newline at end of file
/bin/sh ../libtool --mode=link g++ -O0 -g3 -Wall -o xtdry main.o
g++ -O0 -g3 -Wall -o xtdry main.o
main.o: In function `QShared::deref(void)':
/usr/include/qshared.h:50: undefined reference to `i18n(char const *)'
/usr/include/qshared.h:50: undefined reference to
`QString::operator=(QString const &)'
/usr/include/qshared.h:50: undefined reference to `QString::shared_null'
/usr/include/qshared.h:50: undefined reference to `QString::shared_null'
/usr/include/qshared.h:50: undefined reference to
`QString::makeSharedNull(void)'
/usr/include/qshared.h:50: undefined reference to `QString::shared_null'
/usr/include/qshared.h:50: undefined reference to `QString::shared_null'
/usr/include/qshared.h:50: undefined reference to
`QStringData::deleteSelf(void)'
collect2: ld returned 1 exit status
gmake[3]: *** [xtdry] Error 1
gmake[3]: Leaving directory `/root/xtdry/xtdry'
gmake[2]: Leaving directory `/root/xtdry/xtdry'
gmake[1]: Leaving directory `/root/xtdry'
gmake[2]: *** [all-recursive] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive-am] Error 2
*** failed ***
so what is the problem with that ref in qshared
any help is appriciated
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list