FW: GCC compiling errors

From: van Niekerk, Ronelle, VF-NZ (Ronelle.VanNiekerk_at_vodafone.com)
Date: 05/19/05

  • Next message: Ed Greshko: "Re: boot up fails with mount root problem..."
    Date: Fri, 20 May 2005 09:07:09 +1200
    To: <redhat-list@redhat.com>
    
    

    Sorry, thought I sent this yesterday.

    We solved the problem after I managed to replicate it on a server where
    it works.
    Took out the link to the libwyy and got the same errors.

    So I asked the user to recompile his library on the broken box and it
    worked after that.

    -Ronelle

    -----Original Message-----
    From: redhat-list-bounces@redhat.com
    [mailto:redhat-list-bounces@redhat.com] On Behalf Of van Niekerk,
    Ronelle, VF-NZ
    Sent: Thursday, 19 May 2005 8:37 a.m.
    To: redhat-list@redhat.com
    Subject: GCC compiling errors

    I have a user trying to compile on a newly installed server but he's
    coming up with the following errors:

    gcc compiling on Linux...using -D_REENTRANT -Wno-deprecated -DGCC...when
    link, use -lstdc++ $LNK is set to : -I/home/wangmi/appserv/include
    -L/home/wangmi/appserv/lib -lwyy -lstdc++ -lpthread
    /tmp/cctwtRiU.o(.text+0x3f): In function `main':
    /home/wangmi/myMail/myMail.C:26: undefined reference to `Util::Util()'
    /tmp/cctwtRiU.o(.text+0x51):/home/wangmi/myMail/myMail.C:27: undefined
    reference to `SendMail::SendMail()'
    /tmp/cctwtRiU.o(.text+0x2cc):/home/wangmi/myMail/myMail.C:67: undefined
    reference to `Util::getParam(char const*, char const*, char const*,
    char*, int)'
    /tmp/cctwtRiU.o(.text+0x2f4):/home/wangmi/myMail/myMail.C:68: undefined
    reference to `Util::getParam(char const*, char const*, char const*,
    int*)'
    /tmp/cctwtRiU.o(.text+0x33c):/home/wangmi/myMail/myMail.C:71: undefined
    reference to `SendMail::smtpPackUnixData_into_file(char const*, char
    const*, char const*, char const*, char const*, char const*, char const*,
    char const*)'
    /tmp/cctwtRiU.o(.text+0x375):/home/wangmi/myMail/myMail.C:72: undefined
    reference to `SendMail::smtpSendUnixMail(char const*, int, char const*,
    char const*, char const*, long)'
    /tmp/cctwtRiU.o(.text+0x3de):/home/wangmi/myMail/myMail.C:76: undefined
    reference to `SendMail::~SendMail()'
    /tmp/cctwtRiU.o(.text+0x3f0):/home/wangmi/myMail/myMail.C:76: undefined
    reference to `Util::~Util()'
    /tmp/cctwtRiU.o(.text+0x410):/home/wangmi/myMail/myMail.C:76: undefined
    reference to `SendMail::~SendMail()'
    /tmp/cctwtRiU.o(.text+0x436):/home/wangmi/myMail/myMail.C:76: undefined
    reference to `Util::~Util()'
    collect2: ld returned 1 exit status

    I don't know anything about gcc or c++ and can't solve the problem by
    installing more rpms.

    uname -a: Linux mcproxmte 2.4.21-9.ELsmp #1 SMP Thu Jan 8 17:08:56 EST
    2004 i686 i686 i386 GNU/Linux more /etc/redhat-release: Red Hat
    Enterprise Linux ES release 3 (Taroon Update 1)

    ------------------------------------------------------------------------
    -----------------------
    Have you seen our website?.... http://www.vodafone.co.nz

    Manage Your Account, check your Vodafone Mail and send web2TXT online:
    http://www.vodafone.co.nz/myvodafone

    CAUTION: This correspondence is confidential and intended for the named
    recipient(s) only. If you are not the named recipient and receive this
    correspondence in error, you must not copy, distribute or take any
    action in reliance on it and you should delete it from your system and
    notify the sender immediately. Thank you.

    Unless otherwise stated, any views or opinions expressed are solely
    those of the author and do not represent those of Vodafone New Zealand
    Limited.

    Vodafone New Zealand Limited
    20 Viaduct Harbour Avenue, Private Bag 92161, Auckland 1030 Telephone +
    64 9 355 2000 Facsimile + 64 9 355 2001

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=subscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    -----------------------------------------------------------------------------------------------
    Have you seen our website?.... http://www.vodafone.co.nz
    Manage Your Account, check your Vodafone Mail and send web2TXT online: http://www.vodafone.co.nz/myvodafone
    CAUTION: This correspondence is confidential and intended for the named recipient(s) only.
    If you are not the named recipient and receive this correspondence in error, you must not copy,
    distribute or take any action in reliance on it and you should delete it from your system and
    notify the sender immediately.  Thank you.
    Unless otherwise stated, any views or opinions expressed are solely those of the author and do
    not represent those of Vodafone New Zealand Limited.
    Vodafone New Zealand Limited
    20 Viaduct Harbour Avenue, Private Bag 92161, Auckland 1030
    Telephone + 64 9 355 2000
    Facsimile + 64 9 355 2001
    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Ed Greshko: "Re: boot up fails with mount root problem..."

    Relevant Pages

    • RE: GCC compiling errors
      ... reference to `Util::getParam(char const*, char const*, char const*, ... check your Vodafone Mail and send web2TXT online: ... If you are not the named recipient and receive this correspondence in error, you must not copy, ...
      (RedHat)
    • GCC compiling errors
      ... I have a user trying to compile on a newly installed server but he's ... reference to `Util::getParam(char const*, char const*, char const*, ... not represent those of Vodafone New Zealand Limited. ...
      (RedHat)
    • Re: safe alternative to va_arg
      ... error messages (I will probably make this a bit more general with some ... Passing 'int' by reference is overkill. ... print(char const* msg, A1 const& a1); ...
      (microsoft.public.vc.language)
    • GAlib and external code
      ... actually, it compiles my code, but cannot link to the required GAlib files. ... to `GAErr(GASourceLocator, char const*, char const*, GAErrorIndex, char const*, ...
      (comp.ai.genetic)