In this case, remove cputest.o (and/or cputest.lo), then build ffmpeg with different optimizations. Like:

$ rm ffmpeg/libavcodec/cputest.*o
$ make CFLAGS='-O0 -g'

okay tried all that.  Except I found deleting the files had no effect
- they were just recreated each time.  Instead I deleted makefile
references to these files.  All the references were in the makefile in
the directory:
quicktime/ffmpeg/libavcodec/i386/

If I configure and run with the complicated CFLAGS which Hermann
supplied I end up only needing to delete:
simple_idct_mmx.*
dsputil_mmx*.*
motion_est_mmx*.*

without Hermanns configuration, or with the Make CFLAGS='-O0 -f' i needed to delete those files plus also:
fdct_mmx.*
idct_mmx.*
dsputil_mmx*.*

all in that same makefile.

Anyway deleting these files finally causes a new type of build error
'undefined reference to mm flags'.  I didn't try to fix this one as I
assumed it was a problem created by my deletions (output snippet below
this email).

I'm seeing the pattern of problem libraries being associated with mmx.
I wonder if something is still broken in the auto configuration of mmx
flags for x86_64? Or if this indicates any particular one of my dependencies as the problem. Any more ideas on the topic?

Graham E.


ffmpeg/libavcodec/.libs/libavcodec.a(utils.o): In function
`avcodec_encode_video':
utils.c:(.text+0x139a): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(utils.o): In function
`avcodec_decode_video':
utils.c:(.text+0x14d4): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpegvideo.o): In function
`MPV_frame_end':
mpegvideo.c:(.text+0x5cde): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpegvideo.o): In function
`select_input_picture':
mpegvideo.c:(.text+0x8e11): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpegvideo.o): In function
`ff_draw_horiz_band':
mpegvideo.c:(.text+0x195a9): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpegvideo.o):mpegvideo.c:(.text+0x1f90c):
more undefined references to `mm_flags' follow
ffmpeg/libavcodec/.libs/libavcodec.a(dsputil.o): In function `dsputil_init':
dsputil.c:(.text+0x23a58): undefined reference to `dsputil_init_mmx'
ffmpeg/libavcodec/.libs/libavcodec.a(imgresample.o): In function
`h_resample':
imgresample.c:(.text+0x83d): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpeg12.o): In function
`slice_decode_thread':
mpeg12.c:(.text+0xa84d): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpeg12.o): In function
`mpeg_decode_frame':
mpeg12.c:(.text+0xbc30): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(mpeg12.o): In function `decode_frame':
mpeg12.c:(.text+0xc07e): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(ratecontrol.o): In function
`ff_rate_control_init':
ratecontrol.c:(.text+0x13d): undefined reference to `mm_flags'
ffmpeg/libavcodec/.libs/libavcodec.a(ratecontrol.o):ratecontrol.c:(.text+0xbf0):
more undefined references to `mm_flags' follow
collect2: ld returned 1 exit status
make[1]: *** [libquicktimehv.la] Error 1
make[1]: Leaving directory `/home/gray/install/hvirtual/quicktime'
make: *** [all-recursive] Error 1






_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to