🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Ab Wilson Wed, 11 Nov 1992 21:03
link with the xopen libraries on Sun4
#610
Author: Ab Wilson
Date: Wed, 11 Nov 1992 21:03
27 lines
1497 bytes
The UI for the project I'm working on is being developed by a separate
group using a Motif interface builder. This generates ansi C which I am
atempting to compile with gcc (2.2.2) and link with the core of the
application which is to be written in C++. 

The problem I have is that when I get to the link stage I get an
the error:
ld: Undefined symbol 
   __assert 
collect: /usr/bin/ld returned 2 exit status

Because the UI is Motif it use the xopen (/usr/xpg2lib on SunOS 4.1.1)
environment and this is what is causing the problem. (assert is called
from a function in libxpg.a). So I thought I'll give the -nostdlib
flag to gcc and see if that sorts it out. But instead I get:

ld: Undefined symbol
   _environ
collect: /usr/bin/ld returned 2 exit status

Does anyone know a solution to this problem.
	Ab.
-- 
+--------------------------------------------------------------------+
| Who's opinions did you say these were?    |    naw@planet.bt.co.uk |
+--------------------------------------------------------------------+
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