Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1714 closed defect (invalid)

fails to build with "undefined references"

Reported by: rostedt@… Owned by: diego@…
Priority: normal Component: build system
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

I just did a svn update (been a while since my last one).

$ svn update
$ make distclean
$ ./configure --enable-gui
$ make

it failed the final link with:

libavcodec/libavcodec.a(apedec.o): In function `ape_decode_frame':
apedec.c:(.text+0x1a0d): undefined reference to `mm_flags'
libavcodec/libavcodec.a(asv1.o): In function `encode_frame':
asv1.c:(.text+0x203d): undefined reference to `mm_flags'
libavcodec/libavcodec.a(asv1.o): In function `decode_frame':
asv1.c:(.text+0x27e0): undefined reference to `mm_flags'
libavcodec/libavcodec.a(bink.o): In function `decode_frame':
bink.c:(.text+0x4924): undefined reference to `mm_flags'
libavcodec/libavcodec.a(cljr.o): In function `decode_frame':
cljr.c:(.text+0x292): undefined reference to `mm_flags'
libavcodec/libavcodec.a(dsputil.o): In function `dsputil_init':
dsputil.c:(.text.unlikely+0x1259): undefined reference to `dsputil_init_mmx'
libavcodec/libavcodec.a(dv.o): In function `dvvideo_decode_frame':
dv.c:(.text+0x1480): undefined reference to `mm_flags'
libavcodec/libavcodec.a(dv.o): In function `dvvideo_encode_frame':
dv.c:(.text+0x5bcd): undefined reference to `mm_flags'
libavcodec/libavcodec.a(fft.o): In function `ff_fft_init':
fft.c:(.text.unlikely+0x16e): undefined reference to `ff_fft_init_mmx'
libavcodec/libavcodec.a(ffv1.o): In function `decode_frame':
ffv1.c:(.text+0x2e40): undefined reference to `mm_flags'
libavcodec/libavcodec.a(ffv1.o): In function `encode_frame':
ffv1.c:(.text+0x6292): undefined reference to `mm_flags'
libavcodec/libavcodec.a(h263dec.o): In function `ff_h263_decode_frame':
h263dec.c:(.text+0xf66): undefined reference to `mm_flags'
libavcodec/libavcodec.a(huffyuv.o): In function `draw_slice':
huffyuv.c:(.text+0x1e9): undefined reference to `mm_flags'
libavcodec/libavcodec.a(huffyuv.o): In function `decode_frame':
huffyuv.c:(.text+0x3a10): undefined reference to `mm_flags'
libavcodec/libavcodec.a(huffyuv.o):huffyuv.c:(.text+0x3c05): more undefined references to `mm_flags' follow
libavcodec/libavcodec.a(mpegvideo.o): In function `ff_dct_common_init':
mpegvideo.c:(.text.unlikely+0x60): undefined reference to `MPV_common_init_mmx'
libavcodec/libavcodec.a(mpegvideo_enc.o): In function `dct_quantize_refine':
mpegvideo_enc.c:(.text+0x2c42): undefined reference to `mm_flags'
libavcodec/libavcodec.a(mpegvideo_enc.o): In function `MPV_encode_picture':
mpegvideo_enc.c:(.text+0x59d6): undefined reference to `mm_flags'
mpegvideo_enc.c:(.text+0x5e8e): undefined reference to `mm_flags'
mpegvideo_enc.c:(.text+0x651d): undefined reference to `mm_flags'
mpegvideo_enc.c:(.text+0x657d): undefined reference to `mm_flags'
libavcodec/libavcodec.a(mpegvideo_enc.o):mpegvideo_enc.c:(.text+0x1efe7): more undefined references to `mm_flags' follow
libavcodec/libavcodec.a(dnxhdenc.o): In function `dnxhd_encode_init':
dnxhdenc.c:(.text+0x1d8f): undefined reference to `ff_dnxhd_init_mmx'
libavcodec/libavcodec.a(dwt.o): In function `ff_dwt_init':
dwt.c:(.text+0x83f): undefined reference to `ff_dwt_init_x86'
libavcodec/libavcodec.a(faandct.o): In function `ff_faandct248':
faandct.c:(.text+0xb): undefined reference to `mm_flags'
libavcodec/libavcodec.a(faandct.o): In function `ff_faandct':
faandct.c:(.text+0x2db): undefined reference to `mm_flags'
libavcodec/libavcodec.a(faanidct.o): In function `ff_faanidct_put':
faanidct.c:(.text+0x809): undefined reference to `mm_flags'
libavcodec/libavcodec.a(faanidct.o): In function `ff_faanidct_add':
faanidct.c:(.text+0xa69): undefined reference to `mm_flags'
libavcodec/libavcodec.a(faanidct.o): In function `ff_faanidct':
faanidct.c:(.text+0xcca): undefined reference to `mm_flags'
libavcodec/libavcodec.a(h264dsp.o): In function `ff_h264dsp_init':
h264dsp.c:(.text+0x63cc): undefined reference to `ff_h264dsp_init_x86'
libavcodec/libavcodec.a(imgconvert.o): In function `avpicture_deinterlace':
imgconvert.c:(.text+0xeb5): undefined reference to `ff_pw_4'
imgconvert.c:(.text+0xfc2): undefined reference to `ff_pw_4'
imgconvert.c:(.text+0x10ad): undefined reference to `mm_flags'
imgconvert.c:(.text+0x117e): undefined reference to `ff_pw_4'
imgconvert.c:(.text+0x1241): undefined reference to `ff_pw_4'
libavcodec/libavcodec.a(ljpegenc.o): In function `encode_picture_lossless':
ljpegenc.c:(.text+0x5a2): undefined reference to `mm_flags'
libavcodec/libavcodec.a(mlpdsp.o): In function `ff_mlp_init':
mlpdsp.c:(.text+0x3f5): undefined reference to `ff_mlp_init_x86'
libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_control_uninit':
ratecontrol.c:(.text+0x7c6): undefined reference to `mm_flags'
libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_estimate_qscale':
ratecontrol.c:(.text+0x152c): undefined reference to `mm_flags'
libavcodec/libavcodec.a(ratecontrol.o): In function `ff_rate_control_init':
ratecontrol.c:(.text+0x20bc): undefined reference to `mm_flags'
collect2: ld returned 1 exit status
make: * [mplayer] Error 1

I don't see any of the libavcodec/x86 files being built, which is where those undefined variables are created.

Attachments (1)

config.mak (23.0 KB) - added by rostedt@… 9 years ago.
config.mak

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by diego@…

  • Status changed from new to assigned

This is unreproducible and missing necessary information. What does config.mak contain, for starters?

Changed 9 years ago by rostedt@…

config.mak

comment:2 Changed 9 years ago by rostedt@…

Sorry about that. Here's the file.

comment:3 Changed 9 years ago by rostedt@…

Also doing a svn log gives me this as the first line:

r31411 | diego | 2010-06-14 07:46:40 -0400 (Mon, 14 Jun 2010) | 2 lines

Remove unnecessary and unused #defines.

comment:4 Changed 9 years ago by diego@…

  • Resolution set to invalid
  • Status changed from assigned to closed

Please try a fresh checkout and reopen the bug if the problem persists. Other than that I don't see a way how these files could fail to get built...

comment:5 Changed 9 years ago by rostedt@…

Thanks, it must have been something messed up with the svn update. After deleting the directory and doing a fresh checkout, it worked. Sorry for wasting your time.

Note: See TracTickets for help on using tickets.