Skip to contentSkip to conversation

make failure

B.A.T.M.A.N. Pablo Osuna 2 participants 2 messages Jan 10, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

We are having a problem with the first release of B.A.T.M.A.N. When we try to compile it (trying both gcc-3.4 and 4.0), we got the following error:

root@Pablo:/home/pablo/Desktop/batman# make
gcc -Wall -O0 -g3   -c -o batman.o batman.c
batman.c: En la función `send_outstanding_packets':
batman.c:889: error: error sintáctico before '<<' token
batman.c:891: error: error sintáctico before ')' token
batman.c:894: error: error sintáctico before '>>' token
batman.c:896: error: error sintáctico before ')' token
batman.c:891: aviso: statement with no effect
batman.c:896: aviso: statement with no effect
batman.c: En el nivel principal:
batman.c:927: error: error sintáctico before '}' token
make: *** [batman.o] Error 1

We are using Ubuntu distro.

Regards:

Pablo

#1 lore raw

Hi,

Quoted 5 lines
root@Pablo:/home/pablo/Desktop/batman# make
gcc -Wall -O0 -g3   -c -o batman.o batman.c
batman.c: En la función `send_outstanding_packets':
batman.c:889: error: error sintáctico before '<<' token
batman.c:894: error: error sintáctico before '>>' token

which version are you trying to compile ? From which source ?
In the current SVN this error doesn't exist. But it looks like a typical SVN <> make problem: Did you checkout the source code more than once and altered your local copy ? May be you just deleted some whitespace or so ?! SVN would recognize your changes and tries to merge the code.

This looks like that:
<<<<<<< .mine
...
=======
...

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

.r2

Try a fresh checkout from here: svn co https://dev.open-mesh.net/svn/batman/
or the stable release http://downloads.open-mesh.net/batman/batman-0.1.tgz

Regards,
Marek