Hello,
I am getting errors when compiling bugle-0.0.20071009 in Mandriva 2008.0:
CCACHE_DISABLE=1 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I. -I./budgielib -DLIBDIR=\"/usr/local/lib\" -DPKGLIBDIR=\"/usr/local/lib/bugle\" -g -O2 -fdump-translation-unit -c ./src/data/gl.c -o src/data/gl.o
rm -f src/data/gl.o
mv gl.c.`test -f gl.c.t00.tu && echo t00.`tu src/data/gl.tu
mv: cannot stat `gl.c.tu': No such file or directory
make: *** [src/data/gl.tu] Error 1
gcc 4.2.2 / 4.3 creates gl.c.001t.tu instead of gl.c.t00.tu
Is it ok to modify Makefile.am->automake at this point?
When i tried with gcc 4.2.2 it got hanged in infinite loop when compiling and with 4.3 i get errors starting like that:
echo "{ global:" > src/.libs/libbugleutils.ver
cat src/.libs/libbugleutils.exp | sed -e "s/\(.*\)/\1;/" >> src/.libs/libbugleutils.ver
echo "local: *; };" >> src/.libs/libbugleutils.ver
gcc -std=gnu99 -shared src/.libs/gltypes.o common/.libs/safemem.o common/.libs/protocol.o common/.libs/has
common/.libs/safemem.o: In function `feof_unlocked':
/usr/include/bits/stdio.h:113: multiple definition of `feof_unlocked'
src/.libs/gltypes.o:/usr/include/bits/stdio.h:113: first defined here
common/.libs/safemem.o: In function `ferror_unlocked':
/usr/include/bits/stdio.h:120: multiple definition of `ferror_unlocked'
src/.libs/gltypes.o:/usr/include/bits/stdio.h:120: first defined here
Seems that is happening with previous bugle version as well.
Any ideas how to fix that?