From: ArAge <Ar...@gm...> - 2007-01-12 23:38:29
|
Hi there! Thanks for your quick response! But I don't exacly know what you = referring to. I've googled a bit trying to find something about the so = called linux headers but how can I check whether headers are missing? = Can you be a little more specific? Thanks in advance! ----- Original Message -----=20 From: ope...@ya...=20 To: Motion discussion list=20 Sent: Friday, January 12, 2007 4:48 PM Subject: Re: [Motion-user] problem make-ing motion-3.2.7 It seem to me that you might be missing the linux headers.=20 ----- Original Message ---- From: Ar Age <Ar...@gm...> To: mot...@li... Sent: Friday, January 12, 2007 9:16:08 AM Subject: [Motion-user] problem make-ing motion-3.2.7 Hi everyone! First of all I like to say I'm a newbie in compiling stuff and need = some help to understand what's going on. I tried compiling motion-3.2.7 but I get a lot of warnings and errors = using make. This is what I've done: 1) ./configure --without-v4l (I'm only using netcams) 2) make > make.log 2>&1 (to produce an error log of make) and the make.log file contains: Welcome to the setup procedure for Motion, the motion detection = daemon! If you get error messages during this procedure, please report them to the = mailing list. The Motion Guide contains all information you should need to get Motion up = and running. Run "make updateguide" to download the latest version of the Motion = Guide. Version: 3.2.7 Platform: Linux (if this is incorrect, please read README.FreeBSD) Generating dependencies, please wait... In file included from motion.c:10: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from motion.c:10: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from conf.c:26: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from conf.c:26: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from draw.c:13: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from draw.c:13: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from video.c:11: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from video.c:11: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from netcam.c:40: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from netcam.c:40: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from netcam_ftp.c:11: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from netcam_ftp.c:11: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from netcam_jpeg.c:15: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from netcam_jpeg.c:15: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from netcam_wget.c:26: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from netcam_wget.c:26: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from track.c:11: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from track.c:11: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from alg.c:9: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from alg.c:9: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from event.c:13: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from event.c:13: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from picture.h:13, from picture.c:11: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from picture.h:13, from picture.c:11: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from rotate.h:14, from rotate.c:32: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from rotate.h:14, from rotate.c:32: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from webhttpd.c:13: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from webhttpd.c:13: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition In file included from picture.h:13, from webcam.c:21: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from picture.h:13, from webcam.c:21: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition Compiling Motion object files... = -------------------------------------------------------------------------= ------- gcc -g -O2 -DWITHOUT_V4L -DTYPE_32BIT=3D"int" -DHAVE_BSWAP -Wall = -DVERSION=3D\"3.2.7\" -D_REENTRANT -Dsysconfdir=3D\"/usr/local/etc\" = -c motion.c -o motion.o In file included from motion.c:10: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from motion.c:10: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition motion.c: In function `motion_log': motion.c:2333: warning: implicit declaration of function `strerror_r' motion.c:2333: warning: passing arg 2 of `strcat' makes pointer from = integer without a cast gcc -g -O2 -DWITHOUT_V4L -DTYPE_32BIT=3D"int" -DHAVE_BSWAP -Wall = -DVERSION=3D\"3.2.7\" -D_REENTRANT -Dsysconfdir=3D\"/usr/local/etc\" = -c conf.c -o conf.o In file included from conf.c:26: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from conf.c:26: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition gcc -g -O2 -DWITHOUT_V4L -DTYPE_32BIT=3D"int" -DHAVE_BSWAP -Wall = -DVERSION=3D\"3.2.7\" -D_REENTRANT -Dsysconfdir=3D\"/usr/local/etc\" = -c draw.c -o draw.o In file included from draw.c:13: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from draw.c:13: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition gcc -g -O2 -DWITHOUT_V4L -DTYPE_32BIT=3D"int" -DHAVE_BSWAP -Wall = -DVERSION=3D\"3.2.7\" -D_REENTRANT -Dsysconfdir=3D\"/usr/local/etc\" = -c video.c -o video.o In file included from video.c:11: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from video.c:11: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition gcc -g -O2 -DWITHOUT_V4L -DTYPE_32BIT=3D"int" -DHAVE_BSWAP -Wall = -DVERSION=3D\"3.2.7\" -D_REENTRANT -Dsysconfdir=3D\"/usr/local/etc\" = -c netcam.c -o netcam.o In file included from netcam.c:40: motion.h:21: warning: `__USE_GNU' redefined /usr/include/features.h:125: warning: this is the location of the = previous definition In file included from netcam.c:40: motion.h:37: warning: `_LINUX_TIME_H' redefined /usr/include/linux/time.h:2: warning: this is the location of the = previous definition netcam.c: In function `netcam_connect': netcam.c:621: `socklen_t' undeclared (first use this function) netcam.c:621: (Each undeclared identifier is reported only once netcam.c:621: for each function it appears in.) netcam.c:621: parse error before `len' netcam.c:635: warning: implicit declaration of function `getaddrinfo' netcam.c:638: warning: implicit declaration of function `gai_strerror' netcam.c:648: dereferencing pointer to incomplete type netcam.c:649: warning: implicit declaration of function `freeaddrinfo' netcam.c:704: `len' undeclared (first use this function) make: *** [netcam.o] Error 1 Q1.Why are there so many warnings? Is that normal when compiling?=20 Q2.There seemed to be something wrong in netcam.c but what exactly? Thanks for helping me out! Best regards, ArAge=20 --=20 Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!=20 Ideal f=FCr Modem und ISDN: http://www.gmx.net/de/go/smartsurfer = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys - and earn cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ Motion-user mailing list Mot...@li... https://lists.sourceforge.net/lists/listinfo/motion-user http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome -------------------------------------------------------------------------= ----- = -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to = share your opinions on IT & business topics through brief surveys - and earn cash = http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV -------------------------------------------------------------------------= ----- _______________________________________________ Motion-user mailing list Mot...@li... https://lists.sourceforge.net/lists/listinfo/motion-user http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome |