tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  qi server
@ 1996-07-02  5:35 Murat Balci
  0 siblings, 0 replies; only message in thread
From: Murat Balci @ 1996-07-02  5:35 UTC (permalink / raw)
  To: tru64-unix-managers


Hi, 

Last week I asked ;

I'm trying to compile qi serverver ( version 3.1.B7 ) but after a while I
get a message like 

/usr/lib/cmplrs/cc/cfe: Error: ph.c, line 1045: storage size for 'junk'
isn't known
     union wait junk;
 ---------------^
*** Exit 1
Stop.
*** Exit 1
Stop.

and stops. Do you have any idea ? 

- o - 

Thanx to :

Dave Newbold <phdmn@siva.bris.ac.uk>
Jim Neeland <neeland@madmax.hrl.hac.com>
Wayne Jennings <Wayne.Jennings@jcu.edu.au>

- o -

Dave Newbold <phdmn@siva.bris.ac.uk> said :

This is a well-known problem with the DU include files (or with people's  code,
if you care to look at it that way). Having said that, I can't acutally
remember the solution... is this the one where you have to define the BSD  flag?

Anyway, it's in the archives, almost certainly... but I'll have a look later
when I get the time. Try looking at the relevent system include file (wait.h?),
and you'll probably see that there's a compile-time flag that needs to be  
set to include the definition of struct wait.

- o -

Jim Neeland <neeland@madmax.hrl.hac.com> said :

        I got my qi to build successfully by the following:
In configs/defaults, I changed the line $Cflags from:
$Cflags = "-I$SrcDir/include ";
   to
$Cflags = "-I$SrcDir/include -DWAIT_INT";    (added -DWAIT_INT)

        Hope this is all you need.

- o -

Wayne Jennings <Wayne.Jennings@jcu.edu.au> said :

I think all you need to do is make sure that you have defined
-DWAIT_INT (for DEC UNIX) in your compiles. You do that when you go
through the configure process you add it in to the $Cflags
definition in the config file.

Can I also ask as to where you got the version of qi from. I am way
back in versions and I cannot find it at the original source
anymore.

>> I got it from ftp://nic.switch.ch/software/sources/network/qi

- o - 

Yes when I added the -DWAIT_INT option its compiled easily. 
Although it compiled easily unfortunately I havent succed in running ph. I
followed the steps given, and made a simple database, but when I make a
query by ph it always gives 

Oops; lost connection to server.

message, and exits. However as far as I read from FAQ, this is a well
known event, and gives some clues to overcome it, but I havent succed in
yet, although I did each of them. Do you have any idea ?
Sincerely.
murat.



--
Murat Balci	UNIX sys. Admin	  http://bornova.ege.edu.tr/~balci
s-mail : Ege Universitesi B.A.U.M - Bornova, IZMIR, TURKIYE.
e-mail : balci@bornova.ege.edu.tr   Phone :+(90)(232)3881080-253

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1996-07-02  5:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-07-02  5:35 SUMMARY: qi server Murat Balci

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox