compilation error - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

compilation error

p_vp_v Posts: 61Member
When we are trying to compile a C++ program on Solaris 2.10 with SUN CC 5.5, we are getting the following error:

"/usr/include/stdarg.h", line 43: Error: __builtin_va_list is not defined

Any ideas on how to solve this problem are most welcome

Thanks
PV

Comments

  • stoberstober Posts: 9,765Member ✭✭✭
    [b][red]This message was edited by stober at 2005-7-6 5:51:42[/red][/b][hr]
    : When we are trying to compile a C++ program on Solaris 2.10 with SUN CC 5.5, we are getting the following error:
    :
    : "/usr/include/stdarg.h", line 43: Error: __builtin_va_list is not defined
    :
    : Any ideas on how to solve this problem are most welcome
    :
    : Thanks
    : PV
    :

    does your compiler know where the default include directory(s) is(are)? add to the command-line -I/usr/include and see if that helps.

    maybe you need to include some other headers before stdarg.h?

    Look in stdarg.h and see if __builtin_va_list is defined in it. If not, grep around other files to find it. If it is in stdarg.h, then check to see if you need to #define some macro(s) before including the file



Sign In or Register to comment.