From: Kevin Hinners Date: 2004-11-19T07:42:20+09:00 Subject: Re: Can't Build Ruby 1.8.1 on HP-UX 11.00 I downloaded the 1.8.2 preview 3 release and tried to install to HP-UX 11.00. When I attempt to make, I get the following compile error: gcc -g -O2 -I. -I. -c parse.c parse.y: In function `ruby_yylex': parse.y:4378: warning: assignment makes pointer from integer without a cast parse.y:4381: dereferencing pointer to incomplete type parse.y:4383: dereferencing pointer to incomplete type parse.y:4385: dereferencing pointer to incomplete type parse.y:4394: dereferencing pointer to incomplete type parse.y:4396: dereferencing pointer to incomplete type parse.y:4396: dereferencing pointer to incomplete type parse.y:4398: dereferencing pointer to incomplete type *** Error exit code 1 Kevin Hinners Senior Technical Analyst FedEx Services 350 Spectrum Loop Colorado Springs, CO 80921 719-484-2303 kevin.hinners@fedex.com -----Original Message----- From: nobu.nokada@softhome.net [mailto:nobu.nokada@softhome.net] Sent: Wednesday, November 17, 2004 6:49 PM To: ruby-talk ML Subject: Re: Can't Build Ruby 1.8.1 on HP-UX 11.00 Hi, At Wed, 17 Nov 2004 06:54:17 +0900, Yukihiro Matsumoto wrote in [ruby-talk:120582]: > |have_library: checking for tgetent() in -ltinfo... -------------------- yes > | > |"gcc -o conftest -I/temp/ruby/ruby-1.8.1 -I/temp/ruby/ruby-1.8.1 -g -O2 > nftest.c -L"/temp/ruby/ruby-1.8.1" -L"/usr/local/lib" -E -lruby-sta > |tic -ltinfo -ldld -lcrypt -lm -lc" > > "-E" is the reason. But I have no idea how it sneaks in linking > arguments. Show us rbconfig.rb then. -E came from DLDFLAGS, and it has been removed from TRY_LINK in lib/mkmf.rb. Recent stable snapshots shouldn't have the problem. -- Nobu Nakada