Open Bug 920762 Opened 11 years ago Updated 2 years ago

NO_X11 ends being defined when cross-compiling to x86, breaking build

Categories

(Firefox Build System :: General, defect)

x86_64
Linux
defect

Tracking

(Not tracked)

People

(Reporter: cjones, Unassigned)

Details

On Fedora 19 x86-64, cross-compiling to x86.  configure succeeds, but linking fails with

/home/cjones/rr/mozilla-central/dom/plugins/test/testplugin/nptest_gtk2.cpp:111: error: undefined reference to 'XGetWindowAttributes'
[...etc...]

It turns out that -DNO_X11=1 is being set in autoconf.mk, which has the build not link agains -lX11, which provides these symbols.

So it appears that we're erroenously falling back on NO_X11=1, when instead we should have fail-stopped.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.