🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Harry Dodgson Mon, 10 Dec 1990 14:51
linking and lwp
#343
Author: Harry Dodgson
Date: Mon, 10 Dec 1990 14:51
23 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads