make fails zone minder. zm_mpeg.h:43: error: use of enum âPi

Forum for questions and support relating to the 1.24.x releases only.
Locked
alltech
Posts: 34
Joined: Sat Jun 25, 2011 6:07 am

make fails zone minder. zm_mpeg.h:43: error: use of enum âPi

Post by alltech »

I "Think" I know what the problem is, and it may be a path issue. Anyone here running centos or, other linux os, what is the DEFAULT director of zm_ffmpeg.h? I have /usr/src/zm/src/

Thanks





been dealing with this issue for three days now. Tried everything. seems it was a mysqclient, now this. I am running the most recent version of zone minder.
BTW, is there a way to copy entire contents of the configure.log file from windows puty into windows buffer? I have to use | more as you can see. Not very efficent to copy one entire log file.



Also, running centos
cat redhat-release
CentOS release 5.5 (Final)

uname -a
Linux computer.home 2.6.18-194.17.1.el5 #1 SMP Wed Sep 29 12:51:33 EDT 2010 i686 i686 i386 GNU/Linux

cat config.log | more
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by zm configure 1.25.0, which was
generated by GNU Autoconf 2.65. Invocation command line was

$ ./configure --with-webdir=/var/www/html/zm --with-cgidir=/var/www/cgi-bin/ Z
M_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=user ZM_DB_PASS=xxxxxx --with-ffmpe
g=/usr/local/bin

## --------- ##
## Platform. ##
## --------- ##

hostname = computer.home
uname -m = i686
uname -r = 2.6.18-194.17.1.el5
uname -s = Linux
uname -v = #1 SMP Wed Sep 29 12:51:33 EDT 2010

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2442: checking for a BSD-compatible install
configure:2510: result: /usr/bin/install -c
configure:2521: checking whether build environment is sane
configure:2571: result: yes
configure:2712: checking for a thread-safe mkdir -p
configure:2751: result: /bin/mkdir -p
configure:2764: checking for gawk
configure:2780: found /bin/gawk
configure:2791: result: gawk
configure:2802: checking whether make sets $(MAKE)
configure:2824: result: yes
configure:2969: WARNING: You can call configure with the --with-libarch option.
This tells configure where to find architecture specific libraries.
The default of 'lib' is usually ok but 64 bit machines may require lib64.
e.g. --with-libarch=lib or --with-libarch=lib64
configure:2988: WARNING: You can call configure with the --with-mysql option.
This tells configure where to find the MySql C library and headers if config
ure cannot
locate them automatically.
e.g. --with-mysql=/usr/local or --with-mysql=/usr
configure:3048: WARNING: You can call configure with the --with-extralibs option
.
Ordinarily you will need to use this option only when your copy of ffmpeg ha
s been built
with support for additional formats and you would use this option to detail
which additional
libraries ffmpeg was built with so that it is able to link successfully with
ZoneMinder.
You will need to wrap this option in quotes if it contains any spaces.
e.g. --with-extralibs="-lmp3lame"
configure:3096: WARNING: You can call configure with the --with-webuser option.
This tells configure what the user name of the web user is if it is not the
default of 'apache'.
e.g. --with-webuser=apache or --with-webuser=web
configure:3113: WARNING: You can call configure with the --with-webgroup option.
This tells configure what the group name of the web group is if it is not th
e default of 'apache'.
e.g. --with-webgroup=apache or --with-webgroup=web
configure:3130: WARNING: You can call configure with the --with-webhost option.
This tells configure what the host name is for name based virtual hosting. T
his is only used to populate the sample web/zmHttpd.conf file.
--More--
configure:3149: WARNING: You can call configure with the --enable-debug=<yes|no>
or --disable-debug option.
This tells configure whether to compile ZoneMinder with debug included. Alth
ough debug is included
by default it is not output unless explicitly switched on elsewhere. These c
hecks may induce a
small penalty on performance and if you are after squeezing the maximum poss
ible performance out
of ZoneMinder you may use this switch to prevent debug from being compiled i
n.
e.g. --enable-debug=yes or --disable-debug
configure:3176: WARNING: You can call configure with the --enable-crashtrace=<ye
s|no> or --disable-crashtrace option.
This tells configure whether to compile ZoneMinder with crash tracing includ
ed. This allows a
dump of the stack trace when a ZoneMinder binary crashes or is killed by an
unexpected signal.
Although this should work on most systems it does rely on un(or loosely) doc
umented features and
so should be regarded as experimental. If you experience problems compiling
zm_signal.cpp or
ZoneMinder binaries fail to shut down correctly then you should probably dis
able this feature.
e.g. --enable-crashtrace=yes or --disable-crashtrace
configure:3204: WARNING: You can call configure with the --enable-mmap=<yes|no>
or --disable-mmap option.
This tells configure whether to compile ZoneMinder with mmap support rather
than IPC shared
memory. This is a feature that uses memory mapped into files which all proce
sses can share.
Memory mapping requires less configuration and is more flexible than shared
memory but may
slow down your system unless the mapped files are configured to reside on a
fast or RAM based
filesystem which will normally be the case by default.
e.g. --enable-mmap=yes or --disable-mmap
configure:3293: checking for g++
configure:3309: found /usr/bin/g++
configure:3320: result: g++
configure:3347: checking for C++ compiler version
g++ (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3367: $? = 0
configure:3356: g++ -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --enable-checking=release -
-with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-
libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable
-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-
1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
configure:3367: $? = 0
configure:3356: g++ -V >&5
g++: '-V' option must have argument
configure:3367: $? = 1
configure:3356: g++ -qversion >&5
g++: unrecognized option '-qversion'
g++: no input files
configure:3367: $? = 1
configure:3387: checking whether the C++ compiler works
configure:3409: g++ -I/usr/local/bin/include -L/usr/local/bin/lib -L/usr/lib/m
ysql conftest.cpp >&5
configure:3413: $? = 0
configure:3462: result: yes
configure:3465: checking for C++ compiler default output file name
configure:3467: result: a.out
configure:3473: checking for suffix of executables
configure:3480: g++ -o conftest -I/usr/local/bin/include -L/usr/local/bin/lib
-L/usr/lib/mysql conftest.cpp >&5
configure:3484: $? = 0
configure:3528: checking whether we are cross compiling
configure:3536: g++ -o conftest -I/usr/local/bin/include -L/usr/local/bin/lib
-L/usr/lib/mysql conftest.cpp >&5
configure:3540: $? = 0
configure:3547: ./conftest
configure:3551: $? = 0
configure:3566: result: no
configure:3571: checking for suffix of object files
configure:3593: g++ -c -I/usr/local/bin/include conftest.cpp >&5
configure:3597: $? = 0
configure:3618: result: o
configure:3622: checking whether we are using the GNU C++ compiler
configure:3641: g++ -c -I/usr/local/bin/include conftest.cpp >&5
configure:3641: $? = 0
configure:3650: result: yes
configure:3659: checking whether g++ accepts -g
configure:3679: g++ -c -g -I/usr/local/bin/include conftest.cpp >&5
configure:3679: $? = 0
configure:3720: result: yes
configure:3754: checking for style of include used by make
configure:3782: result: GNU
configure:3807: checking dependency style of g++
configure:3917: result: gcc3
configure:3980: checking for gcc
configure:3996: found /usr/bin/gcc
configure:4007: result: gcc
configure:4236: checking for C compiler version
configure:4245: gcc --version >&5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-48)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU
configure:4256: $? = 0
configure:4245: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/u
sr/share/info --enable-shared --enable-threads=posix --enable-checking=release -
-with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-
libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable
-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-
1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)
configure:4256: $? = 0
configure:4245: gcc -V >&5
gcc: '-V' option must have argument
configure:4256: $? = 1
configure:4245: gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:4256: $? = 1
configure:4260: checking whether we are using the GNU C compiler
configure:4279: gcc -c -I/usr/local/bin/include -I/usr/local/bin/include conft
est.c >&5
configure:4279: $? = 0
configure:4288: result: yes
configure:4297: checking whether gcc accepts -g
configure:4317: gcc -c -g -I/usr/local/bin/include conftest.c >&5
configure:4317: $? = 0
configure:4358: result: yes
configure:4375: checking for gcc option to accept ISO C89
configure:4439: gcc -c -I/usr/local/bin/include -I/usr/local/bin/include conf
test.c >&5
configure:4439: $? = 0
configure:4452: result: none needed
configure:4474: checking dependency style of gcc
configure:4584: result: gcc3
configure:4600: checking whether ln -s works
configure:4604: result: yes
configure:4654: checking for ranlib
configure:4670: found /usr/bin/ranlib
configure:4681: result: ranlib
configure:4703: checking whether make sets $(MAKE)
configure:4725: result: yes
configure:4742: checking how to run the C++ preprocessor
configure:4769: g++ -E -I/usr/local/bin/include conftest.cpp
configure:4769: $? = 0
configure:4783: g++ -E -I/usr/local/bin/include conftest.cpp
conftest.cpp:12:28: error: ac_nonexistent.h: No such file or directory
configure:4783: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4808: result: g++ -E
configure:4828: g++ -E -I/usr/local/bin/include conftest.cpp
configure:4828: $? = 0
configure:4842: g++ -E -I/usr/local/bin/include conftest.cpp
conftest.cpp:12:28: error: ac_nonexistent.h: No such file or directory
configure:4842: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:4871: checking for grep that handles long lines and -e
configure:4929: result: /bin/grep
configure:4934: checking for egrep
configure:4996: result: /bin/grep -E
configure:5001: checking for ANSI C header files
configure:5021: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5021: $? = 0
configure:5094: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:5094: $? = 0
configure:5094: ./conftest
configure:5094: $? = 0
configure:5105: result: yes
configure:5118: checking for sys/types.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for sys/stat.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for stdlib.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for string.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for memory.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for strings.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for inttypes.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
--More--
configure:5118: result: yes
configure:5118: checking for stdint.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5118: checking for unistd.h
configure:5118: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5118: $? = 0
configure:5118: result: yes
configure:5131: checking for stdbool.h that conforms to C99
configure:5216: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5216: $? = 0
configure:5223: result: yes
configure:5225: checking for _Bool
configure:5225: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:58: error: '_Bool' was not declared in this scope
configure:5225: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof (_Bool))
| return 0;
| ;
| return 0;
| }
configure:5225: result: no
configure:5241: checking for an ANSI C-conforming const
configure:5306: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5306: $? = 0
configure:5313: result: yes
configure:5321: checking for uid_t in sys/types.h
configure:5340: result: yes
configure:5351: checking for inline
configure:5367: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5367: $? = 0
configure:5375: result: inline
configure:5393: checking for mode_t
configure:5393: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5393: $? = 0
configure:5393: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:59: error: expected primary-expression before ')' token
configure:5393: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
#ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((mode_t)))
| return 0;
| ;
| return 0;
| }
configure:5393: result: yes
configure:5404: checking for size_t
configure:5404: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5404: $? = 0
configure:5404: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:59: error: expected primary-expression before ')' token
configure:5404: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| return 0;
| ;
| return 0;
| }
configure:5404: result: yes
configure:5415: checking whether time.h and sys/time.h may both be included
configure:5435: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5435: $? = 0
configure:5442: result: yes
configure:5450: checking whether struct tm is in sys/time.h or time.h
configure:5470: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5470: $? = 0
configure:5477: result: time.h
configure:5485: checking return type of signal handlers
configure:5503: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:30: error: void value not ignored as it ought to be
configure:5503: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| /* end confdefs.h. */
| #include <sys/types.h>
| #include <signal.h>
|
| int
| main ()
| {
| return *(signal (0, 0)) (0) == 1;
| ;
| return 0;
| }
configure:5510: result: void
configure:5519: checking for siginfo_t
configure:5519: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5519: $? = 0
configure:5519: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:30: error: expected primary-expression before ')' token
configure:5519: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| if (sizeof ((siginfo_t)))
| return 0;
| ;
| return 0;
| }
configure:5519: result: yes
configure:5530: checking for struct sigcontext
configure:5530: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5530: $? = 0
configure:5530: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:31: error: expected primary-expression before 'struct'
conftest.cpp:31: error: expected `)' before 'struct'
conftest.cpp:32: error: expected `)' before ';' token
conftest.cpp:32: error: expected `)' before ';' token
configure:5530: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| /* end confdefs.h. */
| #include <signal.h>
| {
| if (sizeof ((struct sigcontext)))
| return 0;
| ;
| return 0;
| }
configure:5530: result: yes
configure:5541: checking for struct sigcontext.eip
configure:5541: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5541: $? = 0
configure:5541: result: yes
configure:5552: checking for ucontext_t
configure:5552: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5552: $? = 0
configure:5552: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
conftest.cpp: In function 'int main()':
conftest.cpp:33: error: expected primary-expression before ')' token
configure:5552: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| /* end confdefs.h. */
| #include <signal.h>
|
| int
| main ()
| {
| if (sizeof ((ucontext_t)))
| return 0;
| ;
| return 0;
| }
configure:5552: result: yes
configure:5566: checking whether gcc needs -traditional
configure:5600: result: no
configure:5609: checking for stdlib.h
configure:5609: result: yes
configure:5619: checking for GNU libc compatible malloc
configure:5643: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:5643: $? = 0
configure:5643: ./conftest
configure:5643: $? = 0
configure:5653: result: yes
configure:5680: checking for stdlib.h
configure:5680: result: yes
configure:5680: checking for unistd.h
configure:5680: result: yes
configure:5680: checking for sys/param.h
configure:5680: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5680: $? = 0
configure:5680: result: yes
configure:5701: checking for getpagesize
configure:5701: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:5701: $? = 0
configure:5701: result: yes
configure:5710: checking for working mmap
configure:5857: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:5857: $? = 0
configure:5857: ./conftest
configure:5857: $? = 0
configure:5867: result: yes
configure:5879: checking sys/select.h usability
configure:5879: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5879: $? = 0
configure:5879: result: yes
configure:5879: checking sys/select.h presence
configure:5879: g++ -E -I/usr/local/bin/include conftest.cpp
configure:5879: $? = 0
configure:5879: result: yes
configure:5879: checking for sys/select.h
configure:5879: result: yes
configure:5879: checking sys/socket.h usability
configure:5879: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5879: $? = 0
configure:5879: result: yes
configure:5879: checking sys/socket.h presence
configure:5879: g++ -E -I/usr/local/bin/include conftest.cpp
configure:5879: $? = 0
configure:5879: result: yes
configure:5879: checking for sys/socket.h
configure:5879: result: yes
configure:5890: checking types of arguments for select
configure:5918: g++ -c -g -O2 -I/usr/local/bin/include conftest.cpp >&5
configure:5918: $? = 0
configure:5929: result: int,fd_set *,struct timeval *
configure:5952: checking whether lstat correctly handles trailing slash
configure:5978: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:5978: $? = 0
configure:5978: ./conftest
configure:5978: $? = 0
configure:5995: result: yes
configure:6014: checking whether stat accepts an empty string
configure:6034: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:6034: $? = 0
configure:6034: ./conftest
configure:6034: $? = 0
configure:6044: result: no
configure:6062: checking for strftime
configure:6062: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:6062: $? = 0
configure:6062: result: yes
configure:6115: checking for working strtod
configure:6156: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:6156: $? = 0
configure:6156: ./conftest
configure:6156: $? = 0
configure:6166: result: yes
configure:6230: checking for vprintf
configure:6230: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
configure:6230: $? = 0
configure:6230: result: yes
configure:6236: checking for _doprnt
configure:6236: g++ -o conftest -g -O2 -I/usr/local/bin/include -L/usr/local/bi
n/lib -L/usr/lib/mysql conftest.cpp >&5
/tmp/cckfDwFE.o: In function `main':
/usr/src/zm/conftest.cpp:78: undefined reference to `_doprnt'
collect2: ld returned 1 exit status
configure:6236: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "zm"
| #define PACKAGE_TARNAME "ZoneMinder"
| #define PACKAGE_VERSION "1.25.0"
| #define PACKAGE_STRING "zm 1.25.0"
| #define PACKAGE_BUGREPORT "support@zoneminder.com"
| #define PACKAGE_URL "http://www.zoneminder.com/downloads.html"
| #define PACKAGE "ZoneMinder"
| #define VERSION "1.25.0"
| #define ZM_MEM_MAPPED 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_STDBOOL_H 1
| #define TIME_WITH_SYS_TIME 1
| #define RETSIGTYPE void
| #define HAVE_SIGINFO_T 1
| #define HAVE_STRUCT_SIGCONTEXT 1
| #define HAVE_STRUCT_SIGCONTEXT_EIP 1
| #define HAVE_UCONTEXT_T 1
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_SYS_SELECT_H 1
| #define HAVE_SYS_SOCKET_H 1
| #define SELECT_TYPE_ARG1 int
| #define SELECT_TYPE_ARG234 (fd_set *)
| #define SELECT_TYPE_ARG5 (struct timeval *)
| #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
| #define HAVE_STRFTIME 1
| #define HAVE_VPRINTF 1











make
make all-recursive
make[1]: Entering directory `/usr/src/zm'
Making all in src
make[2]: Entering directory `/usr/src/zm/src'
make[3]: Entering directory `/usr/src/zm'
make[3]: Leaving directory `/usr/src/zm'
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/bin/include -Wall -Wno-sign-compare -fno-inline -I/usr/local/bin/include -g -O2 -MT zmc.o -MD -MP -MF .deps/zmc.Tpo -c -o zmc.o zmc.cpp
zm_mpeg.h:43: error: use of enum âPixelFormatâ without previous declaration
zm_mpeg.h:44: error: ISO C++ forbids declaration of âAVOutputFormatâ with no type
zm_mpeg.h:44: error: expected â;â before â*â token
zm_mpeg.h:45: error: ISO C++ forbids declaration of âAVFormatContextâ with no type
zm_mpeg.h:45: error: expected â;â before â*â token
zm_mpeg.h:46: error: ISO C++ forbids declaration of âAVStreamâ with no type
zm_mpeg.h:46: error: expected â;â before â*â token
zm_mpeg.h:47: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_mpeg.h:47: error: expected â;â before â*â token
zm_mpeg.h:48: error: ISO C++ forbids declaration of âAVFrameâ with no type
zm_mpeg.h:48: error: expected â;â before â*â token
make[2]: *** [zmc.o] Error 1
make[2]: Leaving directory `/usr/src/zm/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/zm'
make: *** [all] Error 2
[root@computer zm]#
Locked