HP-UX+mkmf.rb -- compilation problems with 1.8.1

K

Kero

Hi,

configure.in specifies "-E" for DLDFLAGS on HP-UX in order to export
symbols by default from shared libraries. That's good.

With the 1.8.1 version mkmf.rb, this is passed further along in the ruby
configuration than it used to be, resulting in an appearance in the
command line for have_library. The command there is $(CC).

The result is that the test no longer links conftest.c, but only
preprocesses it.

I think "-E" should be specified. I think "-Wl,-E" should be used in the
command line. I do not know what XLDFLAGS is supposed to do, but it is set
to DLDFLAGS somewhere in mkmf.rb

I am confused by the sheer amount of environment variables and could not
get it to work, with a simple change.

On a sidenote:
cc: "gc.c", line 689: warning 562: Redeclaration of "gc_mark" with a
different storage class specifier: "gc_mark" will have internal linkage.

hth,
Kero.

+--- Kero ----------------------- kero@chello@nl ---+
| all the meaningless and empty words I spoke |
| Promises -- The Cranberries |
+--- M38c --- http://httpd.chello.nl/k.vangelder ---+
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,968
Messages
2,570,149
Members
46,695
Latest member
StanleyDri

Latest Threads

Top