[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#148762: breaks lxdoom build



"Robert Millan" <zeratul2@wanadoo.es> immo vero scripsit:

> rmh@aragorn:/tmp/old/lxdoom-1.4.4$ cd src && make lsdoom
> gcc -DHAVE_CONFIG_H -I. -I. -I..     -O2 -I/usr/X11R6/include -c l_video_svgalib.c
> gcc  -O2 -I/usr/X11R6/include  -o lsdoom  l_video_svgalib.o am_map.o g_game.o p_mobj.o r_segs.o hu_lib.o lprintf.o d_client.o p_plats.o r_sky.o d_deh.o hu_stuff.o m_argv.o p_pspr.o m_bbox.o p_saveg.o r_things.o d_items.o m_cheat.o p_setup.o s_sound.o d_main.o p_sight.o sounds.o m_menu.o p_spec.o info.o st_lib.o m_misc.o p_switch.o l_joy.o p_telept.o st_stuff.o m_random.o p_tick.o l_main.o tables.o p_user.o l_system.o l_sound.o p_ceilng.o v_video.o doomdef.o p_doors.o p_enemy.o r_bsp.o version.o doomstat.o p_floor.o r_data.o w_wad.o p_genlin.o dstrings.o l_udp.o p_inter.o wi_stuff.o r_draw.o f_finale.o p_lights.o z_bmalloc.o p_map.o r_main.o f_wipe.o z_zone.o p_maputl.o r_plane.o drawspan.o drawcol.o -lvga -L/usr/X11R6/lib 
> /usr/lib/libvga.a(mouse.o): In function `ms_init':
> mouse.o(.text+0x6d2): undefined reference to `pow'
> /usr/lib/libvga.a(i740.o): In function `I740CalcVCLK':
> i740.o(.text+0x955): undefined reference to `log'
> i740.o(.text+0x96d): undefined reference to `log'
> collect2: ld returned 1 exit status
> make: *** [lsdoom] Error 1


It seems like libvga.a is only statically linked.
static link libraries do no have library dependency information,
OTOH shared libraries do have one.

There is a missing "-lm".

It sounds fisshy that libvga.a is linked at all,
but that's a different matter.



-- 
dancer@debian.org : Junichi Uekawa   http://www.netfort.gr.jp/~dancer
GPG Fingerprint : 17D6 120E 4455 1832 9423  7447 3059 BF92 CD37 56F4
Libpkg-guide: http://www.netfort.gr.jp/~dancer/column/libpkg-guide/


-- 
To UNSUBSCRIBE, email to debian-qa-packages-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: