ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build problem: ddd 3.3.7 link errors on HP-UX 10.20


From: Andrew Gaylard
Subject: Re: build problem: ddd 3.3.7 link errors on HP-UX 10.20
Date: Fri, 17 Oct 2003 19:54:43 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

SEIP,CHRISTOPHER (HP-Roseville,ex1) wrote:
Chris Seip & Andrew Gaylard conversed:
CS> I am having trouble at the final link stage of
CS> compiling ddd 3.3.7 on HP-UX 10.20.  (Using:
CS> gcc 3.3.1, binutils 2.14, GNU make 3.80, and
CS> the ld that's built into HP-UX).
CS> When building the ddd executable, the linker
CS> complains about unsatisfied symbols:
CS>    typeinfo name for HintGraphNode(data)
CS>    typeinfo name for _StatusMsg(data)
CS>    typeinfo name for AgentManager(data)
CS>    typeinfo name for ReadLineAgent(data)
CS>    typeinfo name for StatusMsg(data)
CS>    typeinfo name for AsyncAgent(data)
CS>    typeinfo name for PosGraphNode(data)
CS>    typeinfo name for StatusDelay(data)
CS>    typeinfo name for Graph(data)
CS>    typeinfo name for TTYAgent(data)
CS>    typeinfo name for LiterateAgent(data)
CS> Collect2: ld returned 1 exit status
CS> Any advice you can provide would be
CS> appreciated!  Thanks,
CS> --Chris--

AG> Hmmmm. Interesting wrinkle.
AG> I've tried the same build on my 735/125, and
AG> get the same results exactly.  If I strip the
AG> binaries, I get "main" not found.  If I build
AG> without -O2, I get zillions of undefined symbols.
AG> This looks like a problem with HP-UX's SOM
AG> linker.  I'm using the December-2001 patch
AG> bundle, which is the last AFAIK for HPUX-10.20.
AG> I'm trying a build with with no debugging (-g
AG> removed) and -O2 on.  If that fails, I'll try
AG> HP aCC.
AG> I'll let you know...
AG> Andrew.
AG> PS: I'd really like DDD to work on HPUX-10.20;
AG> it's my main platform for my day-job.

Hey Andrew,

Thanks for the reply!  It's at least comforting to
have someone else re-create the problem.

I have been fiddling with different configuration
options, most recently trying to compile with the
X11R6 libraries and headers instead of X11R4.  I
think you are more on track than I am...

--Chris--



OK Chris (and everyone else on the list),

I've made a couple of small changes to the configure script.
You need to:

1. Get ddd-3.3.8test1.tar.gz from www.sf.net/projects/ddd

2. ./configure --with-athena-includes=/usr/contrib/X11R6/include \
               --with-athena-libraries=/usr/contrib/X11R6/lib

3. make CFLAGS=-O2 CXXFLAGS=-O2 LDFLAGS=-L/opt/gcc-3.3.1/lib

(Substitute the location where your gcc libraries are installed.)

This is documented in the HPUX section in the PROBLEMS file.

Please confirm that this works for you.

Andrew.

PS: please feel free to test 3.3.8test1; if there are problems,
I'd like to know before making the real 3.3.8 release.  But keep
in mind that this is a test release, OK?  So no flames... :)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]