public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] make failure
@ 2007-01-10 10:50 Pablo Osuna
  2007-01-10 13:13 ` Marek Lindner
  0 siblings, 1 reply; 2+ messages in thread
From: Pablo Osuna @ 2007-01-10 10:50 UTC (permalink / raw)
  To: b.a.t.m.a.n

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [B.A.T.M.A.N.] make failure
  2007-01-10 10:50 [B.A.T.M.A.N.] make failure Pablo Osuna
@ 2007-01-10 13:13 ` Marek Lindner
  0 siblings, 0 replies; 2+ messages in thread
From: Marek Lindner @ 2007-01-10 13:13 UTC (permalink / raw)
  To: b.a.t.m.a.n


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-10 13:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-10 10:50 [B.A.T.M.A.N.] make failure Pablo Osuna
2007-01-10 13:13 ` Marek Lindner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox