tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Murat Balci <balci () bornova ! ege ! edu ! tr>
To: tru64-unix-managers
Subject: SUMMARY:  qi server
Date: Tue, 02 Jul 1996 05:35:25 +0000	[thread overview]
Message-ID: <96076335021215.tru64-unix-managers.marc@archive.invalid> (raw)


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

                 reply	other threads:[~1996-07-02  5:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

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