Hi, I'm getting a bizarre compile error while trying to build Apache::Scoreboard 0.10 on a Mandrake Linux 9.0 system.
Here's a snippet of make output, from the first gcc command that failed to just the first few errors it generates: gcc -c -I../ -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/include -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/regex -I/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/os/unix -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fpic "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" -DPERL_THREADS DummyScoreboard.c In file included from DummyScoreboard.xs:14: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl/mod_perl.h:261: parse error before '*' token /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl/mod_perl.h:261: warning: data definition has no type or storage class /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl/mod_perl.h:264: parse error before '*' token /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl/mod_perl.h:264: warning: data definition has no type or storage class And here's a snippet from mod_perl.h with line numbers: 256 257 typedef request_rec * Apache; 258 typedef request_rec * Apache__SubRequest; 259 typedef conn_rec * Apache__Connection; 260 typedef server_rec * Apache__Server; 261 typedef cmd_parms * Apache__CmdParms; 262 typedef TiedTable * Apache__Table; 263 typedef table * Apache__table; 264 typedef module * Apache__Module; 265 typedef handler_rec * Apache__Handler; 266 typedef command_rec * Apache__Command; 267 As you can see, the first two errors happen in the middle of pretty normal looking typedef statements. This was built using perl 5.8.0 (Mandrake's rpm), gcc 3.2 (Mandrake rpm again), and mod_perl 1.27 (compiled from source). I've talked to one other person who found the same errors on Red Hat 8.0, also using Red Hat's perl 5.8.0 and gcc 3.2 rpm's and a custom built mod_perl. Googling turned up someone from last fall with the same setup and problem, but no solution. Anyone else seen this? Other troubleshooting tips? Thanks in advance, Wes Sheldahl