brian.lu wrote: > When I tried to build the latest firefox (with --enable-static option), > I got following error in the last step when building final firefox-bin: > Undefined first referenced > symbol in file > _cairo_hash_table_create > ../../dist/lib/libthebes.a(cairo-font.o) (symbol scope specifies local > binding)
This error occurs when a symbol remains undefined in the object you are creating (firefox), ie. the symbol definition doesn't exist in the object you are creating, but is defined in an external dependency (.so). As the symbol isn't defined in the object you are building you can't reduce its visibility to symbolic. > that symbol is defined in cairo-hash.c (be linked into libthebes.a) I'd verify where the definition really occurs. Run your link-edit with the environment variable LD_OPTIONS=-Dsymbols,detail set, and capture stderr. Review the output and determine where _cairo_hash_table_create is defined. -- Rod