List Info

Thread: Re: SimpleServer.xs:54: error: parse error before "simpleserver_mutex"




Re: SimpleServer.xs:54: error: parse error before "simpleserver_mutex"
country flaguser name
Malaysia
2008-03-16 19:34:43
Dear Mike,

It's Perl version 5.005_03 built for sun4-solaris.
Is this version too old?

----- Original Message ----
From: Mike Taylor <mikeindexdata.com>
To: Jap Boon Churn <jbchurnyahoo.com>
Cc: net-z3950lists.indexdata.dk
Sent: Saturday, March 15, 2008 9:18:49 AM
Subject: [Net-z3950] SimpleServer.xs:54: error: parse error
before "simpleserver_mutex"

I've not seen this for myself, but it looks as though the
macros that
SimpleServer expects to have been defined by the Perl header
files are
not present.  The only reason I can imagine for this is that
you have
a very old version of Perl.  What version is it?

 _/|_    
____________________________________________________________
_______
/o ) /  Mike Taylor    <mikeindexdata.com>    http://www.miketaylor.or
g.uk
)_v__/  "If you've chosen the right data structures
and organized things
     well, the algorithms will almost always be
self-evident" --
     Rob Pike.



Jap Boon Churn writes:
 > Hi,
 > 
 > I'm trying to make the SimplerServer on Solaris 8 but
getting the error message as below. Hope someone can advise
as I can't seem to find matching problem from the net.
 > 
 > I'm already have yaz-3.0.26 installed.
 > 
 > # make
 > cc -c -D_REENTRANT -pthreads -DYAZ_POSIX_THREADS=1
-I/usr/local/include -DYAZ_HA
 > VE_XML2=1 -DYAZ_HAVE_XSLT=1 -I/usr/local/include
-I/usr/local/include/libxml2
 >    -DVERSION="1.05"
-DXS_VERSION="1.05" 
-I/usr/perl5/5.00503/sun4-solaris/C
 > ORE  SimpleServer.c
 > SimpleServer.xs:54: error: parse error before
"simpleserver_mutex"
 > SimpleServer.xs:54: warning: data definition has no
type or storage class
 > SimpleServer.xs: In function `simpleserver_free':
 > SimpleServer.xs:158: error: `PERL_GET_CONTEXT'
undeclared (first use in this fun
 > ction)
 > SimpleServer.xs:158: error: (Each undeclared
identifier is reported only once
 > SimpleServer.xs:158: error: for each function it
appears in.)
 > SimpleServer.xs: In function `bend_fetch':
 > SimpleServer.xs:853: error: `oident' undeclared (first
use in this function)
 > SimpleServer.xs:853: error: `oid' undeclared (first
use in this function)
 > SimpleServer.xs:873: error: structure has no member
named `request_format_raw'
 > SimpleServer.xs:874: error: structure has no member
named `request_format_raw'
 > SimpleServer.xs:993: error: structure has no member
named `output_format_raw'
 > SimpleServer.xs:997: error: `VAL_GRS1' undeclared
(first use in this function)
 > SimpleServer.xs: In function
`XS_Net__Z3950__SimpleServer_start_server':
 > SimpleServer.xs:1617: error: `PERL_GET_CONTEXT'
undeclared (first use in this fu
 > nction)
 > make: *** [SimpleServer.o] Error 1
 > 
 > 
 > 
 > 
 > 
 >      
____________________________________________________________
________________________
 > Never miss a thing.  Make Yahoo your home page. 
 > http://www.yahoo.com/r/hs
 > 
 > _______________________________________________
 > Net-z3950 mailing list
 > Net-z3950lists.indexdata.dk
 > http://lists.indexdata.dk/cgi-bin/mailman/listinfo/n
et-z3950





     
____________________________________________________________
________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/ca
tegory.php?category=shopping

_______________________________________________
Net-z3950 mailing list
Net-z3950lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/n
et-z3950

Re: SimpleServer.xs:54: error: parse error before "simpleserver_mutex"
user name
2008-03-17 08:48:08
Jap Boon Churn writes:
 > > I've not seen this for myself, but it looks as
though the macros
 > > that SimpleServer expects to have been defined by
the Perl header
 > > files are not present.  The only reason I can
imagine for this is
 > > that you have a very old version of Perl.  What
version is it?
 > 
 > It's Perl version 5.005_03 built for sun4-solaris.
 > Is this version too old?

It's pretty darned old!  According to the Perl history
records at:
	htt
p://search.cpan.org/dist/perl/pod/perlhist.pod
version 5.005_03 was released in March 1999 ... nine years
ago.

So, yes, I think you should upgrade to a reasonably modern
Perl.  I
would think anything from 5.8.0 upwards (July 2002) should
be fine.

 _/|_	
____________________________________________________________
_______
/o ) /  Mike Taylor    <mikeindexdata.com>    http://www.miketaylor.or
g.uk
)_v__/  "The process of being brought up, however well
it is done,
	 cannot fail to offend" -- C. S. Lewis.


_______________________________________________
Net-z3950 mailing list
Net-z3950lists.indexdata.dk
http://lists.indexdata.dk/cgi-bin/mailman/listinfo/n
et-z3950

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )