Motion - Support Question 2008x 02x 13x 034551

undefined file_protocol error

Question

Hello. I am a newbie to the world of linux, and i have never compiled and installed a program like this before....so, please bear with me. smile I have installed zenwalk for a home server and (hopefully) motion as well. I also believe i have installed the prereqs for motion: ffmpeg and mysql. However, i am getting a 'undefined file_protocol' error and sizof short int error when i run the configure command. I think i have everything....any pointers?

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

hostname = pinnacle
uname -m = i686
uname -r = 2.6.23.12
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Dec 19 14:34:44 CET 2007

/usr/bin/uname -p = Pentium III (Coppermine)
/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/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/games/bin


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

configure:1744: checking for Darwin
configure:1749: result: no
configure:1751: checking for *BSD
configure:1756: result: no
configure:1839: checking for gcc
configure:1855: found /usr/bin/gcc
configure:1866: result: gcc
configure:2104: checking for C compiler version
configure:2111: gcc --version >&5
gcc (GCC) 4.1.2
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:2114: $? = 0
configure:2121: gcc -v >&5
Reading specs from /usr/lib/gcc/i486-slackware-linux/4.1.2/specs
Target: i486-slackware-linux
Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix

< cut> 

Errors:

root[motion-3.2.9]# cat config.log | grep error
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
conftest.c:5: error: 'file_protocol' undeclared (first use in this function)
conftest.c:5: error: (Each undeclared identifier is reported only once
conftest.c:5: error: for each function it appears in.)
|   return ferror (f) || fclose (f) != 0;
configure:5708: error: cannot compute sizeof (short int)
root[motion-3.2.9]# 

Environment

Motion version: 3.2.9
ffmpeg version: cant tell
Libraries: ffmpeg, mysql
Server OS: Zenwalk

-- ChipR - 13 Feb 2008

Follow Up

Please , try to attach complete output from:

./configure

That file_procotol undefined is because you are using a ffmpeg that won't work with 3.2.9 you will have to upgrade to 3.2.10, look

here :

http://www.lavrsen.dk/twiki/bin/view/Motion/BugReport2008x01x27x155414

-- AngelCarpintero - 16 Feb 2008

Answer

Not an motion issue but ffmpeg version used to link with motion.

-- AngelCarpintero - 07 May 2008
Topic revision: r3 - 07 May 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.