BOPM compile error

"Capri Gomez" <[email protected]> Wed, 24 Jan 2007 19:57:30 -0500
Newsgroups gmane.network.irc.bopm
Message-ID <[email protected]>
Hello


I am a IRC Server owner running Unreal 3.2 with Anope services and would
like to make use of your software, but i am having difficulties getting it
to compile, i tried tonight after giving up months ago, but to no avail. A
proxy monitor would be greatly useful to me and I thank you in advance for
any help or assistance you can give me. Enclosed is the exact output of the
unsuccessful compilation. i have also confirmed that my version of make is
indeed the GNU version. I am also running Blag Linux version 60000.

Thanks,
Capri Gomez
error.txt (text/plain, 12 KB)
[camell@Midgar bopm-3.1.2]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for ANSI C header files... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for strftime... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for working snprintf... yes
checking for working vsnprintf... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for libraries containing socket functions... -lc
checking for inet_aton... yes
checking for inet_pton... yes
checking for socket... yes
checking for strdup... yes
checking for strstr... yes
checking for gethostbyname... yes
checking for gethostbyname2... yes
checking whether byte ordering is bigendian... no
checking for int... yes
checking size of int... 4
checking for short... yes
checking size of short... 2
checking for long... yes
checking size of long... 4
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/setup.h
config.status: src/setup.h is unchanged
config.status: executing depfiles commands
configure: configuring in src/libopm
configure: running /bin/sh './configure' --prefix=${HOME}/bopm  --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for libraries containing socket functions... -lc
checking for ANSI C header files... (cached) yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for strings.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for working snprintf... yes
checking for working vsnprintf... yes
checking for inet_aton... yes
checking for inet_pton... yes
checking for gethostbyname... yes
checking for gethostbyname2... yes
checking whether byte ordering is bigendian... no
checking for socket in -lsocket... no
checking for gethostbyname in -lnsl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating doc/Doxyfile
config.status: creating src/setup.h
config.status: src/setup.h is unchanged
config.status: executing depfiles commands
##############################################################################
Everything is now configured.  To compile libopm now, just type make.  It
requires GNU Make, which may be installed as gmake on your system.

libopm will be installed in /home/camell/bopm.  To change this, run:
   ./configure --prefix=DIRECTORY

##############################################################################

##############################################################################
Everything is now configured, but you can find some more (infrequently
changed) options in options.h.  To compile BOPM now, just type make.  It
requires GNU Make, which may be installed as gmake on your system.

bopm will be installed in ${HOME}/bopm.  To change this, run:
   ./configure --prefix=DIRECTORY

If possible, PLEASE CONTRIBUTE TO OUR DNSBL BY REPORTING YOUR PROXIES!!

o What is DNSBL?
    It's the database of open proxies we provide and your BOPM checks
    against BEFORE bothering to scan the client, therefore killing KNOWN
    proxies faster and more efficiently.

o Why should my network contribute?
    Because the more that do, the more proxies we know about and the
    better the service becomes for all BOPM users including YOU!  People
    are also using our DNSBL to block spam (spammers use open proxies
    too!) so you'd be helping the whole Internet.

o Sounds complicated, what do you need?
    BOPM is already designed to report the proxies you find, but it is
    turned off by default.  To enable it all you have to do is:
      - Set DNSBL_FROM to a unique email address that we can contact you
        at if there is ever any problem with your reports.
      - Email us now at [email protected] to tell us what you have
        set your DNSBL_FROM to.
      - Set DNSBL_TO to [email protected].
      - Set SENDMAIL to contain the path to your sendmail binary (even
        if you don't use sendmail you will have a binary named sendmail in
        /usr/sbin or /usr/lib.

For more info about the people who already report their proxies, please
see http://www.blitzed.org/bopm/   - Thank you!
##############################################################################

[camell@Midgar bopm-3.1.2]$ make
Making all in src
make[1]: Entering directory `/home/camell/bopm-3.1.2/src'
make  all-recursive
make[2]: Entering directory `/home/camell/bopm-3.1.2/src'
Making all in libopm
make[3]: Entering directory `/home/camell/bopm-3.1.2/src/libopm'
Making all in src
make[4]: Entering directory `/home/camell/bopm-3.1.2/src/libopm/src'
make  all-am
make[5]: Entering directory `/home/camell/bopm-3.1.2/src/libopm/src'
source='config.c' object='config.lo' libtool=yes \
        depfile='.deps/config.Plo' tmpdepfile='.deps/config.TPlo' \
        depmode=gcc3 /bin/sh ../depcomp \
        /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -c -o config.lo `test -f 'config.c' || echo './'`config.c
rm -f .libs/config.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c config.c -MT config.lo -MD -MP -MF .deps/config.TPlo  -fPIC -DPIC -o .libs/config.lo
config.c: In function 'libopm_config_create':
config.c:93: error: invalid lvalue in assignment
config.c:97: error: invalid lvalue in assignment
config.c:102: error: invalid lvalue in assignment
config.c: In function 'libopm_config_set':
config.c:191: error: invalid lvalue in assignment
make[5]: *** [config.lo] Error 1
make[5]: Leaving directory `/home/camell/bopm-3.1.2/src/libopm/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/camell/bopm-3.1.2/src/libopm/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/camell/bopm-3.1.2/src/libopm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/camell/bopm-3.1.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/camell/bopm-3.1.2/src'
make: *** [all-recursive] Error 1
[camell@Midgar bopm-3.1.2]$