[FriBidi] Build error on ARM: Undefined reference...

Sebastian Holmqvist sebastian.holmqvist at gmail.com
Tue Mar 26 16:22:16 PDT 2013


So I downloaded fribidi-0.19.5.tar.gz and started cracking.

I fixed an initial error with undefined PAGE_SIZE:
>sed -i "s;include <asm/page.h>;include <unistd.h>\n#   define PAGE_SIZE sysconf(_SC_PAGESIZE);" lib/common.h

Despite my efforts, this is the error that I can't get past:

Making all in bin
make[2]: Entering directory `/share/MD0_DATA/Recordings/build/fribidi-0.19.5/bin'
  CC     fribidi-main.o
  CC     getopt.o
  CC     getopt1.o
  CCLD   fribidi
fribidi-main.o: In function `main':
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:340: undefined reference to `fribidi_parse_charset'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:343: undefined reference to `fribidi_char_set_desc'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:347: undefined reference to `fribidi_char_set_title'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:347: undefined reference to `fribidi_char_set_desc'
fribidi-main.o: In function `help':
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:170: undefined reference to `fribidi_char_set_name'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:170: undefined reference to `fribidi_char_set_title'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:170: undefined reference to `fribidi_char_set_desc'
fribidi-main.o: In function `main':
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:366: undefined reference to `fribidi_parse_charset'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:443: undefined reference to `fribidi_charset_to_unicode'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:538: undefined reference to `fribidi_unicode_to_charset'
/share/Recordings/build/fribidi-0.19.5/bin/fribidi-main.c:344: undefined reference to `fribidi_char_set_name'
collect2: ld returned 1 exit status
make[2]: *** [fribidi] Error 1
make[2]: Leaving directory `/share/MD0_DATA/Recordings/build/fribidi-0.19.5/bin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/share/MD0_DATA/Recordings/build/fribidi-0.19.5'
make: *** [all] Error 2

What am I missing?

--
Sebastian Holmqvist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fribidi/attachments/20130327/f052b1c9/attachment.html>


More information about the fribidi mailing list