Subject: error building xracer.
To: None <netbsd-help@netbsd.org>
From: Richard Rauch <rkr@rkr.kcnet.com>
List: netbsd-help
Date: 06/01/2000 16:07:48
(Okay, so I want to waste a little time playing a game...(^&)

When I try to build xracer, it fails apparently at the linking
stage:

 /~~~ failed build

 [...]
cc -O2 -O3 -Wall -Wpointer-arith -Wmissing-prototypes
-Wmissing-declarations -Wcast-align -Wwrite-strings
-DXRACER_HOME=\"/usr/pkg/share/xracer\" -DHAVE_PPMTOGIF=1
-DHAVE_PPMQUANT=1
-DPPMTOGIF=\"/usr/pkg/bin/ppmtogif\" -DPPMQUANT=\"/usr/pkg/bin/ppmquant\"
-DLOCALEDIR=\"/usr/pkg/share/locale\"
-DGNULOCALEDIR=\"/usr/pkg/share/locale\" -I../intl
-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib
-Wl,-export-dynamic -o xracer arch.o config_menu.o craft.o file_browser.o
game.o intro.o joystick.o jpeg.o kb_config_menu.o lcd.o load_track.o log.o
main.o math.o menu.o mode.o panel.o player.o powerup.o quit_menu.o
screenshot.o sound.o sound-process.o start_menu.o text.o texture.o track.o
utils.o video.o ws.o mpeg/libmpeg.a -lintl -ljpeg -lglut -lGLU -lGL -lSM
-lICE -lm -L/usr/X11R6/lib -lXmu -lXi -lXext -lX11
Undefined entry symbol `xport-dynamic'
ld: internal consistency check failure: # undefined symbols 1, accounted
for 0
collect2: ld returned 1 exit status
 [...]

 \___ failed build


Any ideas why the target executable should be compiling with an ``export
dynamic'' option?  Or how it got the sub-string ``xport-dynamic'' as a
symbol that it couldn't resolve?  (Is it snuck in by the libtool,
perhaps?)


  "I probably don't know what I'm talking about."  --rkr@rkr.kcnet.com