If building lush2 errors out with this compilation error
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| g++ -L/opt/local/lib -DHAVE_CONFIG_H -DNO_DEBUG -Wall -O3 -mmmx -msse -I../include -I/opt/local/include -I/opt/local/include/freetype2 -o lush2 at.o binary.o cref.o calls.o arith.o check_func.o date.o dh.o dump.o eval.o fileio.o fltlib.o fpu.o function.o event.o graphics.o htable.o idx1.o idx2.o idx3.o idx4.o index.o io.o list.o main.o math.o misc.o cmm.o module.o number.o oostruct.o regex.o storage.o string.o symbol.o toplevel.o user.o weakref.o ps_driver.o rng.o lisp_driver.o x11_driver.o unix.o cpp.o -L/opt/local/lib -lXft -lSM -lICE -lX11 -liconv -lreadline -lcurses -lutil -ldl -lm
Undefined symbols for architecture x86_64:
"_FcNameParse", referenced from:
_getfont in x11_driver.o
"_FcPatternDestroy", referenced from:
_getfont in x11_driver.o
"_FcPatternGet", referenced from:
_getfont in x11_driver.o
"_FcPatternDel", referenced from:
_getfont in x11_driver.o
"_FcPatternAdd", referenced from:
_getfont in x11_driver.o
"_FcNameUnparse", referenced from:
_getfont in x11_driver.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [lush2] Error 1
make: *** [all] Error 2
|
Jason Aten was kind enough to fix this for Snow Leopard and later, as detailed in the lush mailing list archive. Grab Jason’s lush2 git repo from github.