PDA

View Full Version : I've done a search...



Comm
03-21-2002, 07:33 PM
I've been able to build showeq up to a few weeks ago. Now when I do the ./configure, I get the error below. I checked for the latest of libEQ.a, and I have the right version of QT. Can someone tell me what I am missing?
:
************************************************** *
>> Found version.: 2.3.2
>>> Headers......: /usr/lib/qt/include/
>>>> Libraries...: /usr/lib/qt/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking if Qt compiles without flags... cat: conftest.C: No such file or directory
no
checking for pthread_create in -lpthread... yes
checking for pcap_open_live in -lpcap... yes
checking for gdImageCreate in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for inflate in -lz... yes
checking for gdbm_open in -lgdbm... yes
checking for ANSI C header files... no
checking for deque.h... yes
checking for size_t... yes
checking for ProcessPacket in -lEQ... cat: conftest.C: No such file or directoryno
configure: error: libEQ.a not found. Be sure libEQ.a is already installed in /usr/local/lib or /usr/lib.
*************************************************

config.log has on the bottom:
*************************************************c onfigure:7396: checking for ANSI C header files
configure:7409: c++ -E conftest.C >/dev/null 2>conftest.out
configure:7476: c++ -o conftest.C -g -O2 conftest.C -lgdbm -lz -lpcap -lpthread 1>&5
configure: In function `int main ()':
configure:7471: `exit' undeclared (first use this function)
configure:7471: (Each undeclared identifier is reported only once for
each function it appears in.)
configure: failed program was:
#line 7465 "configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }

configure:7503: checking for deque.h
configure:7513: c++ -E conftest.C >/dev/null 2>conftest.out
configure:7542: checking for size_t
configure:7639: checking for ProcessPacket in -lEQ
configure:7661: c++ -o conftest.C -g -O2 conftest.C -lEQ -lgdbm -lz -lpcap -lpthread 1>&5
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libEQ.a(libEQ.o)(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
configure: failed program was:
**********************************************

Cryonic
03-21-2002, 10:40 PM
libEQ.a is not in the right place or wrong md5sum.

Comm
03-21-2002, 10:45 PM
Shows as being in /usr/lib, and has the same md5sum as the the one listed in the guide....

Cryonic
03-21-2002, 10:53 PM
which guide? I only trust the md5sum at the top of seq.sourceforge.net

Comm
03-21-2002, 11:02 PM
[root@hobbes lib]# md5sum libEQ.a
4e9d9772132fc63ea8860cc2fdb2905d libEQ.a

S_B_R
03-21-2002, 11:39 PM
Do you maybe have more than 1 libEQ.a? Try doing the following:


slocate libEQ.a
-OR-
find / -name libEQ.a -print

Comm
03-22-2002, 09:01 AM
Thank you all for the help. I do appreciate the effort.

As for the libraries... I don't think this is the problem. I've checked the libraries file
**********************************************

[root@hobbes sean]# find / -name libEQ.a -print
/usr/lib/libEQ.a
/home/dean/libEQ.a
[root@hobbes ]#
[root@hobbes ]# md5sum /usr/lib/libEQ.a
4e9d9772132fc63ea8860cc2fdb2905d /usr/lib/libEQ.a
[root@hobbes ]# md5sum /home/dean/libEQ.a
4e9d9772132fc63ea8860cc2fdb2905d /home/dean/libEQ.a
************************
I've also checked the libraries file:

***********************
[root@hobbes etc]# more ld.so.conf
/usr/lib
/usr/kerberos/lib
/usr/X11R6/lib
/usr/lib/qt-2.3.2/lib
/usr/lib/sane
/usr/lib/wine
[root@hobbes etc]#
*********************

Anyone know what I did wrong here?

high_jeeves
03-22-2002, 09:17 AM
/usr/lib/gcc-lib/i386-redhat-linux/2.96/

This part in your config.log makes me nervous... see the 2.96 at the end? You sure you are building with gcc3? And QT is built with gcc3?

--Jeeves