Hello, I am trying to build analog 5.22 on OS390 2.10. The webServer I'm using is IBM's HTTP Server.
I have tried various options in the make file, with little bits of success. With help from another C programmer here, I have finally gotten the following files to compile successfully... alias.o: analog.o cache.o: dates.o globals.o hash.o init.o init2.o input.o macinput.o macstuff.o output.o Currently I am stuck on the compile of output2.c the error messages are ERROR CBC3045 ./output2.c:313 Undeclared identifier os_toascii. CBC1793(I) Compilation failed for file ./output2.c. Object file not created. FSUM3065 The COMPILE step ended with return code 12. FSUM3017 Could not compile output2.c. Correct the errors and try again. make: *** [output2.o] Error 3 I have done a google search looking for os_toascii. There are a number of hits that talk about a patch for apache on os390. I don't understand the relationship of apache & os_toascii to the code in output2.c I don't see anything in output2.c that looks like it cares specifically what the webserver might be. The "patches" found on google mention an include file: #include <sys/types.h>, and while I inititally did not have the header file with the types.h included in my export statement, now it is there, same result. With further searching in the analog mail archives, and someone else trying to do the same thing, I find the statement, "You can avoid the inclusion of <sys/param.h> by defining NOFOLLOW in the Makefile" This was my latest attempt and is the same result as before, when I didn't have the DNOFOLLOW or all the header files included. I have also tried using the -DEBCDIC parameter....again same results. The options currently in the Makefile are: CC = c89 MAKE = make CFLAGS = -O DEFS = -DNODNS -DNOGLOB -DNOPIPES -DNOFOLLOW OS = OS390 LIBS = -lm Can anyone advise what to include and or change so that it doesn't care about os_toascii, or finds what is missing? Thanks for any clues or pointers. Lisa Bates +------------------------------------------------------------------------ | 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/analog-help@lists.isite.net/ | http://lists.isite.net/listgate/analog-help/archives/ | http://www.tallylist.com/archives/index.cfm/mlist.7 +------------------------------------------------------------------------