Hi Alex, upgrading ur compiler might solve the problem. I encountered the same problem when using stable version of the compiler in debian. It works fine after I upgrade my build-essential to testing version.
Cheers! wp On Tue, 08 Mar 2005 11:49:31 -0600, Alex Mauer <[EMAIL PROTECTED]> wrote: > On Sat, 05 Mar 2005 13:36:34 +0100, Matthias Wimmer wrote: > > > Please test this beta version of the server and report your feedback, > > so that we can fix existing bugs before we release the final version of > > jabberd 1.4.4. > > I had some trouble compiling this on Redhat 7.3 w/ gcc 2.96. (yes, I know > it sucks) Error was as follows: > gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../jabberd -I../jabberd/lib -g -O2 -c > xdb_sql.c -fPIC -DPIC -o .libs/xdb_sql.o > xdb_sql.c: In function `xdb_sql_phandler': > xdb_sql.c:513: parse error before `char' > xdb_sql.c:514: `query' undeclared (first use in this function) > xdb_sql.c:514: (Each undeclared identifier is reported only once > xdb_sql.c:514: for each function it appears in.) xdb_sql.c:542: parse > error before `char' > xdb_sql.c:569: parse error before `char' > > Declaring the char *query at the top fixed the compile error, but I don't > know if this is the "right way" to do it. > > -- > Bad - You get pulled over for doing 90 in a school zone and you're drunk > off your ass again at three in the afternoon. > Worse - The cop is drunk too, and he's a mean drunk. FUCK! - A mean drunk > that's actually a swarm of semi-sentient flesh-eating beetles. > pgp/gpg key id: 51192FF2 @ subkeys.pgp.net > > _______________________________________________ > jdev mailing list > [email protected] > http://mail.jabber.org/mailman/listinfo/jdev > -- Est Solaris Oth Mithas _______________________________________________ jdev mailing list [email protected] http://mail.jabber.org/mailman/listinfo/jdev
