View Full Version : 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.
Zaphod
10-24-2003, 09:29 PM
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)
Zaphod
10-24-2003, 11:17 PM
Apply the patch that I posted here (http://seq.sourceforge.net/forums/showthread.php?s=&threadid=4170). It should fix your problems.
Enjoy,
Zaphod (dohpaZ)
P.S. I'd still like to know what Linux distribution and version you are using.
Thx i'll patch it later on.
RH8 full install.
goalie20
10-25-2003, 02:01 AM
Originally posted by ksmith
Add
#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.
Zaphod
10-25-2003, 05:53 AM
Originally posted by goalie20
Originally posted by ksmith
Add
#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 (http://seq.sourceforge.net/forums/showthread.php?s=&threadid=4170).
Enjoy,
Zaphod (dohpaZ)
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
fryfrog
10-25-2003, 04:53 PM
copy the patch to /showeq/ and type "patch -p0 < patchfilename"
Powered by vBulletin® Version 4.1.11 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.