Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
[parent not found: <01BC53BA.C4FBF3C0@anolis.outer.net>]
* RE: Apache Compilations
@ 1997-04-28 15:39 Adam Biskobing
  0 siblings, 0 replies; 12+ messages in thread
From: Adam Biskobing @ 1997-04-28 15:39 UTC (permalink / raw)


I am using Redhat 4.0, fresh install.  I haven't touched libc or gcc

----------
From: 	Richard Henderson[SMTP:richard@stommel.tamu.edu]
Sent: 	Monday, April 28, 1997 5:34 AM
To: 	axp-list@redhat.com
Subject: 	Re: Apache Compilations

> It errors when it hits the SHM_R and SHM_W.  I do not know what they are 
> and they are not defined anywhere else in the distribution.  I tried 
> compiling it on an i386 linux system and it worked beautifully.  Can 
> anyone shed some light onto this problem or tell me what include file 
> these are in?

They should be included by <sys/shm.h>. 

What distribution version do you have installed?  I see it correctly
defined in RH4.1 and glibc 2.0.x, and I happen to know that there were
scant changes from RH4.0.

r~

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Apache Compilations
@ 1997-04-28 14:58 Adam Biskobing
  0 siblings, 0 replies; 12+ messages in thread
From: Adam Biskobing @ 1997-04-28 14:58 UTC (permalink / raw)


I checked on my alpha and i386 systems and could not find that header anywhere. the closest I have to it is shm.h and there is no mention of SHM_R or SHM_W

----------
From: 	Michal Jaegermann[SMTP:michal@ellpspace.math.ualberta.ca]
Sent: 	Monday, April 28, 1997 3:27 AM
To: 	axp-list@redhat.com
Subject: 	Re: Apache Compilations

> 
> I have grep'd the whole distribution and the /usr/include dir and it's =
> sub dir's and cannot find any mention of SHM_R or SHM_W.  Has anyone =
> else tried to compile this?  any luck?

Hm!
$ find /usr/include -follow -type f | xargs grep SHM_R
/usr/include/sys/shm_buf.h:#define SHM_R                0400	 /* or S_IRUGO from <linux/stat.h> */
....

and SHM_W is defined also there as 0200.

This is on Alpha after few "upgrades" to 4.1.  Do I have "legacy"
headers?

  Michal

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <01BC53B1.7748AE60@anolis.outer.net>]
* RE: Apache Compilations
@ 1997-04-28 13:52 Adam Biskobing
  0 siblings, 0 replies; 12+ messages in thread
From: Adam Biskobing @ 1997-04-28 13:52 UTC (permalink / raw)


I have grep'd the whole distribution and the /usr/include dir and it's sub dir's and cannot find any mention of SHM_R or SHM_W.  Has anyone else tried to compile this?  any luck?

----------
From: 	Terry L. Ridder[SMTP:terrylr@edgar.blauedonau.com]
Sent: 	Sunday, April 27, 1997 6:36 PM
To: 	axp-list@redhat.com
Subject: 	Re: Apache Compilations

hello all;

the shm being referenced here is shared memory.

you need to look in the include file shm.h and see
if they are defined there. they should be defined
to something close if not the same as for linux/x86.

On Mon, 28 Apr 1997, josh wrote:

> Adam -
> 
> Some tell me if I'm completely clueless here, but isn't SHM a windowing
> acceleration extension in the Motif libraries? I've had problems working
> with code in the past where I've had to comment out calls to the MIT-SHM
> resources, or in the case of iNES (Nintendo emulator), I can run the OSF/1
> binary if I start iNES with the -noshm flag. However, I have no idea why
> Apache would be referencing MWM features (which is why I think this SHM
> code is completely different SHM code). Oh, well. You could always
> download the Apache Linux/Alpha binary.
> 
> Regards,
> Josh
> 
> joshua grubman * 4261 duke st. d12 * alexandria, va 22304
> 
> On Sun, 27 Apr 1997, Adam Biskobing wrote:
> 
> > 	I am trying to compile Apache 2beta8 on my udb running redhat 
> > 4.0.  I do not know all that much about C.  It is erroring out on the 
> > following section:
> > 
> >     if ((shmid = shmget(shmkey, SCOREBOARD_SIZE, IPC_CREAT|SHM_R|SHM_W)) 
> > == -1)
> >     {
> >         perror("shmget");
> >         fprintf(stderr, "httpd: Could not call shmget\n");
> >         exit(1);
> >     }
> > 
> > It errors when it hits the SHM_R and SHM_W.  I do not know what they are 
> > and they are not defined anywhere else in the distribution.  I tried 
> > compiling it on an i386 linux system and it worked beautifully.  Can 
> > anyone shed some light onto this problem or tell me what include file 
> > these are in?
> > 
> > --
> > To unsubscribe: send e-mail to axp-list-request@redhat.com with
> > 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> > 
> 
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
> 

Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."

"And every hour of every day I'm learning more
the more I learn, the less I know about before
the less I know, the more I want to look around
digging deep for clues on higher ground."
==Higher Ground== UB40

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Apache Compilations
@ 1997-04-28 13:00 Lonnie Lewis
  0 siblings, 0 replies; 12+ messages in thread
From: Lonnie Lewis @ 1997-04-28 13:00 UTC (permalink / raw)


+>From josh@dn.net Sun Apr 27 23:08:46 1997
+>Resent-Date: 28 Apr 1997 04:08:46 -0000
+>Resent-Cc: recipient list not shown:;;@dragon.ti.com
+>MBOX-Line: From axp-list-request@redhat.com  Mon Apr 28 00:08:44 1997
+>Date: Mon, 28 Apr 1997 00:07:03 -0400 (EDT)
+>From: josh <josh@dn.net>
+>X-Sender: josh@sassl
+>To: axp-list@redhat.com
+>Subject: Re: Apache Compilations
+>MIME-Version: 1.0
+>Resent-Message-ID: <"6ahvg3.0.t67.CB2Pp"@mail2.redhat.com>
+>Resent-From: axp-list@redhat.com
+>X-Mailing-List: <axp-list@redhat.com> archive/latest/5497
+>X-Loop: axp-list@redhat.com
+>Resent-Sender: axp-list-request@redhat.com
+>X-URL: http://www.redhat.com
+>
+>Adam -
+>
+>Some tell me if I'm completely clueless here, but isn't SHM a windowing
+>acceleration extension in the Motif libraries? I've had problems working
+>with code in the past where I've had to comment out calls to the MIT-SHM
+>resources, or in the case of iNES (Nintendo emulator), I can run the OSF/1
+>binary if I start iNES with the -noshm flag. However, I have no idea why
+>Apache would be referencing MWM features (which is why I think this SHM
+>code is completely different SHM code). Oh, well. You could always
+>download the Apache Linux/Alpha binary.

This has to do with allocating shared memory.

+>
+>Regards,
+>Josh
+>
+>joshua grubman * 4261 duke st. d12 * alexandria, va 22304
+>
+>On Sun, 27 Apr 1997, Adam Biskobing wrote:
+>
+>> 	I am trying to compile Apache 2beta8 on my udb running redhat 
+>> 4.0.  I do not know all that much about C.  It is erroring out on the 
+>> following section:
+>> 
+>>     if ((shmid = shmget(shmkey, SCOREBOARD_SIZE, IPC_CREAT|SHM_R|SHM_W)) 
+>> == -1)
+>>     {
+>>         perror("shmget");
+>>         fprintf(stderr, "httpd: Could not call shmget\n");
+>>         exit(1);
+>>     }
+>> 
+>> It errors when it hits the SHM_R and SHM_W.  I do not know what they are 
+>> and they are not defined anywhere else in the distribution.  I tried 
+>> compiling it on an i386 linux system and it worked beautifully.  Can 
+>> anyone shed some light onto this problem or tell me what include file 
+>> these are in?
+>> 
+>> --
+>> To unsubscribe: send e-mail to axp-list-request@redhat.com with
+>> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
+>> 
+>
+>--
+>To unsubscribe: send e-mail to axp-list-request@redhat.com with
+>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
+>

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <Pine.LNX.3.95.970427235941.6114C-100000@sassl>]
* Apache Compilations
@ 1997-04-28  3:32 Adam Biskobing
  0 siblings, 0 replies; 12+ messages in thread
From: Adam Biskobing @ 1997-04-28  3:32 UTC (permalink / raw)


I am trying to compile Apache 2beta8 on my udb running redhat 
4.0.  I do not know all that much about C.  It is erroring out on the 
following section:

    if ((shmid = shmget(shmkey, SCOREBOARD_SIZE, IPC_CREAT|SHM_R|SHM_W)) 
== -1)
    {
        perror("shmget");
        fprintf(stderr, "httpd: Could not call shmget\n");
        exit(1);
    }

It errors when it hits the SHM_R and SHM_W.  I do not know what they are 
and they are not defined anywhere else in the distribution.  I tried 
compiling it on an i386 linux system and it worked beautifully.  Can 
anyone shed some light onto this problem or tell me what include file 
these are in?

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~1997-04-28 15:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <Pine.A32.3.91.970427222801.15614A-100000@smtp.outer.net>
1997-04-28  4:07 ` Apache Compilations josh
1997-04-28 15:34 ` Richard Henderson
     [not found] <01BC53BA.C4FBF3C0@anolis.outer.net>
1997-04-28 15:25 ` Terry L. Ridder
1997-04-28 15:42 ` Michal Jaegermann
1997-04-28 15:39 Adam Biskobing
  -- strict thread matches above, loose matches on Subject: below --
1997-04-28 14:58 Adam Biskobing
     [not found] <01BC53B1.7748AE60@anolis.outer.net>
1997-04-28 14:04 ` Andreas Johansson
1997-04-28 14:27 ` Michal Jaegermann
1997-04-28 13:52 Adam Biskobing
1997-04-28 13:00 Lonnie Lewis
     [not found] <Pine.LNX.3.95.970427235941.6114C-100000@sassl>
1997-04-28  4:36 ` Terry L. Ridder
1997-04-28  3:32 Adam Biskobing

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