Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5502 - tuxracer 0.61-r1 can't compile
Summary: tuxracer 0.61-r1 can't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-24 04:28 UTC by herve lombaert
Modified: 2003-02-04 19:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herve lombaert 2002-07-24 04:28:33 UTC
emerge rsync
emerge tuxracer

[...]

hash.o: In function `create_hash_table':
hash.o(.text+0x19): undefined reference to `Tcl_InitHashTableEx'
hier.o: In function `initialize_scene_graph':
hier.o(.text+0xafc): undefined reference to `Tcl_InitHashTableEx'
hier.o(.text+0xb0d): undefined reference to `Tcl_InitHashTableEx'
collect2: ld returned 1 exit status
make: *** [tuxracer] Error 1
Comment 1 herve lombaert 2002-07-24 04:58:53 UTC
I found why I got this error on compilation. Once I've tried to emerge tcltk,
but it was not accessible through the normal "emerge tcltk"/
So I did:
cd /usr/portage/dev-lan/tcltk
ebuild tcl-tk... merge

Then it seems that it messed all the tcl libraries. And Tuxracer are using 3
references to Tcl_InitHashTable(). That's why it refuses to compile.

Solve:

I unmerge/unebuild tcltk manually
cd /var/db/portage/dev-lang/
ebuild tcltk... unmerge

But then, it also erased some tcl libraries (libtcl8.3.so) from another package
(!!!). So I had to reemerge tcl

emerge tcl

and finally

emerge tuxracer

thought:

It would be nice to include some "uninstall depedencies" to emerge... the same
way apt-get works. When I uninstall libX, it would warn that it will also
uninstall all X programs for instance. That's what I miss the most from debian.