From: Daniel Berger Date: 2003-05-08T05:07:12+09:00 Subject: Re: Building Ruby on HP-UX B.11.22 Hi all, > >make > ....gcc -g -O2 -Wl,-E main.o dmyext.o libruby.a -ldld -ldl -lm -o > miniruby > compiling Win32API > compiling curses > gcc -fPIC -g -O2 -I/house/djberg96/ruby-1.6.8 > -I/house/djberg96/ruby-1.6.8 -DHAVE_CURSES_H -DHAVE_ISENDWIN > -DHAVE_UNGETCH -DHAVE_BEEP -DHAVE_DOUPDATE -DHAVE_FLASH > -DHAVE_DELETELN -DHAVE_WDELETELN -c curses.c > curses.c: In function `window_maxy': > curses.c:581: structure has no member named `_maxy' > curses.c: In function `window_maxx': > curses.c:602: structure has no member named `_maxx' > curses.c: In function `window_begy': > curses.c:620: structure has no member named `_begy' > curses.c: In function `window_begx': > curses.c:637: structure has no member named `_begx' > *** Error exit code 1 >This looks much more tractable, as it is a compile error and not a link error. >The curses lib appears to not match what is expected--a little detective work >should pinpoint the problem on that machine. Any luck yet? This appears to be the relavent section of curses.h #ifdef _XOPEN_SOURCE_EXTENDED #if defined(__ia64) /* pragmas needed to support -B protected */ # pragma extern __getbegy, __getbegx, __getmaxy, __getmaxx # pragma extern __getpary, __getparx #endif /* __ia64 */ extern int __getbegy __((WINDOW *)); extern int __getbegx __((WINDOW *)); extern int __getmaxy __((WINDOW *)); extern int __getmaxx __((WINDOW *)); extern int __getpary __((WINDOW *)); extern int __getparx __((WINDOW *)); #define getbegyx(__win,__y,__x) { WINDOW *__wi; \ __wi = __win; ((__y) = __getbegy(__wi), \ (__x) = __getbegx(__wi)); } #define getmaxyx(__win,__y,__x) { WINDOW *__wi; \ __wi = __win; ((__y) = __getmaxy(__wi), \ (__x) = __getmaxx(__wi)); } #define getparyx(__win,__y,__x) { WINDOW *__wi; \ __wi = __win; ((__y) = __getpary(__wi), \ (__x) = __getparx(__wi)); } #endif /* _XOPEN_SOURCE_EXTENDED */ How do I proceed from here? Regards, Dan -- p ["010100101010111011001110001011100000010010000010011101101111011000101110000101101010011001001110000001000100101010101110010001101001111000000100000100101000011011000110110101101010011001001110"].pack("b*")