Closed
Bug 392390
Opened 18 years ago
Closed 18 years ago
[OS X] Compile error when trying to build with accessibility on
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 391096
People
(Reporter: hwaara, Assigned: hwaara)
Details
Attachments
(1 file)
|
922 bytes,
patch
|
aaronlev
:
review+
|
Details | Diff | Splinter Review |
I got these errors when trying to build on OS X 10.4.10 with --enable-accessibility:
/usr/bin/ld: Undefined symbols:
_cmsDoTransform referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsCreateTransform referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsCreate_sRGBProfile referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsErrorAction referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsOpenProfileFromFile referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
collect2: ld returned 1 exit status
make[5]: *** [libaccessibility.dylib] Error 1
The error is when linking libaccessibility.
libaccessibility depends on thebes, and some libs that *thebes* requires that we are not linking to.
I won't pretend to actually understand mozilla build foo, but this fixes the linker errors.
Attachment #276843 -
Flags: review?(aaronleventhal)
Updated•18 years ago
|
Attachment #276843 -
Flags: review?(aaronleventhal)
Attachment #276843 -
Flags: review+
Attachment #276843 -
Flags: approval1.9?
| Assignee | ||
Comment 1•18 years ago
|
||
Here's the complete error without linking to libmozz and liblcms:
c++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -I/Developer/Headers/FlatCarbon -pipe -DDEBUG -D_DEBUG -DDEBUG_hakan -DTRACING -g -fPIC -o libaccessibility.dylib nsAccessibilityFactory.o nsAccessNode.o nsAccessibleEventData.o nsARIAMap.o nsDocAccessible.o nsOuterDocAccessible.o nsAccessibilityAtoms.o nsAccessibilityUtils.o nsAccessibilityService.o nsAccessible.o nsAccessibleRelation.o nsAccessibleTreeWalker.o nsBaseWidgetAccessible.o nsFormControlAccessible.o nsRootAccessible.o nsApplicationAccessible.o nsCaretAccessible.o nsTextAccessible.o nsHTMLAreaAccessible.o nsHTMLFormControlAccessible.o nsHTMLImageAccessible.o nsHTMLLinkAccessible.o nsHTMLSelectAccessible.o nsHTMLTableAccessible.o nsHTMLTextAccessible.o nsHyperTextAccessible.o nsAccessNodeWrap.o nsRootAccessibleWrap.o nsAccessibleWrap.o mozAccessible.o mozDocAccessible.o mozActionElements.o mozTextAccessible.o nsXULAlertAccessible.o nsXULColorPickerAccessible.o nsXULFormControlAccessible.o nsXULMenuAccessible.o nsXULSelectAccessible.o nsXULSliderAccessible.o nsXULTabAccessible.o nsXULTextAccessible.o nsXULTreeAccessible.o nsXFormsAccessible.o nsXFormsFormControlsAccessible.o nsXFormsWidgetsAccessible.o -L../../dist/bin -L../../dist/lib -lthebes -lgkgfx ../../dist/lib/libunicharutil_s.a -L../../dist/bin -lxpcom -lxpcom_core -L../../dist/bin -L../../dist/lib -lplds4 -lplc4 -lnspr4 -framework Cocoa -bundle
/usr/bin/ld: warning can't open dynamic library: @executable_path/libmozz.dylib referenced from: ../../dist/bin/libthebes.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: warning can't open dynamic library: @executable_path/libmozlcms.dylib referenced from: ../../dist/bin/libthebes.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_cmsDoTransform referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsCreateTransform referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsCreate_sRGBProfile referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsErrorAction referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
_cmsOpenProfileFromFile referenced from libthebes expected to be defined in @executable_path/libmozlcms.dylib
collect2: ld returned 1 exit status
make[2]: *** [libaccessibility.dylib] Error 1
make[1]: *** [libs] Error 2
make: *** [default] Error 2
| Assignee | ||
Comment 2•18 years ago
|
||
Yay, Mats has a better patch in bug 391096 already.
| Assignee | ||
Updated•18 years ago
|
Attachment #276843 -
Flags: approval1.9?
| Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•