View previous topic :: View next topic |
Author |
Message |
blueyellow n00b
Joined: 18 Apr 2002 Posts: 73
|
Posted: Tue Oct 21, 2003 2:06 pm Post subject: avifile - emerge bricht mit "Exitcode 2" ab |
|
|
Hallo
Habe ein Problem mit der Installation von avifile (alle momentan im Portage vorhandenen Versionen:
avifile-0.7.32.20030219.ebuild
avifile-0.7.37.20030522-r2.ebuild
avifile-0.7.38.20030710.ebuild
)
bei allen bricht er mit dem gleichen Ergebins ab... ich weiss einfach nicht mehr weiter.
Dies sind die letzten Zeilen beim emergen:
Code: | /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c renderer.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c sub_ft.cpp -fPIC -DPIC -o sub_ft.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c renderer.cpp -fPIC -DPIC -o renderer.lo
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c VideoDPMS.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I/usr/X11R6/include -I/usr/X11R6/include -D_REENTRANT -I/usr/include/freetype2 -I./../../drivers/vidix -DVIDIX_LIBDIR=\"/usr/lib/avifile-0.7/vidix/\" -I./../subtitles -Wall -Wno-unused -I../../include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c VideoDPMS.cpp -fPIC -DPIC -o VideoDPMS.lo
/bin/sh ../../libtool --mode=link c++ -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o libvideo.la -Wl,-rpath,/usr/lib -lSDL -lpthread -lfreetype -lz -L/usr/X11R6/lib -lSM -lICE -lXinerama -lXv -lXxf86vm -lXxf86dga -lXi -lXext -lX11 -L/usr/X11R6/lib -lXft -lfreetype -lXrender -lfontconfig sub_ft.lo renderer.lo VideoDPMS.lo -lnsl -ldl
mkdir .libs
rm -fr .libs/libvideo.la .libs/libvideo.* .libs/libvideo.*
ar cru .libs/libvideo.al sub_ft.lo renderer.lo VideoDPMS.lo
ranlib .libs/libvideo.al
creating libvideo.la
(cd .libs && rm -f libvideo.la && ln -s ../libvideo.la libvideo.la)
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib/video'
make[2]: Entering directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c codeckeeper.cpp
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Uncompressed.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c codeckeeper.cpp -fPIC -DPIC -o codeckeeper.lo
c++ -DHAVE_CONFIG_H -I. -I. -I../include -DPLUGIN_PATH=\"/usr/lib/avifile-0.7\" -I./../ffmpeg/libavcodec -I./../ffmpeg/libavformat -Wall -Wno-unused -I../include -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -c Uncompressed.cpp -fPIC -DPIC -o Uncompressed.lo
/bin/sh ../libtool --mode=link c++ -finline-limit-200 -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -pipe -o libaviplay.la -rpath /usr/lib -release 0.7 -version-info 0:38:0 codeckeeper.lo Uncompressed.lo aviplay/libaviplay.la aviread/libaviread.la aviwrite/libaviwrite.la common/libcommon.la subtitle/libsubtitle.la video/libvideo.la -lpthread -lnsl -ldl
mkdir .libs
libtool: link: cannot find the library `'
make[2]: *** [libaviplay.la] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/avifile-0.7.38.20030710/work/avifile-0.7-0.7.38/lib'
make: *** [all-recursive] Fehler 1
!!! ERROR: media-video/avifile-0.7.38.20030710 failed.
!!! Function src_compile, Line 140, Exitcode 2
!!! (no error message) |
Für jede Hilfe bin ich sehr dankbar...
mfg BlueYellow |
|
Back to top |
|
|
Marlo Veteran
Joined: 26 Jul 2003 Posts: 1591
|
Posted: Tue Oct 21, 2003 3:25 pm Post subject: |
|
|
hi,
Code: | ... ich weiss einfach nicht mehr weiter. |
ging uns allen schon mal so, überleg mal, ob
Code: | /include -O2 -mcpu=i686 -march=i686 -ffast-math -fomit-frame-pointer |
entschärft werden könnte ? Nimmste halt nur
Quote: | CFLAGS="-O2 -mcpu=i686 -funroll-loops -pipe" |
wenn's immer noch nicht geht, weiter entschärfen.
Schau hier
Ma _________________ ------------------------------------------------------------------
http://radio.garden/ |
|
Back to top |
|
|
blueyellow n00b
Joined: 18 Apr 2002 Posts: 73
|
Posted: Tue Oct 21, 2003 3:41 pm Post subject: |
|
|
naja, würde ja gerne die optimierungen runterschrauben... aber ich weiss nicht, woher das avifile-ebuild diese nimmt...
meine optimierungen im make.conf sind:
Code: |
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="${CFLAGS}" |
mfg BlueYellow |
|
Back to top |
|
|
Steffen Apprentice
Joined: 14 Jul 2002 Posts: 159
|
Posted: Wed Oct 29, 2003 9:51 pm Post subject: |
|
|
I've found the solution in this thread: https://forums.gentoo.org/viewtopic.php?t=90192
Babelfish helped me to translate it to english and I hope that I've unterstood Brandy's solution correctly. Open /usr/lib/libSDL.la, go to the line that starts with dependency_libs and replace "pthread" with "lpthread".
(I had a lot of "pthread" words in this line and it was not enough to replace one of them with "lpthread". So I removed all of them except one and replaced this last item with "lpthread")
Edit: LOL, wieso ich hier auf Englisch antworte und nicht auf Deutsch weiß ich jetzt auch nicht. Ich hoffe ihr versteht, was ich sagen will. |
|
Back to top |
|
|
blueyellow n00b
Joined: 18 Apr 2002 Posts: 73
|
Posted: Thu Oct 30, 2003 10:26 am Post subject: |
|
|
ja, das hat funktioniert...
kann ich jetzt wieder die original libSDL.la zurückstellen???
mfg blueyellow |
|
Back to top |
|
|
Steffen Apprentice
Joined: 14 Jul 2002 Posts: 159
|
Posted: Thu Oct 30, 2003 11:26 am Post subject: |
|
|
Ich denke schon. Ich habe es aber erstmal so gelassen, wenn es Probleme gibt, wird das jedoch eine der ersten Dinge sein, die ich ausprobiere. Weil ohne modifizierte libSDL kann ich auch mjpegtools und kdeaddons (eines der noatun-plugins) nicht kompilieren. |
|
Back to top |
|
|
|