Solaris 2.5 shm problem

Solaris 2.5 shm problem

Post by Bria » Thu, 25 Mar 1999 04:00:00



Hi,

  I have problem when I make my share memory program in Solaris 2.5 by GCC.
The following message is shown when I complier:

Undefined                       first referenced
 symbol                             in file
Ftok                                /var/tmp/cca001qC1.o
Shmat                               /var/tmp/cca001qC1.o
Shmget                              /var/tmp/cca001qC1.o

Can anyone help me?
Thanks in advance.

--
==============================================
Brian Tse Min Chen  3?A
Intelligent Automation Lab.
Department of Electrical Engineering
National Chung Cheng University
Tel: 886-5-2720411 ext. 7448
Mobile Phone: 0935-356818
Fax: 886-5-2720729
==============================================

 
 
 

Solaris 2.5 shm problem

Post by Michael Douglas » Fri, 26 Mar 1999 04:00:00


: Hi,

:   I have problem when I make my share memory program in Solaris 2.5 by GCC.
: The following message is shown when I complier:

: Undefined                       first referenced
:  symbol                             in file
: Ftok                                /var/tmp/cca001qC1.o
: Shmat                               /var/tmp/cca001qC1.o
: Shmget                              /var/tmp/cca001qC1.o

Are you calling those functions with the first letters capitolized in your
code?  C is very case sensitive.

--
Michael Douglass
Texas Networking, Inc.

  Any sufficiently advanced bug is indistinguishable for a feature.
    -- from some indian guy

 
 
 

Solaris 2.5 shm problem

Post by Elias Martenso » Fri, 26 Mar 1999 04:00:00



> Hi,

>   I have problem when I make my share memory program in Solaris 2.5 by GCC.
> The following message is shown when I complier:

> Undefined                       first referenced
>  symbol                             in file
> Ftok                                /var/tmp/cca001qC1.o
> Shmat                               /var/tmp/cca001qC1.o
> Shmget                              /var/tmp/cca001qC1.o

You've mis-spelled the names. Double-check the manual page.

--
Elias Martenson
elias.martenson (atsign) sweden.sun.com

 
 
 

Solaris 2.5 shm problem

Post by Frank Pilhof » Sat, 27 Mar 1999 04:00:00




> : I have problem when I make my share memory program in Solaris 2.5 by GCC.
> : The following message is shown when I complier:

> : Undefined                       first referenced
> :  symbol                             in file
> : Ftok                                /var/tmp/cca001qC1.o
> : Shmat                               /var/tmp/cca001qC1.o
> : Shmget                              /var/tmp/cca001qC1.o

> Are you calling those functions with the first letters capitolized in your
> code?  C is very case sensitive.

 Sounds like sample code from Stevens' book, where the capitalized
function is a wrapper for the non-capitalized one plus error checking.
Happens when you copy code without reading the intro ;)

        Frank

--

 |                                      http://www.uni-frankfurt.de/~fp/ |
 +---- Life would be a very great deal less weird without you.  - DA ----+

 
 
 

1. FS: Solaris 2.5 Desktop (CDE) and/or Solaris 2.5 Server Packages for x86 desktops

 Hi All,

  Just wanted to pass on some excellent deals on Solaris 2.5.1 software with
the WABI user interface for x86 machines. The WABI allows you to run many
Windows 3.1 applications on a UNIX box, giving you the best of both worlds.  
Imagine, running MS OFFICE components like, MS Word for Windows, Excel,
Powerpoint, and interfacing with the functionality of UNIX at the same time.

For a limited time, John Cristy, at Executive Tools, Inc.,
is offering:

  Solaris 2.5.1 User Desktop package for $175.00
  Solaris 2.5.1 Application Server package for $395.00

Ref URL http://www.etools.com for full information and additional products.  

They also have a student special (99.00 + shipping)(yes, you read that
right, Solaris 2.5.1 user desktop for $99.00).

Mention my name, Bob Fahey, and he will throw in the Java Workshop for
$85.00. Mention my name anyway, as he wants to know what the response is to
this.
If asked where you heard this, tell them not just the web, but the Newsgroup
you read it on.  Thanks.

The Executive Tools web site URL http://www.etools.com also has some
excellent links to other Solaris and Sun information pages.


 Executive Tools is not associated with this posting, so, if you have any

 replies, good or bad!

--
//signed//

URL http://www.3lefties.com/users/faheyb.html
Famous quote by daughter Elizabeth, "If I was them cows, I'd run away!"

2. Turtle Beach sound cards

3. Solaris 8 ifconfig (lo0) problem VS Solaris 2.5,2.6,7

4. Library concepts for a beginner

5. how to install solaris 2.5 x86 to 2.5 gig WD HD

6. Csh Programming Considered Harmful

7. Solaris 2.5 & NeWSprint 2.5

8. Solaris console has no scroll capability (Solaris 10/x86)?

9. POSIX shm and mmap on Solaris problem -- a bug?

10. Odd problem with Solaris 2.5, full filesystem

11. Sparc10 solaris 2.5 to Sparc20 solaris 2.6 migration question

12. Automounter problem between Netware 3.1x and Solaris 2.5

13. Solaris 2.5 jumpstart problem