Is there anyone running analog on OS/390's native "Unix Systems Services". (This is not Linux on S/390, though often I wish it were!) I tried making the source code and ran into error after error. I'm no C genius. I threw in the towel when I got datatype inconsistency messages. I'll paste the errors onto this message, but from a broader perspective, has anyone gotten this to work on USS??
INITIAL MAKE ***************** cc -O2 -DUNIX -c alias.c WARNING CBC3296 ./anlghea3.h:258 #include file <sys/param.h> not found. FSUM3065 The COMPILE step ended with return code 4. cc -O2 -DUNIX -c analog.c WARNING CBC3296 ./anlghea3.h:258 #include file <sys/param.h> not found. FSUM3065 The COMPILE step ended with return code 4. cc -O2 -DUNIX -c cache.c WARNING CBC3296 ./anlghea3.h:258 #include file <sys/param.h> not found. FSUM3065 The COMPILE step ended with return code 4. cc -O2 -DUNIX -c dates.c WARNING CBC3296 ./anlghea3.h:258 #include file <sys/param.h> not found. FSUM3065 The COMPILE step ended with return code 4. cc -O2 -DUNIX -c globals.c WARNING CBC3296 ./anlghea3.h:258 #include file <sys/param.h> not found. ERROR CBC3045 ./globals.c:1141 Undeclared identifier MAXPATHLEN. CBC1793(I) Compilation failed for file ./globals.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile globals.c. Correct the errors and try again. FSUM8226 make: Error code 3 # DISCOVERED OS/390 MAY NEED THE ALL_SOURCE OPTION ########################################## # make -D_ALL_SOURCE cc -O2 -DUNIX -c globals.c WARNING CBC3296 ./anlghea3.h:258 #include file <sys/param.h> not found. ERROR CBC3045 ./globals.c:1141 Undeclared identifier MAXPATHLEN. CBC1793(I) Compilation failed for file ./globals.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile globals.c. Correct the errors and try again. FSUM8226 make: Error code 3 SOMEWHERE IT SAID IF YOU GET AN ERROR WITH SYS.PARAM.H, REPLACE THAT LINE WITH THE STUFF BELOW. SO I EDITED ANLGHEA3.H ############################################################# Thing we put in in relplace of line #include <sys.param.h> #ifdef __MVS__ # define MAXHOSTNAMELEN 64 # define IPTOS_LOWDELAY 0x10 # define TCP_NODELAY 0x01 # define IPTOS_THROUGHPUT 0x08 # define MAXPATHLEN 1024 # define IN_LOOPBACKNET 127 # define howmany(x, y) (((x)+((y)-1))/(y)) #else # include <sys/param.h> #endif ##################################################### UPON COMPILE, I GOT: ERROR CBC3046 /usr/include/netinet/in.h:125 Syntax error. ERROR CBC3045 ./alias.c:583 Undeclared identifier AF_INET. CBC1793(I) Compilation failed for file ./alias.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile alias.c. Correct the errors and try again. FSUM8226 make: Error code 3 LOOKED LIKE NETWORKING ERRORS, SO I USED THE ANALOG README TO IXNAY DNS ############################################################# Get by the following error by adding "DEFS=-DNODNS" to the make command # make -D_ALL_SOURCE DEFS=-DNODNS c89 -O2 -DNODNS -DUNIX -c alias.c c89 -O2 -DNODNS -DUNIX -c analog.c c89 -O2 -DNODNS -DUNIX -c cache.c c89 -O2 -DNODNS -DUNIX -c dates.c c89 -O2 -DNODNS -DUNIX -c globals.c ERROR CBC3068 ./globals.c:1150 Operation between types "int" and "void*" is not allowed. ERROR CBC3068 ./globals.c:1155 Operation between types "int" and "void*" is not allowed. CBC1793(I) Compilation failed for file ./globals.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile globals.c. Correct the errors and try again. FSUM8226 make: Error code 3 # DATATYPE INCONSISTENCIES GET MY IRE UP Thanks, Caroline +------------------------------------------------------------------------ | This is the analog-help mailing list. To unsubscribe from this | mailing list, go to | http://lists.isite.net/listgate/analog-help/unsubscribe.html | | List archives are available at | http://www.mail-archive.com/[email protected]/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------
