2008-09-10, 02:59
I can't finish compiling on FC8.
pcre is installed and pcre header in /usr/include/pcre.h
pcre.i386 7.3-4.fc8 installed
pcre-devel.i386 7.3-4.fc8 installed
Also, I've tried to change it to use /home/chirill/XBMC/xbmc/lib/libpcre/pcre.h instead standard lib.
in /xbmc/utils/RegExp.h and xbmc/utils/RegExp.cpp
and same errors
Why I see /home/chirill/XBMC/xbmc/utils/RegExp.cpp:206: undefined reference to `pcre_get_stringnumber' ?
and I see a pcre_get_stringnumber in
/xbmc/lib/libpcre/pcre.h
/usr/include/pcre.h
Thanks for any help.
Code:
I am getting the following error
xbmc/utils/RegExp.o: In function `CRegExp::GetNamedSubPattern(char const*, CStdStr<char>&)':
/home/chirill/XBMC/xbmc/utils/RegExp.cpp:206: undefined reference to `pcre_get_stringnumber'
xbmc/utils/RegExp.o: In function `CRegExp::RegFind(char const*)':
/home/chirill/XBMC/xbmc/utils/RegExp.cpp:92: undefined reference to `pcre_exec'
xbmc/utils/RegExp.o: In function `CRegExp::RegComp(char const*)':
/home/chirill/XBMC/xbmc/utils/RegExp.cpp:63: undefined reference to `pcre_compile'
xbmc/utils/RegExp.o: In function `CRegExp::Cleanup()':
/home/chirill/XBMC/xbmc/utils/RegExp.h:73: undefined reference to `pcre_free'
collect2: ld returned 1 exit status
make: *** [xbmc.bin] Error 1
pcre is installed and pcre header in /usr/include/pcre.h
pcre.i386 7.3-4.fc8 installed
pcre-devel.i386 7.3-4.fc8 installed
Also, I've tried to change it to use /home/chirill/XBMC/xbmc/lib/libpcre/pcre.h instead standard lib.
in /xbmc/utils/RegExp.h and xbmc/utils/RegExp.cpp
Code:
#else
//#include <pcre.h>
#include "lib/libpcre/pcre.h"
#endif
and same errors
Why I see /home/chirill/XBMC/xbmc/utils/RegExp.cpp:206: undefined reference to `pcre_get_stringnumber' ?
and I see a pcre_get_stringnumber in
/xbmc/lib/libpcre/pcre.h
/usr/include/pcre.h
Code:
PCRE_EXP_DECL int pcre_get_stringnumber(const pcre *, const char *);
Thanks for any help.