🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #50644

Re: Help required compiling motif under Ultrix 4.2 using gcc

#50644
From: Bjoern Beskow
Date: Mon, 30 Aug 1993 08:31
41 lines
1873 bytes
Hi,
 
> Well the short story is, today I have got rid of 
> the parse errors by copying things that were suppose to be in Xutil.h but 
> for some strange reason were in Xlib.h.    The problem now is although the
> application now compiles ok, when I execute I get the following warnings
> 
> 
> gcc xlogic.c -lXm -lXt -lX11
> a.out
> X Toolkit Warning: Cannot find callback list in XtAddCallbacks
> 
> Consequently no Callbacks.
> 
> 
> I envisage the problem is in Intrinsic.h, but how do I fix I have no
> idea.  The problem is bloody annoying and I wonder how DEC can release a
> product that has such obvious flaws, errors, incapacities with out
> providing some sort of fix.  As a matter of interest DEC have been
> noticed by their lack of response to my posting.
> 

The problem is not in intrinsic, but in Xm.h. It is a stringify macro
that uses the old preprocessor syntax, that is 

#define X_GBLS(string) "string"

Change this definition into 

#define X_GBLS(string) #string


which should do the trick.
Good luck!

======================================================================
Bjoern Beskow
Dep. of Linguistics
University of Gothenburg
Sweden
Email: beskow@ling.gu.se
Technical Details
Message-ID: <9308300825.AA23543@hjelmslev.ling.gu.se>
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!doc.ic.ac.uk!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ling.gu.se!beskow

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,33b46149c7c93e1e,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1993-08-30 01:37:42 PST
Path: arc1-ca.pugleaf.net!gmd.de!Germany.EU.net!mcsun!uknet!doc.ic.ac.uk!agate!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!ling.gu.se!beskow
From: beskow@ling.gu.se (Bjoern Beskow)
Newsgroups: gnu.gcc.help
Subject: Re: Help required compiling motif under Ultrix 4.2 using gcc
Date: 30 Aug 1993 04:31:33 -0400
Organization: GNUs Not Usenet
Lines: 42
Sender: daemon@cis.ohio-state.edu
Distribution: gnu
Message-ID: <9308300825.AA23543@hjelmslev.ling.gu.se>