Problem compiling on RHEL AS 4

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Problem compiling on RHEL AS 4

Post by tech_fixer »

I'm trying to resolve this, but help is appreciated!

I'm building ZM 1.22.0 on RedHat Enterprise Linux 4 on x86. I'm getting some problems with an undefinde reference to `_Unwind_Resume'. Any ideas?

Jose.

zm_config.o(.text+0xa01): In function `Config::Load()':
/zm/ZoneMinder-1.22.0/src/zm_config.cpp:241: undefined reference to `_Unwind_Resume'
zm_image.o(.text+0x3ed): In function `Image::HighlightEdges(unsigned int, Box const*)':
/zm/ZoneMinder-1.22.0/src/zm_image.cpp:123: undefined reference to `_Unwind_Resume'
zm_image.o(.text+0xaeb): In function `Image::WriteJpeg(char const*, int) const':
/zm/ZoneMinder-1.22.0/src/zm_image.h:176: undefined reference to `_Unwind_Resume'
zm_image.o(.text+0xf1b): In function `Image::EncodeJpeg(unsigned char*, int*, int) const':
/zm/ZoneMinder-1.22.0/src/zm_image.h:176: undefined reference to `_Unwind_Resume'
zm_image.o(.text+0x152b): In function `Image::Merge(int, Image**)':
/zm/ZoneMinder-1.22.0/src/zm_image.h:158: undefined reference to `_Unwind_Resume'
zm_image.o(.text+0x1778):/zm/ZoneMinder-1.22.0/src/zm_image.h:158: more undefined references to `_Unwind_Resume' follow
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/zm/ZoneMinder-1.22.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/zm/ZoneMinder-1.22.0'
make: *** [all] Error 2
[root@test ZoneMinder-1.22.0]#
User avatar
tech_fixer
Posts: 132
Joined: Tue Jul 29, 2003 3:07 pm

Post by tech_fixer »

Note to self... Forget compiling and use Cordel's RPM. It just works! Even on RHEL AS 4!

Good job Cordel.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

:oops: Thanks, now to get the database items I need added for the rpm sorted :)
Locked