Skip to content

Instantly share code, notes, and snippets.

@mariuz
Created March 31, 2016 18:45
Show Gist options
  • Save mariuz/68588eabb4f40c8aa008a601eade91e2 to your computer and use it in GitHub Desktop.
Save mariuz/68588eabb4f40c8aa008a601eade91e2 to your computer and use it in GitHub Desktop.
Icu Error with Firebird 3.0 patch
make[6]: Making `all' in `makeconv'
make[7]: Entering directory '/home/mariuz/work/libo/workdir/UnpackedTarball/firebird/extern/icu/source/tools/makeconv'
generating dependency information for gencnvex.c
generating dependency information for genmbcs.c
generating dependency information for ucnvstat.c
generating dependency information for makeconv.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o makeconv.o makeconv.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o ucnvstat.o ucnvstat.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o genmbcs.o genmbcs.c
gcc -I/home/mariuz/work/libo/workdir/UnpackedTarball/libatomic_ops/src -D_REENTRANT -I../../common -I../../common -I./../toolutil -DHAVE_CONFIG_H -pthread -c -o gencnvex.o gencnvex.c
g++ -I/home/mariuz/work/libo/workdir/UnpackedTarball/boost -L/home/mariuz/work/libo/workdir/UnpackedTarball/boost/source/lib -I/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source -I/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/i18n -I/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/common -L/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib -pthread -O -o ../../bin/makeconv makeconv.o ucnvstat.o genmbcs.o gencnvex.o -L../../lib -licutu -L../../lib -licuuc -L../../lib -L../../stubdata -licudata -lpthread -lm
makeconv.o: In function `writeConverterData':
makeconv.c:(.text+0x193): undefined reference to `u_errorName_3_0'
makeconv.o: In function `main':
makeconv.c:(.text+0x34d): undefined reference to `u_getVersion_3_0'
makeconv.c:(.text+0x35e): undefined reference to `u_getDataDirectory_3_0'
makeconv.c:(.text+0x895): undefined reference to `u_errorName_3_0'
makeconv.c:(.text+0x900): undefined reference to `T_CString_stricmp_3_0'
makeconv.c:(.text+0x974): undefined reference to `uprv_isInvariantString_3_0'
makeconv.c:(.text+0xab5): undefined reference to `T_FileStream_open_3_0'
makeconv.c:(.text+0xb1c): undefined reference to `T_FileStream_write_3_0'
makeconv.c:(.text+0xb2b): undefined reference to `T_FileStream_close_3_0'
makeconv.c:(.text+0xb42): undefined reference to `u_errorName_3_0'
makeconv.o: In function `readHeader':
makeconv.c:(.text+0xf8b): undefined reference to `T_FileStream_readLine_3_0'
makeconv.o: In function `readFile':
makeconv.c:(.text+0x12b4): undefined reference to `T_FileStream_open_3_0'
makeconv.c:(.text+0x14f1): undefined reference to `T_FileStream_readLine_3_0'
makeconv.c:(.text+0x1509): undefined reference to `T_FileStream_close_3_0'
genmbcs.o: In function `MBCSOpen':
genmbcs.c:(.text+0x175): undefined reference to `uprv_malloc_3_0'
genmbcs.o: In function `MBCSClose':
genmbcs.c:(.text+0x1c7): undefined reference to `uprv_free_3_0'
genmbcs.c:(.text+0x1da): undefined reference to `uprv_free_3_0'
genmbcs.c:(.text+0x1e6): undefined reference to `uprv_free_3_0'
genmbcs.o: In function `MBCSStartMappings':
genmbcs.c:(.text+0x248): undefined reference to `uprv_malloc_3_0'
genmbcs.c:(.text+0x2fd): undefined reference to `uprv_malloc_3_0'
gencnvex.o: In function `CnvExtOpen':
gencnvex.c:(.text+0x12): undefined reference to `uprv_malloc_3_0'
gencnvex.o: In function `getToUnicodeValue':
gencnvex.c:(.text+0x9c6): undefined reference to `u_strFromUTF32_3_0'
gencnvex.c:(.text+0xa57): undefined reference to `u_strFromUTF32_3_0'
collect2: error: ld returned 1 exit status
Makefile:85: recipe for target '../../bin/makeconv' failed
make[7]: *** [../../bin/makeconv] Error 1
make[7]: Leaving directory '/home/mariuz/work/libo/workdir/UnpackedTarball/firebird/extern/icu/source/tools/makeconv'
Makefile:39: recipe for target 'all-recursive' failed
make[6]: *** [all-recursive] Error 2
make[6]: Leaving directory '/home/mariuz/work/libo/workdir/UnpackedTarball/firebird/extern/icu/source/tools'
Makefile:98: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 2
make[5]: Leaving directory '/home/mariuz/work/libo/workdir/UnpackedTarball/firebird/extern/icu/source'
../gen/Makefile.extern.icu:39: recipe for target 'libicu' failed
make[4]: *** [libicu] Error 2
make[4]: Leaving directory '/home/mariuz/work/libo/workdir/UnpackedTarball/firebird/gen'
@mariuz
Copy link
Author

mariuz commented Mar 31, 2016

g++ -I/home/mariuz/work/libo/workdir/UnpackedTarball/boost -L/home/mariuz/work/libo/workdir/UnpackedTarball/boost/source/lib -I/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source -I/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/i18n -I/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/common -L/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib -pthread -O -o ../../bin/makeconv makeconv.o ucnvstat.o genmbcs.o gencnvex.o -L../../lib -licutu -L../../lib -licuuc -L../../lib -L../../stubdata -licudata -lpthread -lm
/usr/bin/ld.bfd.real: warning: libicui18n.so.56, needed by /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so, not found (try using -rpath or -rpath-link)
makeconv.o: In function writeConverterData': makeconv.c:(.text+0x193): undefined reference tou_errorName_3_0'
makeconv.o: In function main': makeconv.c:(.text+0x34d): undefined reference tou_getVersion_3_0'
makeconv.c:(.text+0x35e): undefined reference to u_getDataDirectory_3_0' makeconv.c:(.text+0x895): undefined reference tou_errorName_3_0'
makeconv.c:(.text+0x900): undefined reference to T_CString_stricmp_3_0' makeconv.c:(.text+0x974): undefined reference touprv_isInvariantString_3_0'
makeconv.c:(.text+0xab5): undefined reference to T_FileStream_open_3_0' makeconv.c:(.text+0xb1c): undefined reference toT_FileStream_write_3_0'
makeconv.c:(.text+0xb2b): undefined reference to T_FileStream_close_3_0' makeconv.c:(.text+0xb42): undefined reference tou_errorName_3_0'
makeconv.o: In function readHeader': makeconv.c:(.text+0xf8b): undefined reference toT_FileStream_readLine_3_0'
makeconv.o: In function readFile': makeconv.c:(.text+0x12b4): undefined reference toT_FileStream_open_3_0'
makeconv.c:(.text+0x14f1): undefined reference to T_FileStream_readLine_3_0' makeconv.c:(.text+0x1509): undefined reference toT_FileStream_close_3_0'
genmbcs.o: In function MBCSOpen': genmbcs.c:(.text+0x175): undefined reference touprv_malloc_3_0'
genmbcs.o: In function MBCSClose': genmbcs.c:(.text+0x1c7): undefined reference touprv_free_3_0'
genmbcs.c:(.text+0x1da): undefined reference to uprv_free_3_0' genmbcs.c:(.text+0x1e6): undefined reference touprv_free_3_0'
genmbcs.o: In function MBCSStartMappings': genmbcs.c:(.text+0x248): undefined reference touprv_malloc_3_0'
genmbcs.c:(.text+0x2fd): undefined reference to uprv_malloc_3_0' gencnvex.o: In functionCnvExtOpen':
gencnvex.c:(.text+0x12): undefined reference to uprv_malloc_3_0' gencnvex.o: In functiongetToUnicodeValue':
gencnvex.c:(.text+0x9c6): undefined reference to u_strFromUTF32_3_0' gencnvex.c:(.text+0xa57): undefined reference tou_strFromUTF32_3_0'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::RegexMatcher::group(int, UErrorCode&) const' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::appendTail(icu_56::UnicodeString&)'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to uspoof_swap_56' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::end(int, UErrorCode&) const'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::RegexMatcher::~RegexMatcher()' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toucal_close_56'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to ucal_open_56' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::RegexMatcher(icu_56::UnicodeString const&, unsigned int, UErrorCode&)'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::CollationData::makeReorderRanges(int const*, int, icu_56::UVector32&, UErrorCode&) const' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toucal_getDefaultTimeZone_56'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::RegexMatcher::input() const' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::appendReplacement(icu_56::UnicodeString&, icu_56::UnicodeString const&, UErrorCode&)'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::RegexMatcher::matches(UErrorCode&)' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::lookingAt(long, UErrorCode&)'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to ucal_getTZDataVersion_56' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toucal_setMillis_56'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to ucal_getNow_56' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toucal_get_56'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::RegexMatcher::start(int, UErrorCode&) const' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::reset(icu_56::UnicodeString const&)'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to ulocdata_getCLDRVersion_56' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::replaceAll(icu_56::UnicodeString const&, UErrorCode&)'
/home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference to icu_56::RegexMatcher::end(UErrorCode&) const' /home/mariuz/work/libo/workdir/UnpackedTarball/icu/source/lib/libicutu.so: undefined reference toicu_56::RegexMatcher::find()'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment