[OmniOS-discuss] compile error from binary Bwm-NG

Theo Schlossnagle jesus at omniti.com
Thu Sep 26 13:39:10 UTC 2013


Don't want to be too rude.. but read the error file.  Don't paste it to the
list and ask someone else to.  It says:

conftest.c:11:19: fatal error: stdio.h: No such file or directory
compilation terminated.
configure:3202: $? = 1

You don't have stdio.h... you need to get it.

OmniOS is likely different from systems you have use previously.  The best
way to learn is to putz around trying to solve these problems yourself.  It
will give you a much better understanding of how the system is assembled
and how it works.  To find which package provides stdio.h, start here:

http://omnios.omniti.com/wiki.php/GeneralAdministration#Search


On Thu, Sep 26, 2013 at 9:12 AM, Muhammad Yousuf Khan <sirtcp at gmail.com>wrote:

> i did, however i thought i must be doing some thing wrong as i am new to
> omniOS,
> the file is quite big in size. just sharing the proportions of error log.
>
> gcc: error: unrecognized command line option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:2667: $? = 1
> configure:2690: checking for C compiler default output file name
> configure:2717: gcc -O2 -Wall   conftest.c  >&5
> configure:2720: $? = 0
> configure:2758: result: a.out
> configure:2775: checking whether the C compiler works
> configure:2785: ./a.out
> configure:2788: $? = 0
> configure:2805: result: yes
> configure:2812: checking whether we are cross compiling
> configure:2814: result: no
> configure:2817: checking for suffix of executables
> configure:2824: gcc -o conftest -O2 -Wall   conftest.c  >&5
> configure:2827: $? = 0
> configure:2851: result:
> configure:2857: checking for suffix of object files
> configure:2883: gcc -c -O2 -Wall  conftest.c >&5
> configure:2886: $? = 0
> configure:2909: result: o
> configure:2913: checking whether we are using the GNU C compiler
> configure:2942: gcc -c -O2 -Wall  conftest.c >&5
> configure:2948: $? = 0
> configure:2965: result: yes
> configure:2970: checking whether gcc accepts -g
> configure:3000: gcc -c -g  conftest.c >&5
> configure:3006: $? = 0
> configure:3105: result: yes
> configure:3122: checking for gcc option to accept ISO C89
> configure:3196: gcc  -c -O2 -Wall  conftest.c >&5
> conftest.c:11:19: fatal error: stdio.h: No such file or directory
> compilation terminated.
> configure:3202: $? = 1
>
>
> onfigure:3398: gcc -E -traditional-cpp  conftest.c
> conftest.c:13:0: fatal error: assert.h: No such file or directory
> compilation terminated.
> configure:3404: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "bwm-ng"
> | #define PACKAGE_TARNAME "bwm-ng"
> | #define PACKAGE_VERSION "0.6"
> | #define PACKAGE_STRING "bwm-ng 0.6"
> | #define PACKAGE_BUGREPORT "bwmng at gropp.org"
> | #define PACKAGE "bwm-ng"
> | #define VERSION "0.6"
> | /* end confdefs.h.  */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> |                    Syntax error
> configure:3398: gcc -E -traditional-cpp  conftest.c
> conftest.c:13:0: fatal error: assert.h: No such file or directory
> compilation terminated.
> configure:3404: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> | #define PACKAGE_NAME "bwm-ng"
> | #define PACKAGE_TARNAME "bwm-ng"
> | #define PACKAGE_VERSION "0.6"
> | #define PACKAGE_STRING "bwm-ng 0.6"
> | #define PACKAGE_BUGREPORT "bwmng at gropp.org"
> | #define PACKAGE "bwm-ng"
> | #define VERSION "0.6"
> | /* end confdefs.h.  */
> | #ifdef __STDC__
> | # include <limits.h>
> | #else
> | # include <assert.h>
> | #endif
> |                    Syntax error
> configure:3398: /lib/cpp  conftest.c
> ./configure[3399]: eval[1]: /lib/cpp: not found [No such file or directory]
> configure:3404: $? = 127
> configure: failed program was:
> | /* confdefs.h.  */
>
>
> Thanks,
>
> Myk
>
>
> On Thu, Sep 26, 2013 at 5:41 PM, Theo Schlossnagle <jesus at omniti.com>wrote:
>
>>
>>
>>
>> On Thu, Sep 26, 2013 at 8:25 AM, Muhammad Yousuf Khan <sirtcp at gmail.com>wrote:
>>
>>> [ ... snip ... ]
>>>  checking dependency style of gcc... gcc3
>>> checking how to run the C preprocessor... /lib/cpp
>>> configure: error: C preprocessor "/lib/cpp" fails sanity check
>>> See `config.log' for more details.
>>>
>>>
>> Did you "see config.log" as the error instructed you to?  Perhaps that
>> will tell you something.
>>
>>
>> --
>>
>> Theo Schlossnagle
>>
>> http://omniti.com/is/theo-schlossnagle
>>
>
>


-- 

Theo Schlossnagle

http://omniti.com/is/theo-schlossnagle
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20130926/34c91f58/attachment-0001.html>


More information about the OmniOS-discuss mailing list