List Info

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




SimpleServer.xs:54: error: parse error before "simpleserver_mutex"
country flaguser name
Malaysia
2008-03-14 19:24:32
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

SimpleServer.xs:54: error: parse error before "simpleserver_mutex"
user name
2008-03-14 20:18:49
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

_______________________________________________
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 )