みやむこです。

> |LDSHAREDがldでなくccになっているのが問題のような気がしますが。
> 
> んじゃなくて、$(CC)にDLDFLAGSを渡してるのが問題ですね。以下
> のパッチでどうでしょう?

ありがとうございます。このパッチで make できました。
でも、テストを実行すると [ruby-list:38962] と同じ問題がでました・・・。
#[ruby-list:38963] のパッチも試したけどだめでした。


% what `which cc`
/usr/bin/cc:
	 LINT B.11.11.02 CXREF B.11.11.02
	HP92453-01 B.11.11.02 HP C Compiler
	 $   Sep  8 2000 23:13:51 $
% ./configure --without-gcc --disable-ipv6
% make
% make test
test succeeded
# make install
% ruby test/runner.rb -v -a test/drb
Loaded suite drb
  :
test_06_timeout(TestDRbCore): /usr/local/lib/ruby/1.8/drb/drb.rb:877: [BUG] rb_s
ys_fail() - errno == 0
ruby 1.8.1 (2003-12-25) [hppa2.0n-hpux11.11]

zsh: abort (core dumped)  ruby test/runner.rb -v -a test/drb

% gdb =ruby core
HP gdb 2.1
Copyright 1986 - 1999 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 2.1 (based on GDB 5.0-hpwdb-20000630)
Wildebeest is free software, covered by the GNU General Public License, and
you are welcome to change it and/or distribute copies of it under certain
conditions.  Type "show copying" to see the conditions.  There is
absolutely no warranty for Wildebeest.  Type "show warranty" for details.
Wildebeest was built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
..
Core was generated by `ruby'.
Program terminated with signal 6, Aborted.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

#0  0xc01ffd40 in kill () from /usr/lib/libc.2
(gdb) bt
#0  0xc01ffd40 in kill () from /usr/lib/libc.2
#1  0xc019b3b4 in raise () from /usr/lib/libc.2
#2  0xc01db550 in abort_C () from /usr/lib/libc.2
#3  0xc01db5ac in abort () from /usr/lib/libc.2
#4  0x50388 in rb_bug (fmt=0xea178 "rb_sys_fail(%s) - errno == 0")
    at error.c:199
#5  0x51dd0 in rb_sys_fail (mesg=0x0) at error.c:899
#6  0x68458 in fptr_finalize (fptr=0x4015a668, noraise=0) at io.c:1371
#7  0x684b4 in rb_io_fptr_cleanup (fptr=0x4015a668, noraise=0) at io.c:1384
#8  0x685e8 in rb_io_close (io=1076302688) at io.c:1420
#9  0x686fc in rb_io_close_m (io=1076302688) at io.c:1440
#10 0x2d72c in call_cfunc (func=0x400075ea <rb_io_close_m>, recv=1076302688,
    len=0, argc=0, argv=0x0) at eval.c:4935
#11 0x2e240 in rb_call0 (klass=1074038016, recv=1076302688, id=7433, oid=7433,
    argc=0, argv=0x0, body=0x40047ba0, nosuper=0) at eval.c:5066
#12 0x2eec8 in rb_call (klass=1074038016, recv=1076302688, mid=7433, argc=0,
    argv=0x0, scope=0) at eval.c:5287
#13 0x27190 in rb_eval (self=1076302664, n=0x40122c78) at eval.c:3076
#14 0x2e8a8 in rb_call0 (klass=1074617448, recv=1076302664, id=7433, oid=7433,
    argc=0, argv=0x0, body=0x40122c78, nosuper=0) at eval.c:5194
#15 0x2eec8 in rb_call (klass=1074617448, recv=1076302664, mid=7433, argc=0,
    argv=0x0, scope=0) at eval.c:5287
#16 0x27190 in rb_eval (self=1076416904, n=0x400f7ee0) at eval.c:3076
---Type <return> to continue, or q <return> to quit---q
Quit


--
みやむこ