Multiple Definitions in libavutil during make of ZM on debia
Posted: Wed May 03, 2006 8:20 pm
Hello all,
I am running, sorry I try to install and run zoneminder on debian sarge.
What I did was the installation of the ffmpeg stuff from ffmpeg cvs.
Then I made the ZM
#./configure
which find everythink ok.
and after that
I tried the # make:
Here is the output and I have no idea on how to solve that correctlly:
# make
make all-recursive
make[1]: Entering directory `/usr/local/src/ZoneMinder-1.22.1'
Making all in src
make[2]: Entering directory `/usr/local/src/ZoneMinder-1.22.1/src'
g++ -g -O2 -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_poly. o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor .o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_signal.o zm_buffer.o zm_debug.o -lavformat -lavcodec -lavutil -lpcre -lcrypto -lmysqlclient -ldl -lz -ljpeg
/usr/local/lib/libavutil.a(mathematics.o)(.rodata+0x0):/usr/local/src/ffmpeg/libavutil/mathematics.c:50: multi ple definition of `ff_sqrt_tab'
/usr/lib/libavcodec.a(utils.o)(.rodata+0x0): first defined here
/usr/local/lib/libavutil.a(mathematics.o)(.rodata+0x80):/usr/local/src/ffmpeg/libavutil/mathematics.c:68: mult iple definition of `ff_log2_tab'
/usr/lib/libavcodec.a(utils.o)(.rodata+0x80): first defined here
/usr/local/lib/libavutil.a(mathematics.o)(.text+0x0): In function `av_rescale_rnd':
/usr/local/src/ffmpeg/libavutil/mathematics.c:50: multiple definition of `av_rescale_rnd'
/usr/lib/libavcodec.a(utils.o)(.text+0x1c80): first defined here
/usr/bin/ld: Warning: size of symbol `av_rescale_rnd' changed from 1090 in /usr/lib/libavcodec.a(utils.o) to 9 81 in /usr/lib/libavcodec.a(utils.o)
/usr/local/lib/libavutil.a(mathematics.o)(.text+0x3e0): In function `ff_gcd':
/usr/local/src/ffmpeg/libavutil/mathematics.c:45: multiple definition of `ff_gcd'
/usr/lib/libavcodec.a(utils.o)(.text+0x1070): first defined here
/usr/local/lib/libavutil.a(mathematics.o)(.text+0x440): In function `av_rescale':
/usr/local/src/ffmpeg/libavutil/mathematics.c:102: multiple definition of `av_rescale'
/usr/lib/libavcodec.a(utils.o)(.text+0x20d0): first defined here
/usr/bin/ld: Warning: size of symbol `av_rescale' changed from 1012 in /usr/lib/libavcodec.a(utils.o) to 65 in /usr/lib/libavcodec.a(utils.o)
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x33d): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x395): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x3bf): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x3fd): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x485): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x51e): In function `dts_decode_init':
: undefined reference to `dts_init'
collect2: ld returned 1 exit status
It seems to me that I have multiple definitions within the libavutils , BUT I dont know how to repaire that ?
Can anyone give me a hint how to clean this up ?
regards
I am running, sorry I try to install and run zoneminder on debian sarge.
What I did was the installation of the ffmpeg stuff from ffmpeg cvs.
Then I made the ZM
#./configure
which find everythink ok.
and after that
I tried the # make:
Here is the output and I have no idea on how to solve that correctlly:
# make
make all-recursive
make[1]: Entering directory `/usr/local/src/ZoneMinder-1.22.1'
Making all in src
make[2]: Entering directory `/usr/local/src/ZoneMinder-1.22.1/src'
g++ -g -O2 -L/usr/lib -L/usr/lib/mysql -o zmc zmc.o zm.o zm_db.o zm_config.o zm_coord.o zm_box.o zm_poly. o zm_image.o zm_event.o zm_zone.o zm_camera.o zm_local_camera.o zm_remote_camera.o zm_file_camera.o zm_monitor .o zm_user.o zm_mpeg.o zm_jpeg.o zm_regexp.o zm_signal.o zm_buffer.o zm_debug.o -lavformat -lavcodec -lavutil -lpcre -lcrypto -lmysqlclient -ldl -lz -ljpeg
/usr/local/lib/libavutil.a(mathematics.o)(.rodata+0x0):/usr/local/src/ffmpeg/libavutil/mathematics.c:50: multi ple definition of `ff_sqrt_tab'
/usr/lib/libavcodec.a(utils.o)(.rodata+0x0): first defined here
/usr/local/lib/libavutil.a(mathematics.o)(.rodata+0x80):/usr/local/src/ffmpeg/libavutil/mathematics.c:68: mult iple definition of `ff_log2_tab'
/usr/lib/libavcodec.a(utils.o)(.rodata+0x80): first defined here
/usr/local/lib/libavutil.a(mathematics.o)(.text+0x0): In function `av_rescale_rnd':
/usr/local/src/ffmpeg/libavutil/mathematics.c:50: multiple definition of `av_rescale_rnd'
/usr/lib/libavcodec.a(utils.o)(.text+0x1c80): first defined here
/usr/bin/ld: Warning: size of symbol `av_rescale_rnd' changed from 1090 in /usr/lib/libavcodec.a(utils.o) to 9 81 in /usr/lib/libavcodec.a(utils.o)
/usr/local/lib/libavutil.a(mathematics.o)(.text+0x3e0): In function `ff_gcd':
/usr/local/src/ffmpeg/libavutil/mathematics.c:45: multiple definition of `ff_gcd'
/usr/lib/libavcodec.a(utils.o)(.text+0x1070): first defined here
/usr/local/lib/libavutil.a(mathematics.o)(.text+0x440): In function `av_rescale':
/usr/local/src/ffmpeg/libavutil/mathematics.c:102: multiple definition of `av_rescale'
/usr/lib/libavcodec.a(utils.o)(.text+0x20d0): first defined here
/usr/bin/ld: Warning: size of symbol `av_rescale' changed from 1012 in /usr/lib/libavcodec.a(utils.o) to 65 in /usr/lib/libavcodec.a(utils.o)
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x33d): In function `dts_decode_frame':
: undefined reference to `dts_frame'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x395): In function `dts_decode_frame':
: undefined reference to `dts_blocks_num'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x3bf): In function `dts_decode_frame':
: undefined reference to `dts_block'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x3fd): In function `dts_decode_frame':
: undefined reference to `dts_samples'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x485): In function `dts_decode_frame':
: undefined reference to `dts_syncinfo'
/usr/lib/libavcodec.a(dtsdec.o)(.text+0x51e): In function `dts_decode_init':
: undefined reference to `dts_init'
collect2: ld returned 1 exit status
It seems to me that I have multiple definitions within the libavutils , BUT I dont know how to repaire that ?
Can anyone give me a hint how to clean this up ?
regards