Path: utzoo!attcan!uunet!clyde.concordia.ca!mcgill-vision!bloom-beacon!NSWC-WO.ARPA!cwarsaw From: cwarsaw@NSWC-WO.ARPA (Warsaw) Newsgroups: comp.windows.x Subject: makedepend question Message-ID: <9003051426.AA05959@nswc-wo.arpa> Date: 5 Mar 90 14:26:26 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 54 Hi, I am trying to get makedepend to work on a Silicon Graphics Iris 4D/25. If anyone has it working, could you mail it to me? If anyone has any ideas on what I can try to get it to work, I would appreciate that too. I've used the sgi.r3.newpatch posted on expo to try to get an r3 version of makedepend working. I think the problem I am getting is makedepend does not recognize #if defined NAME. So makedepend fails on the following code fragment from /usr/include/bsd/net/soioctl.h #if defined SVR3 || !defined KERNEL # include #else # include "../h/ioctl.h" #endif This type of thing appears all over the header files in /usr/include and /usr/include/bsd. I know cpp does define SVR3 so it should look for but makedepend actually tries to find "../h/ioctl.h". The diagnostic messages follow: --------------------------------------------------------------- Context.c (reading /usr/include/bsd/net/soioctl.h): cannot find include file "../h/ioctl.h" not in ../h/ioctl.h not in /usr/include/bsd/h/ioctl.h not in ./../h/ioctl.h not in ../.././../h/ioctl.h not in ../.././h/ioctl.h not in /usr/include/h/ioctl.h not in /usr/h/ioctl.h cannot open "../h/ioctl.h" --------------------------------------------------------------- I even tried putting -DSVR3 between the pair of double hyphens, but to no avail. So my best guess is that #if defined NAME is not recognized by makedepend. I can't get r4 makedepend to compile on my Iris, but it doesn't seem to recognize #if defined NAME either, so I haven't pursued it further. I hope I've given enough information about my problem. I will attempt to modify makedepend, but if anyone has any suggestions, or anyone has done it before, please mail to me directly. Thanks, Craig Warsaw cwarsaw@nswc-wo.arpa