POV-Ray : Newsgroups : povray.unix : Compiling under HPUX 11.0 Server Time
25 Dec 2024 01:17:26 EST (-0500)
  Compiling under HPUX 11.0 (Message 1 to 8 of 8)  
From: JC
Subject: Compiling under HPUX 11.0
Date: 12 Jan 2005 21:10:00
Message: <web.41e5d871c4958d9075c651710@news.povray.org>
I am trying to compile PovRAY under HPUX 11.0 using the native C compiler
and aCC.  I get the following error:

aCC  -O -I /usr/local/include -AA  -L/usr/lib/X11R6  -Wl,-a -Wl,archive -o
povray  svga.o unix.o xwin.o ../source/libpovray.a ../source/base/libbase.a
..../source/frontend/libfrontend.a ../libraries/png/libpng.a
..../libraries/tiff/libtiff/libtiff.a ../libraries/zlib/libz.a
..../libraries/jpeg/libjpeg.a -lSM -lICE -lX11 -lm
/usr/ccs/bin/ld: Unsatisfied symbols:
   Frame (first referenced in ../source/libpovray.a(benchmark.o)) (data)

Can someone help me get past this?  I appreciate it.


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling under HPUX 11.0
Date: 13 Jan 2005 07:38:39
Message: <41e66bcf@news.povray.org>
Hi,

	I've read your thread in p.general, and would like to ask you first
how you did "fix" the two compiling problems you faced before.

> aCC  -O -I /usr/local/include -AA  -L/usr/lib/X11R6  -Wl,-a -Wl,archive

	Could you tell me what does the '-AA' option you added?  I cannot find it
in the HP online docs at  http://docs.hp.com/en/8/options.htm  (there is the
-Aa instead for strict-ansi).
	The -Wl,-a -Wl,archive linker options tell me that you try to build
POV-Ray as a fully static binary.  Did you try linking with shared libs instead?

	- NC


Post a reply to this message

From: JC
Subject: Re: Compiling under HPUX 11.0
Date: 13 Jan 2005 09:05:00
Message: <web.41e67f353e08076c6157b70b0@news.povray.org>
I fixed the previous problems by including the -AA option to the C++
compiler.  Here is the text from the man page on it:

 -AA            Turns on newly supported ANSI C++ Standard features
                     like namespace std and the new C++ Standard Library.
                     This option also implies -Aa.  Include paths are
                     changed to include_std and libraries are libCsup_v2 and
                     libstd_v2.
                     NOTE: Objects and libraries compiled with -AA are
                     binary incompatible with objects and libraries compiled
                     without -AA.

I just tried remaking with dynamic libraries and it gave me the same error.

Nicolas Calimet <pov### [at] freefr> wrote:
> Hi,
>
>  I've read your thread in p.general, and would like to ask you first
> how you did "fix" the two compiling problems you faced before.
>
> > aCC  -O -I /usr/local/include -AA  -L/usr/lib/X11R6  -Wl,-a -Wl,archive
>
>  Could you tell me what does the '-AA' option you added?  I cannot find it
> in the HP online docs at  http://docs.hp.com/en/8/options.htm  (there is the
> -Aa instead for strict-ansi).
>  The -Wl,-a -Wl,archive linker options tell me that you try to build
> POV-Ray as a fully static binary.  Did you try linking with shared libs instead?
>
>  - NC


Post a reply to this message

From: JC
Subject: Re: Compiling under HPUX 11.0
Date: 13 Jan 2005 09:05:00
Message: <web.41e67fd03e08076c6157b70b0@news.povray.org>
Here is my configure:

../configure COMPILED_BY="JC" --disable-vsnprintf-check --without-x
--disable-io-restrictions CXXFLAGS="-AA -I/usr/local/include +W728 +W749
+W829"

Nicolas Calimet <pov### [at] freefr> wrote:
> Hi,
>
>  I've read your thread in p.general, and would like to ask you first
> how you did "fix" the two compiling problems you faced before.
>
> > aCC  -O -I /usr/local/include -AA  -L/usr/lib/X11R6  -Wl,-a -Wl,archive
>
>  Could you tell me what does the '-AA' option you added?  I cannot find it
> in the HP online docs at  http://docs.hp.com/en/8/options.htm  (there is the
> -Aa instead for strict-ansi).
>  The -Wl,-a -Wl,archive linker options tell me that you try to build
> POV-Ray as a fully static binary.  Did you try linking with shared libs instead?
>
>  - NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling under HPUX 11.0
Date: 13 Jan 2005 11:47:16
Message: <41e6a614$1@news.povray.org>
Concerning your linking problem, I believe this is caused by
a faulty linker, as it seems unable to resolve symbols contained in a
single library.  Maybe there is some special option to turn on; please
consult your ld manual.

> .../configure COMPILED_BY="JC" --disable-vsnprintf-check --without-x
> --disable-io-restrictions CXXFLAGS="-AA -I/usr/local/include +W728 +W749
> +W829"

	Are you sure this is the actual command-line that you invoqued?
First you don't seem to use the --disable-shared option as I expected.
Moreover, if you specify --without-x, you shouldn't end up with the linker
trying to link with various X libraries (-lSM -lICE -lX11).

	- NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling under HPUX 11.0
Date: 13 Jan 2005 11:55:57
Message: <41e6a81d$1@news.povray.org>
Quoting myself:
> Moreover, if you specify --without-x, you shouldn't end up with the linker
> trying to link with various X libraries (-lSM -lICE -lX11).

	The above assumes you're trying to compile the POV-Ray 3.6.1
source distribution.

	- NC


Post a reply to this message

From: JC
Subject: Re: Compiling under HPUX 11.0
Date: 13 Jan 2005 13:55:00
Message: <web.41e6c3d63e08076c6157b70b0@news.povray.org>
Yes, that is the line I have invoked.  I cut/pasted into this form from my
terminal window.  Whenever I re-do a configuration line, I do a 'make
clean' and then run the configure script again.  Should I do something else
to make sure that it starts clean?  Maybe there is stuff lying around that
is left over from the previous configure run.

Nicolas Calimet <pov### [at] freefr> wrote:
> Quoting myself:
> > Moreover, if you specify --without-x, you shouldn't end up with the linker
> > trying to link with various X libraries (-lSM -lICE -lX11).
>
>  The above assumes you're trying to compile the POV-Ray 3.6.1
> source distribution.
>
>  - NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling under HPUX 11.0
Date: 16 Jan 2005 12:23:31
Message: <41eaa313$1@news.povray.org>
> Whenever I re-do a configuration line, I do a 'make
> clean' and then run the configure script again.  Should I do something else
> to make sure that it starts clean?

	You may try 'make distclean' instead.
	I'd be interested if you could mail me (see my e-mail in the INSTALL
file) your config.log file.

	- NC


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.