Closed Bug 298060 Opened 19 years ago Closed 17 years ago

Build fails with undefined reference to 'NS_NewHTMLMetaElement(nsINodeInfo*, int)'

Categories

(Firefox Build System :: General, defect)

1.0 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bjackson0971, Unassigned)

Details

(Whiteboard: CLOSEME 06/27)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050616 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050616 Firefox/1.0+ I am building Firefox from CVS with GCC 4.0 and binutils 2.15 on Mandrake 10.2. The linker started erroring out on 6/16 with: In function `HTMLContentSink::ProcessMETATag(nsIParserNode const&)': : undefined reference to 'NS_NewHTMLMetaElement(nsINodeInfo*, int)' This appears to be caused by the checkin by peterv%propagandism.org. I grepped my source tree for NS_NewHTMLMetaElement and the only location is one line in nsHTMLContentSink.cpp. Reproducible: Always Actual Results: ../../dist/lib/components/libgklayout.a(nsHTMLContentSink.o)(.data+0x104): undefined reference to 'NS_NewHTMLMetaElement(nsINodeInfo*, int)' ../../dist/lib/components/libgklayout.a(nsHTMLContentSink.o)(.text._ZN15HTMLContentSink14ProcessMETATagERK13nsIParserNode+0x8b): In function 'HTMLContentSink::ProcessMETATag(nsIParserNode const&)': : undefined reference to 'NS_NewHTMLMetaElement(nsINodeInfo*, int)' collect2: ld returned 1 exit status gmake[4]: *** [firefox-bin] Error 1 gmake[4]: Leaving directory `/home/bsjacks/mozilla/browser/app' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/home/bsjacks/mozilla/browser' gmake[2]: *** [tier_99] Error 2 gmake[2]: Leaving directory `/home/bsjacks/mozilla' make[1]: *** [default] Error 2 make[1]: Leaving directory `/home/bsjacks/mozilla' make: *** [build] Error 2 Command exited with non-zero status 2 Expected Results: Link should complete.
I got the build to complete when I tried the latest CVS code on 8/30. I had tried a week or two earlier and I got different undefined reference linker errors.
Is this still an issue?
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 06/27
Version: unspecified → 1.0 Branch
I've been compiling Firefox daily from the trunk with the latest GCC and binutils and I haven't seen this error since. When I last built from the 1.8 branch months ago, I also didn't have any problems. It's OK to resolve/close this bug as you see fit.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
--> WORKSFORME
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.