Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 144656
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: media-video herd <media-video@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Schwarzott <zzam@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 144656 depends on: Show dependency tree
Bug 144656 blocks: 129413
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-21 09:26 0000
media-video/mjpegtools-1.8.0-r1 fails to build with LDFLAGS="-Wl,--as-needed".

i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe
-fno-strict-aliasing -pthread -Wall -Wunused -Wl,--as-needed -o .libs/yuvplay
yuvplay.o  /usr/lib/libSDL.so -ldl -lpthread ../utils/.libs/libmjpegutils.so
-lm
creating yuvplay
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I/usr/include
-I../utils -DLAVPLAY_VERSION=\"1.8.0\"   -O2 -march=athlon-xp
-fomit-frame-pointer -pipe -fno-strict-aliasing -pthread -Wall -Wunused -MT
lavrec.o -MD -MP -MF ".deps/lavrec.Tpo" -c -o lavrec.o lavrec.c; \
        then mv -f ".deps/lavrec.Tpo" ".deps/lavrec.Po"; else rm -f
".deps/lavrec.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link i686-pc-linux-gnu-gcc  -O2
-march=athlon-xp -fomit-frame-pointer -pipe -fno-strict-aliasing -pthread -Wall
-Wunused  -Wl,--as-needed -o lavrec  lavrec.o ../utils/libmjpegutils.la 
liblavrec.la liblavfile.la liblavjpeg.la  -lm
i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -pipe
-fno-strict-aliasing -pthread -Wall -Wunused -Wl,--as-needed -o .libs/lavrec
lavrec.o  ../utils/.libs/libmjpegutils.so ./.libs/liblavrec.so
./.libs/liblavfile.so -L/usr/include/jpeg-mmx ./.libs/liblavjpeg.so
/usr/lib/libjpeg-mmx.so -lm
./.libs/liblavrec.so: undefined reference to `lav_fileno'
./.libs/liblavrec.so: undefined reference to `lav_query_polarity'
./.libs/liblavrec.so: undefined reference to `lav_strerror'
./.libs/liblavrec.so: undefined reference to `lav_query_APP_marker'
./.libs/liblavrec.so: undefined reference to `lav_write_audio'
./.libs/liblavrec.so: undefined reference to `lav_query_APP_length'
./.libs/liblavrec.so: undefined reference to `lav_open_output_file'
./.libs/liblavrec.so: undefined reference to `encode_jpeg_raw'
./.libs/liblavrec.so: undefined reference to `lav_close'
./.libs/liblavrec.so: undefined reference to `lav_write_frame'
collect2: ld returned 1 exit status
make[2]: *** [lavrec] Error 1
make[2]: Leaving directory
`/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0/lavtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/mjpegtools-1.8.0-r1/work/mjpegtools-1.8.0'
make: *** [all] Error 2

!!! ERROR: media-video/mjpegtools-1.8.0-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  mjpegtools-1.8.0-r1.ebuild, line 94:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.

------- Comment #1 From Lars Wendler (Polynomial-C) 2006-08-22 06:31:39 0000 -------
This bug should block bug #129413

------- Comment #2 From Matthias Schwarzott 2006-08-25 06:49:04 0000 -------
Commited fix to CVS.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug