🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.programmer
Article #3367

Complinig C++ program Problems on HP-UX

#3367
From: Diarmuid Moloney
Date: Tue, 06 Jul 1999 00:00
16 lines
1794 bytes
Hello,

I am compling a C++ program with CC on HP-UX, as so :
CC Server.cpp -o Server -lxnet

But the following errors come up:
CC: "Server.cpp", line 47: error: undefined function inet_ntoa called
(1286)
CC: "Server.cpp", line 48: error: undefined function fork called (1286)
CC: "Server.cpp", line 51: error: undefined function close called (1286)

I know it's something to do with library but I am unfamiliar with C/C++
programming. I was wondering wheter anyone can help me with this
problem.

Diarmuid
Technical Details
Message-ID: <3781F4DB.76B0879C@bbn.hp.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,24f0c69a46ca2d47,start
X-Google-Attributes: gidf5392,public
X-Google-Thread: 10c696,24f0c69a46ca2d47,start
X-Google-Attributes: gid10c696,public
X-Google-Thread: fc89c,24f0c69a46ca2d47,start
X-Google-Attributes: gidfc89c,public
X-Google-Thread: f97d0,24f0c69a46ca2d47,start
X-Google-Attributes: gidf97d0,public
X-Google-Thread: f678f,24f0c69a46ca2d47,start
X-Google-Attributes: gidf678f,public
X-Google-Thread: f65d0,24f0c69a46ca2d47,start
X-Google-Attributes: gidf65d0,public
X-Google-Thread: 101151,24f0c69a46ca2d47,start
X-Google-Attributes: gid101151,public
From: Diarmuid Moloney <diarmuid_moloney@bbn.hp.com>
Subject: Complinig C++ program Problems on HP-UX
Date: 1999/07/06
Message-ID: <3781F4DB.76B0879C@bbn.hp.com>
X-Deja-AN: 497718812
Content-Transfer-Encoding: 7bit
X-Disclaimer: All opinions expressed herein are of personal nature and do not reflect the opinion of third parties.
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Trace: 6 Jul 1999 14:20:11 +0100, esose08.bbn.hp.com
MIME-Version: 1.0
Newsgroups: ,comp.unix.programmer,comp.os.linux.development.apps,comp.unix.osf.misc,comp.os.linux.development.system,de.comp.os.unix,gnu.g++,gnu.gcc