🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #163

Re: Problem compiling 3.1-beta on HP9000/3x0 (8.0)

#163
From: Irina Bam
Date: Tue, 04 Aug 1992 20:24
41 lines
1838 bytes
In article <1992Jul31.092745.14981@cs.ruu.nl> jaap@cs.ruu.nl (Jaap Romers) writes:
>Hi,
>
>I am installing 3.1-beta on HP9000/3x0 (8.0) and have the following problem:
>
>making all for HP300 in ./src/lib/IV/HP300
>..
>..
>..
>CC +p     -Dcplusplus_2_1  -Wc,-Nd4000,-Ns3300,-Ne700,-Np200 -DSYSV
>	-I../../../.././src/include -I/usr/include/X11R4  -Ac -c
>	../../InterViews/adjust.c
>CC: "../../InterViews/adjust.c", line 107: error: ambiguous call of osMath::equa
>	l():  osboolean osMath::(float , float , float )static  and  osboolean
>	osMath::( double , double , double )static  (1489)
>	*** Error code 1
>..

There is a call to the equal function in adjust.c that has some float and some
double type arguments.  You can fix that problem by putting (float *)  or
(double *)  in front of each of them.


>..
>CC +p -O    -Dcplusplus_2_1  -Wc,-Nd4000,-Ns3300,-Ne700,-Np200 -DSYSV
>	-I../../../.././src/include -I/usr/include/X11R4  -Ac -c
>	../../Dispatch/dispatcher.c
>CC: "../../Dispatch/dispatcher.c", line 43: error: two select()s with c linkage(1101)
>*** Error code 1
>..
>

There is a def. of extern "C" {
    extern int select(int, fd_set*, fd_set*, fd_set*, struct timeval*);
}
which i guess was defined somewhere else. If you comment this statement,
it should work just fine.

>jaap

irina.
Technical Details
Message-ID: <1992Aug4.202435.2523@beaver.cs.washington.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!batcomputer!cornell!uw-beaver!irina
References: <1992Jul31.092745.14981@cs.ruu.nl>

Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!rpi!batcomputer!cornell!uw-beaver!irina
From: irina@cs.washington.edu (Irina Bam)
Subject: Re: Problem compiling 3.1-beta on HP9000/3x0 (8.0)
Message-ID: <1992Aug4.202435.2523@beaver.cs.washington.edu>
Sender: news@beaver.cs.washington.edu (USENET News System)
Organization: Computer Science & Engineering, U. of Washington, Seattle
References: <1992Jul31.092745.14981@cs.ruu.nl>
Date: Tue, 4 Aug 92 20:24:35 GMT
Lines: 42