RE: ngpt-2.2.0 & shared memory???

"Howell, David P" <[email protected]> Thu, 27 Feb 2003 07:57:19 -0800
Newsgroups gmane.linux.ngpt.user
Message-ID <[email protected]>
Have you run ngptc/ngptinit prior to running your application? The error
indicates that the /dev/shm/ngpt file was not found, and it's built by 
the ngptc/ngptinit utility.

It is necessary to run ngptinit before running any APPs linked with
NGPT.
The intent is that an invocation of the ngptinit utility be done early
in 
the bootup init sequence. For Red Hat 7.3 I add this to
/etc/rc.d/rc.sysinit
close to the top. The ngptinit script invokes the ngptc utility to build
/dev/shm/ngpt, which the ngpt runtime mmaps at startup.

Thanks,
Dave Howell

These are my opinions and not official opinions of Intel Corp.

David Howell
Intel Corporation
Telco Server Development
Server Products Division
Voice: (803) 461-6112  Fax: (803) 461-6292

Intel Corporation
Columbia Design Center, CBA-2
250 Berryhill Road, Suite 100
Columbia, SC 29210

[email protected]


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: Thursday, February 27, 2003 2:16 AM
To: [email protected]
Subject: [pthreads-users] ngpt-2.2.0 & shared memory???

Greetings,

I just downloaded and build the ngpt-2.2.0 package.  I'm running
Mandrake 9.0 with a 2.4.20 kernel.  I did patch the kernel with
patch-futex-2.4.19-2.0.3-2.  All the i386 bit applied cleanly.  It
barked a bit about ppc and other platforms but?????

Anyway, anything compiled against the new libraries aborts with
something like this....

pth_sync.c:96: 2650:2650 __pth_initialize_shared(): cannot open shared
area: No such file or directory
pth_init: opening/mapping shared memory failed....
Aborted

(I'm beginning to hate Linux almost as much as I hate WinDoze.  Wish my
SPARC hadn't died!  A sensible thread model like NGPT would help a lot!)

Many thanks!
-- 
Microsoft is NOT the answer.
Microsoft is the question.....
and the answer is  NO!

Proud to be 100% Microsoft free!!


__________________________________________________________________
The NEW Netscape 7.0 browser is now available. Upgrade now!
http://channels.netscape.com/ns/browsers/download.jsp 

Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
_______________________________________________
pthreads-users mailing list
[email protected]
http://www-124.ibm.com/developerworks/oss/mailman/listinfo/pthreads-user
s