Brilliant - that works fine.
Many thanks.
Phil
Mike Taylor wrote:
> Phil Cross writes:
> > Actually I'm still getting the same error for the
other statement
> > mentioned in the initial error output - for
> >
> > Z_StringOrNumeric *son
> >
> > Fresh error message:
> >
> > SimpleServer.xs: In function `apt2perl':
> > SimpleServer.xs:430: parse error before `*'
> > SimpleServer.xs:433: `son' undeclared (first use
in this function)
> > SimpleServer.xs:433: (Each undeclared identifier
is reported only once
> > SimpleServer.xs:433: for each function it appears
in.)
> > *** Error code 1
> > make: Fatal error: Command failed for target
`SimpleServer.o'
> >
> > Is this the same problem?
>
> Argh!
>
> It is indeed the same problem. I have now fixed this
instance of it,
> too, and released SimpleServer 1.09 containing the fix.
It will
> shortly appear on CPAN; until then, you can get it
from
> http://www.miketaylor.org.uk/tmp/Net-Z3950-Si
mpleServer-1.09.tar.gz
>
> A hint to everyone else out there who devlops
"portable" Perl modules
> using GCC: build your makefiles using:
> perl Makefile.PL
OPTIMIZE="-Wdeclaration-after-statement"
>
> This will ensure that the warning option is passed
through the
> invocations of GCC, so that it will let you know if you
do something
> that was not standard in 1990. (Sun's compiler has
evidently not yet
> caught up with the 1999 C standard.)
>
> _/|_
____________________________________________________________
_______
> /o ) / Mike Taylor <mike indexdata.com> http://www.miketaylor.or
g.uk
> )_v__/ "Thinking that we're getting older and
wiser, when we're just
> getting old" -- Dave Gilmour, "Near The
End"
>
--
---------------------------------
Phil Cross
Senior Technical Researcher
Institute for Learning and Research Technology
University of Bristol
8 - 10 Berkeley Square
Bristol, BS8 1HH
Fax: +44 (0)117 928 7112
E-mail: phil.cross bristol.ac.uk
URL: http://www.ilrt.bris.ac.uk/aboutus/staff?search=cmpac
-----------------------------------
_______________________________________________
Net-z3950 mailing list
Net-z3950 lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/n
et-z3950
|