RRIDXP 0.2 compile prob on RH 7.3 and quick and dirty workaround
Sandro Poppi <[email protected]> Fri, 27 Sep 2002 12:31:36 +0200 (MEST)
| Newsgroups | gmane.network.beep.roadrunner.idxp |
|---|---|
| Message-ID | <[email protected]> |
Hi there, when compiling rridxp 0.2 on a RedHat 7.3 system make stops with the following error: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -g -O2 -c rridxp.c -fPIC -DPIC -o .libs/rridxp.lo rridxp.c: In function `set_greeting_active': rridxp.c:156: parse error before `)' rridxp.c: In function `frame_available': rridxp.c:240: parse error before `)' rridxp.c:294: parse error before `)' rridxp.c:339: parse error before `)' rridxp.c:346: parse error before `)' rridxp.c:360: parse error before `)' rridxp.c:365: parse error before `)' rridxp.c: In function `handle_greeting': rridxp.c:503: parse error before `)' rridxp.c:723: parse error before `)' rridxp.c: In function `rr_idxp_start': rridxp.c:821: parse error before `)' make[2]: *** [rridxp.lo] Error 1 This happens because both variables G_HAVE_ISO_VARARGS and G_HAVE_GNUC_VARARGS are defined and in librr/rr-debug.h if G_HAVE_ISO_VARARGS is defined G_HAVE_GNUC_VARARGS is not checked resulting in the mentioned error (checked cpp output). Since I'm not very familiar with autoconf/automake my quick and dirty workaround is to comment out the part in librr/rr-debug.h regarding G_HAVE_ISO_VARARGS, loosing portability. You guys for sure will find a much better (and of course portable) solution on that issue. Regards, Sandro -- Werden Sie mit uns zum "OnlineStar 2002"! Jetzt GMX wählen - und tolle Preise absahnen! http://www.onlinestar.de