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
Hi,
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 ... ======= ...
> .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
b.a.t.m.a.n@lists.open-mesh.org