Menu

#1 Problem compiling camsource 0.7.0

open
nobody
None
5
2005-03-09
2005-03-09
Pierre
No

# make
make all-recursive
make[1]: Entering directory `/tmp/camsource-0.7.0'
Making all in src
make[2]: Entering directory `/tmp/camsource-0.7.0/src'
source='mod_handle.c' object='mod_handle.o' libtool=no \ depfile='.deps/mod_handle.Po'
tmpdepfile='.deps/mod_handle.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -s -O3 -march=i686
-I/usr/local/include/libxml2 -Wall -D_REENTRANT
-DPREFIX="\"/usr/local\""
-DPKGLIBDIR="\"/usr/local/lib/camsource\""
-DSYSCONFDIR="\"/usr/local/etc\"" -c `test -f
mod_handle.c || echo './'`mod_handle.c
mod_handle.c: In function `mod_close':
mod_handle.c:310: error: label at end of compound statement
make[2]: *** [mod_handle.o] Error 1
make[2]: Leaving directory `/tmp/camsource-0.7.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/camsource-0.7.0'
make: *** [all] Error 2

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Search for an rpm or a .deb package, it will word fine ^^

     
  • Sebastian Schubert

    Logged In: YES
    user_id=262048
    Originator: NO

    had the same problem today.
    got it fixed by removing the line(310) containing the label and changed the "goto inuse;" to "break;"

    after that little modification it worked without any problems (on centos4.4 and centos 5.0)
    cheers sebastian

     

Log in to post a comment.