Article View: gnu.g++.help
Article #343linking and lwp
From: Harry Dodgson
Date: Mon, 10 Dec 1990 14:51
Date: Mon, 10 Dec 1990 14:51
23 lines
1628 bytes
1628 bytes
Help,
I am a student at Western Michigan University and am trying to use GNU's g++.
My problem is trying to get g++ to work with lwp (light weight processes) on a
SUN network. I have a simple little program that creates a lwp and exit, and
there by turn control to the lwp and exiting. Everything is OK when I use cc
and gcc. Everything compiles, links and runs as expect. However, g++ refuses
to link with the lwp library. The errors returned are:
>g++ hello.c -llwp
hello.c: Undefined symbol lwp_create(int (*),(), int, int, int *, int) refe
renced from text semgment
{etc.}
and I get multiply defined symbol _exit
Does any one have an suggestions for me. Thanks
Keith McCreery
mccreery@sol.cs.wmich.edu
note: since I am only a student, a faculty member is posting this for me on the
network, becasue I do not have the privelege of posting it.
--
Harry Dodgson Jr. | Internet dodgson@sol.cs.wmich.edu -(35.132.4.2)-
Western Michigan University | UUCP ...uunet!sharkey!wmichgw!wmu-cs!dodgson
Computer Science Department | Voice (616) 387-5803
Kalamazoo, MI 49008 | Office 4420 Dunbar Hall
Technical Details
Message-ID:
<1990Dec10.145133.857@sol.cs.wmich.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!SOL.CS.WMICH.EDU!dodgsonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!SOL.CS.WMICH.EDU!dodgson From: dodgson@SOL.CS.WMICH.EDU (Harry Dodgson) Newsgroups: gnu.g++.help,comp.lang.c++ Subject: linking and lwp Keywords: lwp SUN Message-ID: <1990Dec10.145133.857@sol.cs.wmich.edu> Date: 10 Dec 90 14:51:33 GMT Sender: daemon@tut.cis.ohio-state.edu Followup-To: gnu.g++.help Organization: Western Michigan Univ. Comp. Sci. Dept. Lines: 23