wv and Irix...

Bob Monaghan (bwanabob@concentric.net)
Sun, 24 Oct 1999 12:35:09 -0700


This is a multi-part message in MIME format.
--------------C35617768FE04D52D5F32ADA
Content-Type: multipart/alternative;
boundary="------------83222E9DA77C0680846AEA5C"

--------------83222E9DA77C0680846AEA5C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Ok..

wv just doesn't like IRIX. To hopefully help out, here is what I have
done:

Makefile:
I commented out the "symbol.o" from the list of MYOBJECTS. This got me
past the "no rule to make symbol.o" error.

But this led to:

./wvHtml.c:53: warning: excess elements in struct initializer after
`long_options[2]'
./wvHtml.c:54: warning: excess elements in struct initializer after
`long_options[3]'
./wvHtml.c:54: warning: excess elements in struct initializer after
`long_options[3]'
./wvHtml.c:54: warning: excess elements in struct initializer after
`long_options[3]'
./wvHtml.c:54: warning: excess elements in struct initializer after
`long_options[3]'
./wvHtml.c:55: invalid use of undefined type `struct option'
./wvHtml.c:49: storage size of `long_options' isn't known
gmake: *** [wvHtml.o] Error 1

quite possibly a result from trying to make "symbol.o" go away. heheheh.

Attached is my "config.log" file to help troubleshoot.

bob..

--------------83222E9DA77C0680846AEA5C
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
Ok..

wv just doesn't like IRIX. To hopefully help out, here is what I have done:

Makefile:
I commented out the "symbol.o" from the list of MYOBJECTS. This got me
past the "no rule to make symbol.o" error.

But this led to:

./wvHtml.c:53: warning: excess elements in struct initializer after `long_options[2]'
./wvHtml.c:54: warning: excess elements in struct initializer after `long_options[3]'
./wvHtml.c:54: warning: excess elements in struct initializer after `long_options[3]'
./wvHtml.c:54: warning: excess elements in struct initializer after `long_options[3]'
./wvHtml.c:54: warning: excess elements in struct initializer after `long_options[3]'
./wvHtml.c:55: invalid use of undefined type `struct option'
./wvHtml.c:49: storage size of `long_options' isn't known
gmake: *** [wvHtml.o] Error 1

quite possibly a result from trying to make "symbol.o" go away. heheheh.

Attached is my "config.log" file to help troubleshoot.

bob..
  --------------83222E9DA77C0680846AEA5C-- --------------C35617768FE04D52D5F32ADA Content-Type: text/plain; charset=us-ascii; name="config.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="config.log" This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:538: checking for Cygwin environment configure:554: cc -c conftest.c 1>&5 "configure", line 550: error(1020): identifier "__CYGWIN32__" is undefined return __CYGWIN__; ^ "configure", line 551: warning(1110): statement is unreachable ; return 0; } ^ 1 error detected in the compilation of "conftest.c". configure: failed program was: #line 543 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:571: checking for mingw32 environment configure:583: cc -c conftest.c 1>&5 "configure", line 579: error(1020): identifier "__MINGW32__" is undefined return __MINGW32__; ^ "configure", line 580: warning(1110): statement is unreachable ; return 0; } ^ 1 error detected in the compilation of "conftest.c". configure: failed program was: #line 576 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:602: checking for executable suffix configure:612: cc -o conftest conftest.c 1>&5 configure:640: checking for gcc configure:719: checking whether the C compiler (gcc ) works configure:735: gcc -o conftest conftest.c 1>&5 configure:761: checking whether the C compiler (gcc ) is a cross-compiler configure:766: checking whether we are using GNU C configure:775: gcc -E conftest.c configure:800: checking whether make sets ${MAKE} configure:857: checking for a BSD compatible install configure:913: checking for ranlib configure:942: checking how to run the C preprocessor configure:963: gcc -E conftest.c >/dev/null 2>conftest.out configure:1022: checking for ANSI C header files configure:1035: gcc -E conftest.c >/dev/null 2>conftest.out configure:1102: gcc -o conftest -O2 conftest.c 1>&5 configure:1130: checking for fcntl.h configure:1140: gcc -E conftest.c >/dev/null 2>conftest.out configure:1130: checking for sys/file.h configure:1140: gcc -E conftest.c >/dev/null 2>conftest.out configure:1130: checking for sys/ioctl.h configure:1140: gcc -E conftest.c >/dev/null 2>conftest.out configure:1130: checking for unistd.h configure:1140: gcc -E conftest.c >/dev/null 2>conftest.out configure:1170: checking for working const configure:1224: gcc -c -O2 conftest.c 1>&5 configure:1258: checking for X configure:1325: gcc -E conftest.c >/dev/null 2>conftest.out configure:1401: gcc -o conftest -O2 conftest.c -lXt 1>&5 configure:1489: checking for ptsname in -lpt configure:1508: gcc -o conftest -O2 conftest.c -lpt 1>&5 ld32: FATAL 9: I/O error (-lpt): No such file or directory configure: failed program was: #line 1497 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char ptsname(); int main() { ptsname() ; return 0; } configure:1614: checking for dnet_ntoa in -ldnet configure:1633: gcc -o conftest -O2 conftest.c -ldnet 1>&5 ld32: FATAL 9: I/O error (-ldnet): No such file or directory configure: failed program was: #line 1622 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:1655: checking for dnet_ntoa in -ldnet_stub configure:1674: gcc -o conftest -O2 conftest.c -ldnet_stub 1>&5 ld32: FATAL 9: I/O error (-ldnet_stub): No such file or directory configure: failed program was: #line 1663 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char dnet_ntoa(); int main() { dnet_ntoa() ; return 0; } configure:1703: checking for gethostbyname configure:1731: gcc -o conftest -O2 conftest.c 1>&5 configure:1801: checking for connect configure:1829: gcc -o conftest -O2 conftest.c 1>&5 configure:1893: checking for remove configure:1921: gcc -o conftest -O2 conftest.c 1>&5 configure:1985: checking for shmat configure:2013: gcc -o conftest -O2 conftest.c 1>&5 configure:2086: checking for IceConnectionNumber in -lICE configure:2105: gcc -o conftest -O2 conftest.c -lICE 1>&5 configure:2154: checking for zlib.h configure:2163: gcc -c -I/include -O2 conftest.c 1>&5 configure:2183: checking for gzread in -lz configure:2202: gcc -o conftest -I/include -O2 -L/usr/lib -L/lib conftest.c -lz 1>&5 ld32: FATAL 12: Expecting n32 objects: /usr/lib/libz.so is o32. configure: failed program was: #line 2191 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gzread(); int main() { gzread() ; return 0; } configure:2227: checking for gzread in -lgz configure:2246: gcc -o conftest -I/include -O2 -L/usr/lib -L/lib conftest.c -lgz 1>&5 ld32: FATAL 9: I/O error (-lgz): No such file or directory configure: failed program was: #line 2235 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char gzread(); int main() { gzread() ; return 0; } configure:2282: checking for zlib.h configure:2291: gcc -c -I -I/include -O2 conftest.c 1>&5 configure:2311: checking for gzread in -lz configure:2355: checking for gzread in -lgz configure:2434: checking for xpm.h configure:2443: gcc -c -O2 conftest.c 1>&5 configure:2480: checking for main in -lXpm configure:2495: gcc -o conftest -O2 conftest.c -lXpm -lX11 1>&5 ld32: FATAL 12: Expecting n32 objects: /usr/freeware/lib/libXpm.so is o32. configure: failed program was: #line 2488 "configure" #include "confdefs.h" int main() { main() ; return 0; } configure:2536: checking for xpm.h configure:2545: gcc -c -O2 conftest.c 1>&5 configure:2582: checking for main in -lXpm configure:2655: checking for freetype.h configure:2664: gcc -c -O2 conftest.c 1>&5 configure:2658: freetype.h: No such file or directory configure: failed program was: #line 2657 "configure" #include "confdefs.h" #include "freetype.h" int main() { ; return 0; } configure:2735: checking for freetype.h configure:2744: gcc -c -O2 conftest.c 1>&5 configure:2738: freetype.h: No such file or directory configure: failed program was: #line 2737 "configure" #include "confdefs.h" #include "freetype.h" int main() { ; return 0; } configure:2836: checking for gdwmfapi.h configure:2845: gcc -c -O2 conftest.c 1>&5 configure:2839: gdwmfapi.h: No such file or directory configure: failed program was: #line 2838 "configure" #include "confdefs.h" #include "gdwmfapi.h" int main() { ; return 0; } configure:2920: checking for gdwmfapi.h configure:2929: gcc -c -O2 conftest.c 1>&5 configure:2923: gdwmfapi.h: No such file or directory configure: failed program was: #line 2922 "configure" #include "confdefs.h" #include "gdwmfapi.h" int main() { ; return 0; } configure:3030: checking whether byte ordering is bigendian configure:3048: gcc -c -O2 conftest.c 1>&5 configure: In function `main': configure:3043: `bogus' undeclared (first use in this function) configure:3043: (Each undeclared identifier is reported only once configure:3043: for each function it appears in.) configure:3043: parse error before `endian' configure: failed program was: #line 3037 "configure" #include "confdefs.h" #include #include int main() { #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN bogus endian macros #endif ; return 0; } configure:3096: gcc -o conftest -O2 conftest.c 1>&5 configure: failed program was: #line 3083 "configure" #include "confdefs.h" main () { /* Are we little or big endian? From Harbison&Steele. */ union { long l; char c[sizeof (long)]; } u; u.l = 1; exit (u.c[sizeof (long) - 1] == 1); } configure:3145: checking for getopt_long configure:3173: gcc -o conftest -O2 conftest.c 1>&5 ld32: ERROR 33: Unresolved text symbol "getopt_long" -- 1st referenced by /var/tmp/cca000Q81.o. Use linker option -v to see when and which objects, archives and dsos are loaded. ld32: INFO 152: Output file removed because of error. configure: failed program was: #line 3150 "configure" #include "confdefs.h" /* System header to define __stub macros and hopefully few prototypes, which can conflict with char getopt_long(); below. */ #include /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char getopt_long(); int main() { /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ #if defined (__stub_getopt_long) || defined (__stub___getopt_long) choke me #else getopt_long(); #endif ; return 0; } configure:3194: checking for strerror configure:3222: gcc -o conftest -O2 conftest.c 1>&5 configure:3243: checking for strcasecmp configure:3271: gcc -o conftest -O2 conftest.c 1>&5 --------------C35617768FE04D52D5F32ADA--



This archive was generated by hypermail 1.03b2.