Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xfree won't start, duplicate symbol libbitmap.a
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
kungfooguru
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 92

PostPosted: Sun Feb 29, 2004 7:54 pm    Post subject: xfree won't start, duplicate symbol libbitmap.a Reply with quote

I just installed gentoo on my friends desktop, everything went fine till i tried to run X. I used the same XF86Config from my computer on his, changing only the resolution and sync rates, he uses a nvidia card just like me. But when i try to run it it gives an error saying:

Duplicate symbol __i686.get_pc_thunk.bx in /usr/X11R6/lib/modules/fonts/libbitmap.a:bitmapmod.o
Also defined in /usr/X11R6/lib/modules/fonts/libbitmap.a

Fatal server error:
Modules load failure

Anyone seen anything like this. Note: i also tried using xfconfig or whatever its called and i get the same error.Also the xfree installed is 4.3.99.902-r2.
Back to top
View user's profile Send private message
cwt137
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 99
Location: Southern California

PostPosted: Sun Feb 29, 2004 11:52 pm    Post subject: Reply with quote

I have the same problem and im running 4.3.902 too. I hope someone can help us.
Back to top
View user's profile Send private message
kungfooguru
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 92

PostPosted: Mon Mar 01, 2004 12:59 am    Post subject: Fixed it Reply with quote

I just upgraded the X server and it worked fine, try that out.
Back to top
View user's profile Send private message
cwt137
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 99
Location: Southern California

PostPosted: Mon Mar 01, 2004 1:33 am    Post subject: Reply with quote

how did you upgrade it? what commands did you type?
Back to top
View user's profile Send private message
kungfooguru
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 92

PostPosted: Mon Mar 01, 2004 2:27 am    Post subject: Upgrade Reply with quote

if your portage is up to date it should want to emerge xfree 4.3.0-r5. So try an emerge sync and then emerge xfree. or go to /usr/portage/x11-base/xfree/ and emerge xfree-4.3.0-r5.ebuild
Back to top
View user's profile Send private message
cwt137
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jul 2003
Posts: 99
Location: Southern California

PostPosted: Mon Mar 01, 2004 2:36 am    Post subject: Reply with quote

so you gave up on 4.3.99.902 and downgraded xfree.
Back to top
View user's profile Send private message
kungfooguru
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jul 2003
Posts: 92

PostPosted: Mon Mar 01, 2004 3:24 am    Post subject: yea Reply with quote

yeah
Back to top
View user's profile Send private message
ejh
n00b
n00b


Joined: 08 Mar 2004
Posts: 9
Location: Gjøvik, Norway

PostPosted: Mon Mar 08, 2004 10:53 am    Post subject: Reply with quote

While that solution might be acceptable for you, this is not the case for me. I _need_ a more recent xfree to get the most out of my EPIA M10000 motherboard. I've tried both xfree-4.3.99.902 and xfree-4.3.99.902-epia1. Same error occurs with both:
Quote:
Duplicate symbol __i686.get_pc_thunk.bx in /usr/X11R6/lib/modules/fonts/libbitmap.a:bitmapmod.o
Also defined in /usr/X11R6/lib/modules/fonts/libbitmap.a

Fatal server error:
Module load failure

I've been watching out for this error all over the net, but can't find any solution, so for the very first time i actively consult this forum. (The search function has been my friend for over a year ;))
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Mon Mar 08, 2004 11:33 am    Post subject: Not the only one Reply with quote

I have exactely the same error... and I am probably compiling xfree now for the one 1000th time :(
I (was) using -fPIC in CFLAGS for prelinking. If that is what is doing any harm... I will see in a few hours.
Other than that, I was only using march=athlon-xp, -O2, -pipe and -pomit-frame-pointers.
As said above, now I am trying to built it only with the CPU specific stuff and O2. I'll see if that helps.
Oh, and I applied an patch to make my IGP radeon 320 M work in 3D mode; which is why I have to stick to such a recent xfree.

Hope that a guru will have an answer!!

BTW: 4.3.99.14 and 4.3.99.16 (different IGP patches though) produced exactely the same error meanwhile 4.3.0-r? didn't...
Back to top
View user's profile Send private message
ejh
n00b
n00b


Joined: 08 Mar 2004
Posts: 9
Location: Gjøvik, Norway

PostPosted: Mon Mar 08, 2004 11:43 am    Post subject: Reply with quote

Here are my flags:
CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"

I've tried other variations though, to no avail. And I've tried both 2.4.25 (vanilla) and 2.6.3-gentoo-r1 kernels.

I have been following the EPIA Howto, which is excellent by the way.
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Mon Mar 08, 2004 11:53 am    Post subject: Reply with quote

ejh wrote:
I have been following the EPIA Howto, which is excellent by the way.


Hm, doesn't help on that subject though :( Have you used the 902-r7 advertised on this page? Not that I believe that r2 vs. r7 makes too much of a difference, but you never know...

PS: At lease we know, it is not VIA (patch) related, since I am using Ali/Ati stuff on my Laptop (HP pavilion ze4360)
Back to top
View user's profile Send private message
ejh
n00b
n00b


Joined: 08 Mar 2004
Posts: 9
Location: Gjøvik, Norway

PostPosted: Mon Mar 08, 2004 11:56 am    Post subject: Reply with quote

sams wrote:
ejh wrote:
I have been following the EPIA Howto, which is excellent by the way.


Hm, doesn't help on that subject though :( Have you used the 902-r7 advertised on this page? Not that I believe that r2 vs. r7 makes too much of a difference, but you never know...

I just included it in case someone directed me to it. Always nice to stay one step ahead. But since you have the exact same problem on another mobo, we now know that it's not hardware specific... as for the xfree-versions, I've tried both the -epia-patched version and the "vanilla" version. It seems we're in this together :lol:

It's an VIA EPIA specific patch, it adds support for all the nice features of the mobo. And as far as I can tell, it makes no difference one way or the other if the patch is applied or not.
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Mon Mar 08, 2004 12:39 pm    Post subject: Reply with quote

Hi,

I also get this #%&@ duplicate symbol error... :evil:

I've a HP nx7000 with Pentium M. xfree-4.3.0-r5 works perfectly but I would like to try the 4.3.99. I compile with and without some USE flags and CFLAGS but no changes :(

There's a bug report here : https://bugs.gentoo.org/show_bug.cgi?id=43177

But no fix...
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Mon Mar 08, 2004 12:48 pm    Post subject: Reply with quote

I use :

- gcc-3.3.2-r5
- glibc-2.3.2-r9

Which version do you use ?
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Mon Mar 08, 2004 12:50 pm    Post subject: bug report Reply with quote

I just discovered the bug report and commented on it... unfortunately googling and alike didn't help yet. Maybe the bug report will make experts look into it... and give me the much needed :idea:
Back to top
View user's profile Send private message
ejh
n00b
n00b


Joined: 08 Mar 2004
Posts: 9
Location: Gjøvik, Norway

PostPosted: Mon Mar 08, 2004 12:50 pm    Post subject: Reply with quote

gcc version 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7)
glibc version 2.3.2-r9
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Mon Mar 08, 2004 12:54 pm    Post subject: gcc/glibc Reply with quote

I have exactely the same gcc/glibc configuration as "ejh". glibc was compiled with "fPIC" in CFLAGS and "pic" in USE flags. But I don't think that this breaks it, since I also compiled glibc once without pic in USE and furthermore how else would I get prelinking then to work :roll:

And to add about my experimenting:
Compiling it xfree without fPIC, pic in USE, no -pipe, no -fomit... didn't help either.
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Mon Mar 08, 2004 10:08 pm    Post subject: it's not the patches Reply with quote

Just want to let you know, that I tried to compile the .99.902 release without any patches (not form plain source, but with a modified .ebuild), besides the radeon igp320m and the savage patch, otherwise it wouldn't have compiled...
Still I get the same error :cry:
Back to top
View user's profile Send private message
dumdey
n00b
n00b


Joined: 08 Jul 2002
Posts: 47
Location: Höchstadt, Germany

PostPosted: Tue Mar 09, 2004 6:29 am    Post subject: Reply with quote

i've also the same problem with

xfree-4.2.1-r4
xfree-4.3.0-r5
xfree-4.3.99.902-r5

no solution? :cry:
_________________
http://www.k-u-h.org/harry/
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Wed Mar 10, 2004 1:24 pm    Post subject: maybe the solution... Reply with quote

Ok I finally managed to get XFree working. I tried pretty much every different version out there and my last shot was with XFree 4.4 and an ebuild you can find on media.homelinux.org/gentoo/.

Since XFree 4.4 built from sources was broken in the same way the other builts were, I think the following could also be the reason for 4.3.whatsoever.

I did setup a gentoo 2004.0, within its "system" it also emerges an hardened-gcc, which announces to type "hardened-gcc -A" to activate... didn't think much about it, since it told me to do so...

Well, I then deactivated it:

Code:
hardened-gcc -r


compiled the above mentioned ebuild (modified to make use of the ati-igp-3d.patch) and it worked :D :D

(gcc/glibc still the same)

Let me know, if that helps you, too (with 4.3.x) !!

Only problem now is loading glcore... but that will be another task :wink: ... at least I now can run my graphical desktop
Back to top
View user's profile Send private message
ejh
n00b
n00b


Joined: 08 Mar 2004
Posts: 9
Location: Gjøvik, Norway

PostPosted: Wed Mar 10, 2004 1:29 pm    Post subject: Reply with quote

I'll try this right away. Give me a couple of hours and I'll report back.

Edit: Just built xfree-epia-4.3.99.902-r7 after issuing "hardened-gcc -r", same error as always. This is getting on my nerves...

Edit #2: I have now even unmerged hardened-gcc, to no avail. I'm going to try 4.4.0 now...
Back to top
View user's profile Send private message
sams
n00b
n00b


Joined: 06 Nov 2003
Posts: 21
Location: Karlsruhe - Germany

PostPosted: Wed Mar 10, 2004 6:02 pm    Post subject: may another gcc? Reply with quote

I was also considering in the next step going to gcc 3.3.3 or gcc 3.2. but since it did work after deactivating hardened-gcc.. 8)

What CLFAGS are you using?

EDIT: What me brought to the whole idea of hardened-gcc being involved was my attempt to emerge another gcc which failed complaining about a not working gcc or better a wrongly set CC.
Back to top
View user's profile Send private message
ejh
n00b
n00b


Joined: 08 Mar 2004
Posts: 9
Location: Gjøvik, Norway

PostPosted: Thu Mar 11, 2004 12:29 pm    Post subject: Reply with quote

Well, I don't know exactly what did it, but after i re-emerged hardened-gcc (didn't activate it though) and played around with my CFLAGS a bit, xfree suddenly works. I'm a happy man! Here's my CFLAGS-section:
Code:

#CFLAGS="-march=i686 -msse -mmmx -mfpmath=sse -Os -pipe -fomit-frame-pointer"
CFLAGS="-march=pentium3 -O3 -pipe -mfpmath=sse -msse -mmmx -falign-functions=4"

As you can see, I commented out the CFLAGS I was using before and replaced them with some I had from my last Gentoo-install...

If anyone reaches this thread in search for a solution for the duplicate symbol error, I recommend trying other CFLAGS.

I'll keep watching this thread.
Back to top
View user's profile Send private message
LostControl
l33t
l33t


Joined: 02 Mar 2004
Posts: 885
Location: La Glane, Suisse

PostPosted: Sat Mar 13, 2004 3:32 pm    Post subject: Reply with quote

Yesterday, I realised that I installed a "hardened" stage2 by mistake :( I reinstall all my system. Thanks to Portage, it was very easy (but very long too :wink: ). I retry to install XFree86-4.3.99 and... NO MORE DUPLICATE SYMBOL :D

That was the trick...
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Sat Mar 20, 2004 2:48 pm    Post subject: Reply with quote

I had the exact same problem with the DRI CVS when I compilied it forcing -fPIC. If compilied without -fPIC, no error. Very strange...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum