Hi,
Note for people who want to compile TuxFleet:
the src/Makefile contains an error, it will try to link against -l3dtk
-lplibul,
which will produce link errors on most end-user systems, unless you're
lib3dtk
and plib developer.
If linkage fails, remove '-l3dtk' as well as '-lplibul' from the
Makefile and
try again.
Christoph Egger wrote:
> >
> > New Release:
> >
> > tuxfleet-0.3.0 is available from tuxfleet.sourceforge.net
> >
>
> I got some compiler warnigs:
>
> space_command.cxx: In method `void SpaceObject::ProcessCommand(int)':
> space_command.cxx:156: warning: `int new_target_nr' might be used uninitialized in this function
Noticed.
> And one linkage error:
>
> make[1]: Entering directory `/home/programmer/src/tuxfleet-0.3.0/src'
> gcc -o tuxfleet -L/usr/X11R6/lib -L/fire-win/koba-backup/plib
> -L/boot/home/config/lib ssgUtil.o hudobject.o hud_radars.o hud_displays.o
> hud_others.o hud_camera.o joystick.o spaceobject.o space_pitchmove.o
> space_command.o spacemodel.o space_checks.o space_energy.o space_hardpoints.o
> space_radar.o space_target.o space_throttle.o space_weapons.o space_dirvecs.o
> ki.o ki_special.o ki_player.o ki_dumbkis.o ki_attacker1.o ki_attacker2.o
> ki_attacker3.o mission.o engine.o engine_update.o keymap.o explosion.o
> engine_kis.o engine_huds.o simulator.o cache.o engine_collisions.o
> engine_keyboard.o engine_spacejunk.o engine_initgfx.o engine_load.o
> fleet_scene_ssg.o weapons.o engine_create.o fleet_sound.o guimenu.o
> puScrollList.o guimenu_callback.o radio.o eventbase.o triggers.o events.o
> fleet_scene_3dtk.o fleet_scene.o fleet_net.o engine_net.o tuxfleet.o -lplibssg
> -lplibsg -lplibsl -lplibsm -lplibpu -lplibul -lglut -lGL -lGLU -lSM -lICE
> -lX11 -lXi -lXmu -lXext -lm -l3dtk
^^^^^^
> /usr/i486-linux/bin/ld: cannot open -lplibul: No such file or directory
^^^^^^^
Uh - yes, I have to correct that.
I used plib from cvs to compile/link, plibul isn't there in older plib
versions.
I will take that out in new releases and use plib-1.3.0 if possible (but
then I cannot change to puFilePicker)
I will also have to take out -l3dtk per default in the next release,
cause
this lib is optional and most users won't have it.
So, if you get linkage errors - just remove -lplibul and -l3dtk from the
Makefile.
Sorry, but big thanks for reporting.
Alex
--
Alexander Rawass
Email: ale...@us...
Project Homepage: http://tuxfleet.sourceforge.net
...but some day you'll be a STAR in somebody else's SKY...
|