[gnu.g++.help] linking and lwp

dodgson@SOL.CS.WMICH.EDU (Harry Dodgson) (12/10/90)

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