Precompilation error

Discussion in 'C++' started by pjr, Nov 4, 2008.

  1. pjr

    pjr Guest

    Hi..

    I am trying to compile a set of code using aCC 3.52(HP-UX
    11.00) and visibroker 3.3. I am running into following error.

    I appreciate any ideas that can help me resolve this error.


    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    '>>' has not been defined yet; cannot call.
    _strm >> *_obj;
    ^^^^^^^^^^
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    '>>' has not been defined yet; cannot call.
    _strm >> *_obj;
    ^^^^^^^^^^
    Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    '>>' has not been defined yet; cannot call.
    _strm >> *_obj;
    ^^^^^^^^^^

    Thanks
    pjr, Nov 4, 2008
    #1
    1. Advertising

  2. pjr

    anon Guest

    pjr wrote:
    > Hi..
    >
    > I am trying to compile a set of code using aCC 3.52(HP-UX
    > 11.00) and visibroker 3.3. I am running into following error.
    >
    > I appreciate any ideas that can help me resolve this error.
    >
    >
    > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    > '>>' has not been defined yet; cannot call.
    > _strm >> *_obj;
    > ^^^^^^^^^^
    > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    > '>>' has not been defined yet; cannot call.
    > _strm >> *_obj;
    > ^^^^^^^^^^
    > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    > '>>' has not been defined yet; cannot call.
    > _strm >> *_obj;
    > ^^^^^^^^^^
    >
    > Thanks


    LOL @ 10000 lines file.

    Take a look here:
    http://www.parashift.com/c -faq-lite/how-to-post.html#faq-5.8
    anon, Nov 4, 2008
    #2
    1. Advertising

  3. pjr

    Lionel B Guest

    On Mon, 03 Nov 2008 21:06:46 -0800, pjr wrote:

    > Hi..
    >
    > I am trying to compile a set of code using aCC 3.52(HP-UX
    > 11.00) and visibroker 3.3. I am running into following error.
    >
    > I appreciate any ideas that can help me resolve this error.


    This may help:

    http://www.parashift.com/c -faq-lite/how-to-post.html#faq-5.8

    > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    > '>>' has not been defined yet; cannot call.
    > _strm >> *_obj;


    It seems likely that the compiler is telling you exactly what the problem
    is, but it is impossible to say for sure without seeing any code.

    BTW, what does "precompilation" mean?

    > ^^^^^^^^^^
    > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    > '>>' has not been defined yet; cannot call.
    > _strm >> *_obj;
    > ^^^^^^^^^^
    > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    > '>>' has not been defined yet; cannot call.
    > _strm >> *_obj;
    > ^^^^^^^^^^
    >
    > Thanks


    --
    Lionel B
    Lionel B, Nov 4, 2008
    #3
  4. pjr

    pjr Guest

    Re: compilation error

    On Nov 4, 3:25 am, anon <> wrote:
    > pjr wrote:
    > > Hi..

    >
    > >        I am trying to compile a set of code using  aCC 3.52(HP-UX
    > > 11.00)  and visibroker 3.3.   I am running into following error.

    >
    > >          I appreciate any ideas that can help me resolve this error.

    >
    > > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    > > '>>' has not been defined yet; cannot call.
    > >         _strm >> *_obj;
    > >         ^^^^^^^^^^
    > > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    > > '>>' has not been defined yet; cannot call.
    > >         _strm >> *_obj;
    > >         ^^^^^^^^^^
    > > Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    > > '>>' has not been defined yet; cannot call.
    > >         _strm >> *_obj;
    > >         ^^^^^^^^^^

    >
    > >         Thanks

    >
    > LOL @ 10000 lines file.
    >
    > Take a look here:http://www.parashift.com/c -faq-lite/how-to-post.html#faq-5.8




    The file /usr/local/vbroker/include/ir_c.hh is part of visibroker.
    Here is the code excerpt from this file

    //
    ======================================================================================
    _VISEXPORT inline friend Istream& operator>>(Istream& _strm,
    Description_ptr & _obj) {
    _obj = new Description;
    _strm >> *_obj; // Line number 6795
    return _strm;
    }


    _VISEXPORT inline friend Istream& operator>>(Istream& _strm,
    Description_ptr & _obj) {
    _obj = new Description;
    _strm >> *_obj; // Line 7365
    return _strm;
    }



    _VISEXPORT inline friend Istream& operator>>(Istream& _strm,
    FullInterfaceDescription_ptr & _obj) {
    _obj = new FullInterfaceDescription;
    _strm >> *_obj; // Line 10097
    return _strm;
    }
    //
    ======================================================================================

    OS - HP-UX 11.00
    aCC compiler - 3.52
    Visibroker - 3.3

    Note: The compilation with aCC compiler 3.13 works fine. But I
    have to make it work with 3.52 because of other software dependencies.

    Lionel,

    I should have made it compilation error. It was late at
    night when I posted this :)
    pjr, Nov 4, 2008
    #4
  5. pjr

    anon Guest

    Re: compilation error

    pjr wrote:
    > On Nov 4, 3:25 am, anon <> wrote:
    >> pjr wrote:
    >>> Hi..
    >>> I am trying to compile a set of code using aCC 3.52(HP-UX
    >>> 11.00) and visibroker 3.3. I am running into following error.
    >>> I appreciate any ideas that can help me resolve this error.
    >>> Error 328: "/usr/local/vbroker/include/ir_c.hh", line 6795 # Function
    >>> '>>' has not been defined yet; cannot call.
    >>> _strm >> *_obj;
    >>> ^^^^^^^^^^
    >>> Error 328: "/usr/local/vbroker/include/ir_c.hh", line 7365 # Function
    >>> '>>' has not been defined yet; cannot call.
    >>> _strm >> *_obj;
    >>> ^^^^^^^^^^
    >>> Error 328: "/usr/local/vbroker/include/ir_c.hh", line 10097 # Function
    >>> '>>' has not been defined yet; cannot call.
    >>> _strm >> *_obj;
    >>> ^^^^^^^^^^
    >>> Thanks

    >> LOL @ 10000 lines file.
    >>
    >> Take a look here:http://www.parashift.com/c -faq-lite/how-to-post.html#faq-5.8

    >
    >
    >
    > The file /usr/local/vbroker/include/ir_c.hh is part of visibroker.
    > Here is the code excerpt from this file
    >
    > //

    [...]

    >
    > _VISEXPORT inline friend Istream& operator>>(Istream& _strm,
    > FullInterfaceDescription_ptr & _obj) {
    > _obj = new FullInterfaceDescription;
    > _strm >> *_obj; // Line 10097
    > return _strm;
    > }


    Assuming:
    1) #define _VISEXPORT
    2) typedef FullInterfaceDescription* FullInterfaceDescription_ptr;

    what is Istream?
    anon, Nov 5, 2008
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?UGF0cmljaw==?=

    ASP.Net 2.0 + HttpHandler + PreCompilation

    =?Utf-8?B?UGF0cmljaw==?=, May 31, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,215
    Brock Allen
    May 31, 2005
  2. Umut Tezduyar
    Replies:
    1
    Views:
    353
    Joshua Mitts
    Nov 2, 2005
  3. Replies:
    2
    Views:
    385
  4. =?Utf-8?B?UGF0cmljayBQYXF1aW4=?=

    Precompilation Error allowDefinition='MachineToApplication'

    =?Utf-8?B?UGF0cmljayBQYXF1aW4=?=, Mar 30, 2006, in forum: ASP .Net
    Replies:
    4
    Views:
    12,562
  5. Balasubramanian Ramanathan

    Precompilation Error

    Balasubramanian Ramanathan, May 26, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    6,471
    Forrest
    May 31, 2007
Loading...

Share This Page