Dear Alexander Hansen, yep, checked stdarg.h is there. It is a very small file, and it only has:

/* This file is public domain.  */
/* GCC uses its own copy of this header */
#if defined(__GNUC__)
#include_next <stdarg.h>
#elif defined(__MWERKS__)
#include "mw_stdarg.h"
#else
#error "This header only supports __MWERKS__."
#endif


Does this mean I should also have a header file mw_stdarg.h ?  I don't have it in /usr/include.

Regards, Mike



On 25/06/2005, at 1:04 AM, Alexander K. Hansen wrote:


On Jun 24, 2005, at 10:46 AM, Mike Dyall-Smith wrote:

Dear Alexander Hansen, thanks for the comment. Yes, the DevSDK package is in the receipts directory. In fact, I can compile all the supporting programs for ARB (about 23 of them), so there is no problem with the compilers. It is just ARB, and it is probably something simple.  Are there any tricks for locating the likely problem in the code?
Regards, Mike

Did you explicitly check your system for /usr/include/stdarg.h?  Apple's installer is known to drop files, and everything else you compiled may well not care about stdarg.h.

Then again, there may be a good reason the package was moved to 10.4....

--AH


On 25/06/2005, at 12:37 AM, Alexander K. Hansen wrote:


On Jun 24, 2005, at 10:22 AM, Mike Dyall-Smith wrote:

I am trying to get the ARB phylogeny program (in c and c++) to compile. I've sorted out a couple of things but it fails early with the following output (below). For some reason it can't find the standard include file stdarg.h. Presumably this is a path setting that needs adjusting. I'm on 10.4.1, Xcode 2.1. Any help or tips would be appreciated. I'm told by the programmers that the package compiles fine under gcc3 and gcc4 (for linux).
- Mike Dyall-Smith



<snip>

In file included from aisc_commands.c:3:
/usr/include/stdarg.h:4: No include path in which to find stdarg.h
make[3]: *** [aisc_commands.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [AISC/dummy.dummy] Error 2
make[1]: *** [arbbasic] Error 2
make: *** [rebuild] Error 2



____________________________
Mike Dyall-Smith
Dept. Microbiology and Immunology
University of Melbourne
Ph: +61 3 8344 5693
Fx: +61 3 9347 1540
____________________________

 



--
Alexander Hansen
Fink Documentarian
[Day Job] Levitated Dipole Experiment









____________________________
Mike Dyall-Smith
Dept. Microbiology and Immunology
University of Melbourne
Ph: +61 3 8344 5693
Fx: +61 3 9347 1540
____________________________



Reply via email to