OVH Cloud OVH Cloud

sgi & uhexen

3 réponses
Avatar
Johan SANCHEZ
Quelqu'un =E0 t il d=E9ja r=E9ussi =E0 compiler uhexen sous irix ?

ld32: WARNING 84: /usr/nekoware/lib/libSDL.so is not used for resolving any=
symbol.
ld32: WARNING 84: /usr/nekoware/lib/libSDL_mixer.so is not used for resolvi=
ng any symbol.
ld32: ERROR 33: Unresolved text symbol "mouse_scale_factor" -- 1st referenc=
ed by obj/mn_menu.o.
Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: ERROR 33: Unresolved text symbol "pow" -- 1st referenced by obj/i_sdl=
sound.o.
Use linker option -v to see when and which objects, archives and ds=
os are loaded. =20
ld32: INFO 152: Output file removed because of error.
collect2: ld returned 2 exit status
gmake: *** [uhexen] Error 1

voila le makefile que j'utilise
SDL_INCLUDES=3D-I/usr/nekoware/include/SDL
SDL_LIBS=3D-L/usr/nekoware/lib
EXTRA_INCLUDES=3D-I/usr/nekoware/include/SDL
EXTRA_LIBS=3D-L/usr/local/kde/lib -L/usr/local/qt/lib -L/usr/X11R6/lib -L/=
usr/nekoware/lib
CFLAGS=3D-Iinclude -O2 -DNORMALUNIX $(SDL_INCLUDES) $(EXTRA_INCLUDES) $(EXT=
RA_CFLAGS)
LIBS=3D-lSDL -lSDL_mixer
LDFLAGS=3D$(SDL_LIBS) $(LIBS) $(EXTRA_LIBS)

Si quelqu'un a une id=E9e je suis preneur
Merci

3 réponses

Avatar
Khanh-Dang
Salut Johan,

Johan SANCHEZ wrote:
Quelqu'un à t il déja réussi à compiler uhexen sous irix ?

ld32: WARNING 84: /usr/nekoware/lib/libSDL.so is not used for
resolving any symbol. ld32: WARNING




Je crois me souvenir que ce type de message d'erreur de ld32 se
déclenchent quand on ne fait pas attention à l'ordre des options de la
ligne de commande. Essaye de compiler avec une ligne de commande où
$(LDFLAGS) se retrouve comme dernier argument de la commande de
compilation.
Avatar
Johan SANCHEZ
On Sun, 12 Nov 2006 18:09:34 +0100
Khanh-Dang wrote:

Salut Johan,

Johan SANCHEZ wrote:
> Quelqu'un à t il déja réussi à compiler uhexen sous irix ?
>
> ld32: WARNING 84: /usr/nekoware/lib/libSDL.so is not used for
> resolving any symbol. ld32: WARNING


Je crois me souvenir que ce type de message d'erreur de ld32 se
déclenchent quand on ne fait pas attention à l'ordre des options de la
ligne de commande. Essaye de compiler avec une ligne de commande où
$(LDFLAGS) se retrouve comme dernier argument de la commande de
compilation.



En fait mon Makefile est bon j'ai aussi changé le path de certaiens libs
je compile mais ca plante.

On Sun, 12 Nov 2006 17:14:46 GMT
(Walter Roberson) wrote:

In article ,
Johan SANCHEZ wrote:
>ld32: ERROR 33: Unresolved text symbol "pow" -- 1st referenced by
>obj/i_sdlsound.o.

You need to include -lm in your link options, such as on your
LIBS line.



thanks i done so
There is no longer any complaints from either gcc or ld
however the game crashes at start

bash-2.05b# time ./uhexen
Starting Hexen!
Trace/BPT/RangeErr/DivZero/Ovflow trap (core dumped)

real 0m0.349s
user 0m0.008s
sys 0m0.036s

(gdb) run
Starting program: /uhexen-0.601/uhexen
warning: Signal ? does not exist on this system.

any clue ?
Avatar
Johan SANCHEZ
On Mon, 13 Nov 2006 08:38:26 +0100
"Emmanuel Da Piedade" <emmanuel.dapiedade AT laposte POINTnet> wrote:

Johan SANCHEZ wrote:
> On Sun, 12 Nov 2006 18:09:34 +0100
> Khanh-Dang wrote:
>
>> Salut Johan,
>>
>> Johan SANCHEZ wrote:
>>> Quelqu'un à t il déja réussi à compiler uhexen sous irix ?
>>>
>>> ld32: WARNING 84: /usr/nekoware/lib/libSDL.so is not used for
>>> resolving any symbol. ld32: WARNING
>>
>>
>> Je crois me souvenir que ce type de message d'erreur de ld32 se
>> déclenchent quand on ne fait pas attention à l'ordre des options de
>> la ligne de commande. Essaye de compiler avec une ligne de commande
>> où $(LDFLAGS) se retrouve comme dernier argument de la commande de
>> compilation.
>
> En fait mon Makefile est bon j'ai aussi changé le path de certaiens
> libs je compile mais ca plante.
>
> On Sun, 12 Nov 2006 17:14:46 GMT
> (Walter Roberson) wrote:
>
>> In article ,
>> Johan SANCHEZ wrote:
>>> ld32: ERROR 33: Unresolved text symbol "pow" -- 1st referenced by
>>> obj/i_sdlsound.o.
>>
>> You need to include -lm in your link options, such as on your
>> LIBS line.
>
> thanks i done so
> There is no longer any complaints from either gcc or ld
> however the game crashes at start
>
> bash-2.05b# time ./uhexen
> Starting Hexen!
> Trace/BPT/RangeErr/DivZero/Ovflow trap (core dumped)
>
> real 0m0.349s
> user 0m0.008s
> sys 0m0.036s
>
> (gdb) run
> Starting program: /uhexen-0.601/uhexen
> warning: Signal ? does not exist on this system.
>
> any clue ?

Essaie de demander sur les forum de Nekochan.net , ils sont habitués a
porter des applis vers SGI/Irix.
Ils ont meme une wishlist pour les applis a porter si je ne m'abuse.



ouais reste plus que ça parce que le jeu compile mais crash instantaném ent
jai essayé avec plusieurs optimisation et même sans et avec plusieurs a utres
compilos.