Issues compiling BOPM 3.1.2

David Nelson <[email protected]> Fri, 14 Apr 2006 19:38:25 +0100
Newsgroups gmane.network.irc.bopm
Message-ID <[email protected]>
Hi folks,

    Trying to compile BOPM on a red hat based system (Celly 2.4, 512MB 
RAM). Configure completes successfully, however Make gives an error. 
Details are below - thanks in advance for any tips or advice you can 
offer. For reference the same code compiles fine on my desktop machine, 
running Gentoo with GCC 3.5.

    Thanks

    David



[zirc@avalon bopm-3.1.2]$ make
Making all in src
make[1]: Entering directory `/home/zirc/bopm3/bopm-3.1.2/src'
make  all-recursive
make[2]: Entering directory `/home/zirc/bopm3/bopm-3.1.2/src'
Making all in libopm
make[3]: Entering directory `/home/zirc/bopm3/bopm-3.1.2/src/libopm'
Making all in src
make[4]: Entering directory `/home/zirc/bopm3/bopm-3.1.2/src/libopm/src'
make  all-am
make[5]: Entering directory `/home/zirc/bopm3/bopm-3.1.2/src/libopm/src'
source='compat.c' object='compat.lo' libtool=yes \
depfile='.deps/compat.Plo' tmpdepfile='.deps/compat.TPlo' \
depmode=gcc3 /bin/sh ../depcomp \
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     -g 
-O2 -c -o compat.lo `test -f 'compat.c' || echo './'`compat.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c compat.c -MT compat.lo -MD -MP 
-MF .deps/compat.TPlo  -fPIC -DPIC -o .libs/compat.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c compat.c -MT compat.lo -MD -MP 
-MF .deps/compat.TPlo -o compat.o >/dev/null 2>&1
mv -f .libs/compat.lo compat.lo
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/zirc/bopm3/bopm-3.1.2/src/libopm/src'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/zirc/bopm3/bopm-3.1.2/src/libopm/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/zirc/bopm3/bopm-3.1.2/src/libopm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/zirc/bopm3/bopm-3.1.2/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/zirc/bopm3/bopm-3.1.2/src'
make: *** [all-recursive] Error 1


Some potentially useful info (?):

[zirc@avalon bopm-3.1.2]$ make --version
GNU Make 3.80
Copyright (C) 2002  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.
[zirc@avalon bopm-3.1.2]$ gcc --version
gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Copyright (C) 2005 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.