Ethical Hacking

Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package.
Computer Forensics Training at InfoSec Institute

Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors.




Network Security Secure-Shell
[Top] [All Lists]

Re: openssl-0.9.8g makedepend 'warnings' -- *are* these a problem?

Subject: Re: openssl-0.9.8g makedepend 'warnings' -- *are* these a problem?
Date: Wed, 26 Mar 2008 15:57:15 -0700
hi jonathan,

I'd say "Yes, they are a problem".  I'm not sure what you need to fix.
Ultimately, if you don't have the programs you need out of the build, there
is a problem.  It's a weird error, too - because normally configure would
detect the problem.  I'd try to track down where -arch ppc (as opposed to
-arch=ppc) came from; that would deal with a lot of the trouble.

poking around a bit, i found

        cat /usr/include/stdarg.h
                /* 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

whereas,

        cat /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdarg.h
                /* Copyright (C) 1989, 1997, 1998, 1999, 2000 Free Software 
Foundation, Inc.
                
                This file is part of GCC.
                
                GCC is free software; you can redistribute it and/or modify
                ...
                /*
                 * ISO C Standard:  7.15  Variable arguments  <stdarg.h>
                 */
                
                #ifndef _STDARG_H
                #ifndef _ANSI_STDARG_H_
                #ifndef __need___va_list
                #define _STDARG_H
                #define _ANSI_STDARG_H_
                ...


i tried mod'ing CPPFLAGS with the .../4.2.1/include/stdarg.h path --
no dice.  likely hard-coded somewhere (will look).

so, as workaround, prior to configure

        mv /usr/include/stdarg.h /usr/include/stdarg.h.ORIG
        cp /usr/lib/gcc/powerpc-apple-darwin9/4.2.1/include/stdarg.h
/usr/include/stdarg.h

successfully removes the

        makedepend: warning:  cryptlib.c (reading /usr/include/stdarg.h, line
4): cannot find include file "stdarg.h"

warnings, but not the,

        makedepend: warning:  cannot open "ppc"

which are still there.

that said, mmake/install complete fine. and downstream usage of the
resultant openssl bins/libs seems ok.

so, the "ppc" warning may be just a syntactical warning ... but would
be good to know for sure.  now to try to find the reason/src of the
warning.

cheers.

<Prev in Thread] Current Thread [Next in Thread>