|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> 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
|
|
| |
| |
|
|
|
|
| |