Je viens vers vous car j'ai un petit souci de compilation. Je suis en train de créer un paquet pour openmodelica, mais la version d'openscenegraph des dépôts est trop récente, 3.2 alors qu'il me faudrait la 2.8 (enfin j'espère que c'est bien ça le souci, mais c'est la seule piste que j'ai pour l'instant !).
Il y a deux paquets sur AUR pour la 2.8, mais ils ne compilent pas et n'ont pas l'air d'être maintenus.
Voilà les erreurs que j'obtiens :
openscenegraph-2.8
Code : Tout sélectionner
Linking CXX shared module ../../../lib/osgPlugins-2.8.5/osgdb_osg.so
[ 42%] Built target osgdb_osg
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Code : Tout sélectionner
/usr/include/features.h:327:4: attention : #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
# warning _FORTIFY_SOURCE requires compiling with optimization (-O)
^
/usr/bin/perl mkcodeclist.pl avcodec_video.list xine_video.list ff_video_list.h
Ignored SNOW = SNOW
Ignored ! = XVID
/usr/bin/perl mkcodeclist.pl avcodec_audio.list xine_audio.list ff_audio_list.h
Ignored 14_4 = RA_144
Ignored QTIMAADPCM = ADPCM_IMA_QT
Ignored ROQ = ROQ_DPCM
Ignored AMR_NB = AMR_NB
Ignored ! = SONIC
Ignored ! = SONIC_LS
make all-am
make[4]: Entering directory '/tmp/yaourt-tmp-paul/aur-xine-lib11201/src/xine-lib-1.1.20.1/src/combined/ffmpeg'
/bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -I../../../src/dxr3 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wpointer-arith -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -MT xineplug_decode_ff_la-ffmpeg_decoder.lo -MD -MP -MF .deps/xineplug_decode_ff_la-ffmpeg_decoder.Tpo -c -o xineplug_decode_ff_la-ffmpeg_decoder.lo `test -f 'ffmpeg_decoder.c' || echo './'`ffmpeg_decoder.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I../../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib -I../../../lib -I../../../src/dxr3 -D_FORTIFY_SOURCE=2 -fvisibility=hidden -D_REENTRANT -D_FILE_OFFSET_BITS=64 -DXINE_COMPILE -O3 -fomit-frame-pointer -fexpensive-optimizations -fschedule-insns2 -ffast-math -finline-functions -Wpointer-arith -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -Wall -Wchar-subscripts -Wnested-externs -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wmissing-format-attribute -Wno-pointer-sign -Wformat=2 -Wno-format-zero-length -Wformat-security -Wstrict-aliasing=2 -Werror=implicit-function-declaration -DNDEBUG -MT xineplug_decode_ff_la-ffmpeg_decoder.lo -MD -MP -MF .deps/xineplug_decode_ff_la-ffmpeg_decoder.Tpo -c ffmpeg_decoder.c -fPIC -DPIC -o .libs/xineplug_decode_ff_la-ffmpeg_decoder.o
In file included from ffmpeg_decoder.c:30:0:
ffmpeg_decoder.h:42:21: error: field 'id' has incomplete type
enum CodecID id;
^
ffmpeg_decoder.c: In function 'init_once_routine':
ffmpeg_decoder.c:314:3: error: implicit declaration of function 'avcodec_init' [-Werror=implicit-function-declaration]
avcodec_init();
^
ffmpeg_decoder.c:314:3: warning: nested extern declaration of 'avcodec_init' [-Wnested-externs]
cc1: some warnings being treated as errors
Makefile:632: recipe for target 'xineplug_decode_ff_la-ffmpeg_decoder.lo' failed
make[4]: *** [xineplug_decode_ff_la-ffmpeg_decoder.lo] Error 1
make[4]: Leaving directory '/tmp/yaourt-tmp-paul/aur-xine-lib11201/src/xine-lib-1.1.20.1/src/combined/ffmpeg'
Makefile:520: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/tmp/yaourt-tmp-paul/aur-xine-lib11201/src/xine-lib-1.1.20.1/src/combined/ffmpeg'
Makefile:656: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-paul/aur-xine-lib11201/src/xine-lib-1.1.20.1/src/combined'
Makefile:513: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-paul/aur-xine-lib11201/src/xine-lib-1.1.20.1/src'
Makefile:561: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Merci d'avance pour votre temps !
PS: je me suis déjà fait un paquet openmodelica-bin, mais j'aimerai bien tout compiler depuis les sources et je sens que je suis proche du but !