ffmpeg -version
ffmpeg version N-62785-g5b88149
built on Apr 29 2014 13:12:25 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-54)
configuration: --enable-gpl --enable-shared --enable-pthreads
libavutil 52. 79.100 / 52. 79.100
libavcodec 55. 59.101 / 55. 59.101
libavformat 55. 37.101 / 55. 37.101
libavdevice 55. 13.100 / 55. 13.100
libavfilter 4. 4.100 / 4. 4.100
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 18.100 / 0. 18.100
libpostproc 52. 3.100 / 52. 3.100
--------------------------------------
Zoneminder Release 1.26.5
--------------------------------------
I got error :
.
.
.
/NWA/ZoneMinder-master/src/zm_image.cpp:5552: error: unknown register name ق%xmm2ق in قasmق
/NWA/ZoneMinder-master/src/zm_image.cpp:5552: error: unknown register name ق%xmm1ق in قasmق
/NWA/ZoneMinder-master/src/zm_image.cpp:5552: error: unknown register name ق%xmm0ق in قasmق
make[2]: *** [src/CMakeFiles/zm.dir/zm_image.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/zm.dir/all] Error 2
make: *** [all] Error
zm_image.cpp.o] Error 1
Re: zm_image.cpp.o] Error 1
P.S
yasm.i386.1,1,0-1.rf is Installed.
OS: Centos
yasm.i386.1,1,0-1.rf is Installed.
OS: Centos
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: zm_image.cpp.o] Error 1
I have had similar problems when compiling on older distros (e.g. CentOS 5, Fedora 13) - it seems older versions of GCC have problems with the function declaration attributes that are supposed to filter out the SSE stuff on machines that don't support those instructions. On those machines I have to manually remove the SSE versions of the image processing functions from the source code before it will compile.
Re: zm_image.cpp.o] Error 1
Processor : Intel(R) Pentium 4 CPU 2.40 GHz
Re: zm_image.cpp.o] Error 1
dvarapala
Would you please tell me how could i manually remove the SSE versions of the image processing functions from the source code before i compile it?
Would you please tell me how could i manually remove the SSE versions of the image processing functions from the source code before i compile it?
Re: zm_image.cpp.o] Error 1
The simplest way is to just delete the functions which have errors. Once those are gone you'll also have to delete the (unused) references to them elsewhere in the file.
Another option is to upgrade your machine to a newer distribution and/or newer version of GCC, which might be a better way to go if you can do it.
Another option is to upgrade your machine to a newer distribution and/or newer version of GCC, which might be a better way to go if you can do it.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
Re: zm_image.cpp.o] Error 1
This error often shows up on old GCC (< 4.4) because it doesn't understand the "target" attribute. In that case, adding -mssse3 (or -msse2, depending on what your processor supports) to the CXXFLAGS will do the trick.
Its also possible to ignore those functions completely by adding -DZM_STRIP_SSE to the CXXFLAGS.
Its also possible to ignore those functions completely by adding -DZM_STRIP_SSE to the CXXFLAGS.
Kfir Itzhak.
Re: zm_image.cpp.o] Error 1
Hello
Thanks for your guide and helps, Fixed now.
That was exactly related to old GCC, I upgrade my CentOs 5 GCC and install successfully.
I use a trick in following URL to upgrade g++44 c++ . Maybe to be useful for someone else .
trinitycore.o-r-g/f/topic/5827-update-trinitycore-on-centos-55-final/
Regards,
Thanks for your guide and helps, Fixed now.
That was exactly related to old GCC, I upgrade my CentOs 5 GCC and install successfully.
I use a trick in following URL to upgrade g++44 c++ . Maybe to be useful for someone else .
trinitycore.o-r-g/f/topic/5827-update-trinitycore-on-centos-55-final/
Regards,