LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices



Reply
 
Search this Thread
Old 10-31-2007, 12:14 PM   #1
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Rep: Reputation: 30
Trying to upgrade Firefox to version 2.0.0.8, compile errors as follows. [SOLVED]


Code:
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::Destroy()':
nsCanvasRenderingContext2D.cpp:(.text+0x2045): undefined reference to `XFreePixmap'
../../dist/lib/libgkconcvs_s.a(nsCanvasRenderingContext2D.o): In function `nsCanvasRenderingContext2D::SetDimensions(int, int)':
nsCanvasRenderingContext2D.cpp:(.text+0x5ec8): undefined reference to `XRenderFindStandardFormat'
nsCanvasRenderingContext2D.cpp:(.text+0x5eeb): undefined reference to `XListPixmapFormats'
nsCanvasRenderingContext2D.cpp:(.text+0x5f26): undefined reference to `XFree'
nsCanvasRenderingContext2D.cpp:(.text+0x5f70): undefined reference to `XCreatePixmap'
collect2: ld returned 1 exit status
The solution is found in the firefox section in the BLFS (SVN) book, rather:

Code:
cat >> layout/build/Makefile.in << "EOF"
ifdef MOZ_ENABLE_CANVAS
EXTRA_DSO_LDOPTS += $(XLDFLAGS) -lX11 -lXrender
endif
EOF
I thought the above command was specific for the version they were covering. But I guess it wasn't.

Ah frick, the answer was right in front of me in the BLFS Firefox-2.0.0.6 section. I must suck at reading.

Last edited by Seph64; 10-31-2007 at 02:19 PM.
 
Old 10-31-2007, 01:54 PM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,990

Rep: Reputation: 67
Seph64:
I know I am not a moderator but please can you not remove your questions just because you have found the answer.
Someone else may be stuck with the same error, and your post could well be the nearest thing they find to a solution, so it would be really really nice if you please leave the original question in tact and instead perhaps add a note to say how you fixed it.

Many thanks,

— Robert J Lee
 
Old 10-31-2007, 02:20 PM   #3
Seph64
Member
 
Registered: Feb 2003
Distribution: Gentoo, FreeBSD, LFS
Posts: 298
Blog Entries: 21

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by rjlee View Post
Seph64:
I know I am not a moderator but please can you not remove your questions just because you have found the answer.
Someone else may be stuck with the same error, and your post could well be the nearest thing they find to a solution, so it would be really really nice if you please leave the original question in tact and instead perhaps add a note to say how you fixed it.

Many thanks,

Robert J Lee
Noted, and re-edited my previous post to included the error msg + the solution (it was really just my stupidity).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rsync Errors version 2.6.9 petertm1307 Linux - Networking 3 09-04-2007 01:01 PM
Firefox not emerging because of autoconf version - how to force older version? sirgregsalot Linux - Desktop 5 12-11-2006 07:37 PM
How to upgrade from Firefox 1.0.7 to Firefox 1.5.0.4 on FC3? trien27 Linux - Newbie 2 06-11-2006 08:26 AM
firefox does not stream video after firefox automatic upgrade? kazuya1977 VectorLinux 1 02-12-2006 02:48 PM


All times are GMT -5. The time now is 08:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration