Results 1 to 9 of 9

Thread: Errors with .17

  1. #1
    Registered User
    Join Date
    Jan 2003
    Posts
    87

    Errors with .17

    Hi i'm getting this error after make

    make[3]: *** [packetcapture.o] Error 1
    make[3]: Leaving directory `/usr/seq/showeq/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/usr/seq/showeq/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/seq/showeq'
    make: *** [all] Error 2


    Then after make install i get

    packetcapture.cpp:153: `malloc' undeclared (first use this function)
    packetcapture.cpp: In member function `uint16_t
    PacketCaptureThread::getPacket(unsigned char*)':
    packetcapture.cpp:196: `free' undeclared (first use this function)
    make[1]: *** [packetcapture.o] Error 1
    make[1]: Leaving directory `/usr/seq/showeq/src'
    make: *** [install-recursive] Error 1


    All runs ok but exp window doesnt.
    Combat window looks fixed.

    I havent done anything different than usual.

    Any help would be good.
    I believe in gun control. I use both hands

  2. #2
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648

    Re: Errors with .17

    Originally posted by Dark
    Hi i'm getting this error after make

    make[3]: *** [packetcapture.o] Error 1
    make[3]: Leaving directory `/usr/seq/showeq/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/usr/seq/showeq/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/seq/showeq'
    make: *** [all] Error 2


    Then after make install i get

    packetcapture.cpp:153: `malloc' undeclared (first use this function)
    packetcapture.cpp: In member function `uint16_t
    PacketCaptureThread::getPacket(unsigned char*)':
    packetcapture.cpp:196: `free' undeclared (first use this function)
    make[1]: *** [packetcapture.o] Error 1
    make[1]: Leaving directory `/usr/seq/showeq/src'
    make: *** [install-recursive] Error 1


    All runs ok but exp window doesnt.
    Combat window looks fixed.

    I havent done anything different than usual.

    Any help would be good.
    Could you please provide details about your distro, compiler, and glibc?

    Thanks and Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  3. #3
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Apply the patch that I posted here. It should fix your problems.

    Enjoy,
    Zaphod (dohpaZ)

    P.S. I'd still like to know what Linux distribution and version you are using.
    Last edited by Zaphod; 10-24-2003 at 11:20 PM.
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  4. #4
    Registered User
    Join Date
    Jan 2003
    Posts
    87
    Thx i'll patch it later on.

    RH8 full install.
    I believe in gun control. I use both hands

  5. #5
    Registered User
    Join Date
    Dec 2002
    Posts
    2
    Originally posted by ksmith
    Add

    Code:
    #include <stdlib.h>
    to packetcapture.cpp right below the other include lines.
    No go on RH8 Full install.
    Same errors. Gonna try and mess with the patch tomarrow, to tired now.
    Last edited by goalie20; 10-25-2003 at 02:06 AM.

  6. #6
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    Originally posted by goalie20
    Originally posted by ksmith
    Add

    Code:
    #include <stdlib.h>
    to packetcapture.cpp right below the other include lines.
    No go on RH8 Full install.
    Same errors. Gonna try and mess with the patch tomarrow, to tired now.
    That is correct, because you actually need the patch I mentioned above. A patch which is actually verified to fix RH8. What ksmith mentioned won't work for RH 8 by itself. So, do yourself a favor and get and apply the patch mentioned in this thread.

    Enjoy,
    Zaphod (dohpaZ)
    Last edited by Zaphod; 10-25-2003 at 06:13 AM.
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

  7. #7
    Registered User
    Join Date
    Jan 2003
    Posts
    87
    Hey all,

    Can some one give me the correct syntax to apply the patch.
    I have searched and follow the few example i found but when i do it i am asked which file to patch.

    i'v coppied the patch to the showeq dir and run
    patch -p <patchname
    also tried it in the src dir

    As you can see i dont know much about linux.

    Cheers
    Dark
    I believe in gun control. I use both hands

  8. #8
    Registered User
    Join Date
    Dec 2001
    Posts
    951
    copy the patch to /showeq/ and type "patch -p0 < patchfilename"

  9. #9
    Registered User
    Join Date
    Jan 2003
    Posts
    87
    Thx. That worked.
    I believe in gun control. I use both hands

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On