[Yazlist] gfs/ztest source files

Sieburgh,Wouter Wouter.Sieburgh at oclc.org
Tue Mar 22 17:20:31 CET 2011


Thanks, it was the -lyaz_server that I missed !

 

Wouter

 

 

From: yazlist-bounces at lists.indexdata.dk
[mailto:yazlist-bounces at lists.indexdata.dk] On Behalf Of Dennis
Schafroth
Sent: Tuesday, March 22, 2011 4:27 PM
To: Discussion on the YAZ Z39.50 toolkit
Subject: Re: [Yazlist] gfs/ztest source files

 

 

On 22/03/2011, at 16.11, Sieburgh,Wouter wrote:





Hi

 

I just started using yaz, and have some basic questions: I managed to
compile the toolkit, and have the ztest binary running, I can connect to
that using a yaz-client.

 

Now I'd like to use that ztest as a starting point to make my own
server, just to get some confidence.

Therefore, I'm trying to find out what the set of files is that I should
compile/link in order to get this ztest, I found out I need:

 

dummy-opac.c,   read-marc.c ,  read-grs.c,  ztest.c

 

I created a Makefile etc so that it compiles fine, but then: the
function statserv_main is missing when I try to link the set of files.

 

The only file implementing statserv_main I found was src/statserv.c. If
I add this file however, I'm missing a lot of other externals again..

 

I wonder if I'm on the right track here: is there another way to get the
set of files to build ztest with?

 

Perhaps the gfs-example in the ztest directory is a cleaner starting
point. You would need to include libyaz_server (and libyaz) to make a
server.  

 

The Makefile in that directory should also tell your the dependencies
for ztest. 

 

cheers, 

:-Dennis Schafroth

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.indexdata.dk/pipermail/yazlist/attachments/20110322/ade4cf1a/attachment-0001.htm>


More information about the Yazlist mailing list