Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to 'make , make install' getting odd error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
digiport
n00b
n00b


Joined: 07 Dec 2002
Posts: 3

PostPosted: Sat Dec 07, 2002 9:57 pm    Post subject: Trying to 'make , make install' getting odd error Reply with quote

Ive been working on installing this program for about a week now. I finally got all the proper files emergerd and all dependencies taken care of
when running
./configure
it goes with no problems
I then run my make and I get this error a little ways into the make process

decode.o: In function `ThreadFunc(void*)':
/root/ShowEQ/src/decode.cpp:169: undefined reference to `FindKey'
decode.o: In function `EQDecode::LocateKey()':
/root/ShowEQ/src/decode.cpp:169: undefined reference to `FindKey'
collect2: ld returned 1 exit status
make[1]: *** [showeq] Error 1
make[1]: Leaving directory `/root/ShowEQ/src'
make: *** [install-recursive] Error 1


any ideas on what Im doing wrong?
any info would be greatly appreciated
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sat Dec 07, 2002 11:17 pm    Post subject: Reply with quote

Maybe it's a problem related to ShowEQ, but somehow the linker borks because it can't find the FindKey function/variable, which is used in the function EQDecode::.... and ThreadFunc, well I don't know where if this function exists in the package, or that it should come from an external library, but it should link this library -l.....

maybe you could try grep -H FindKey -r /root/ShowEQ , to find out what header has this defind (extern .....)

Well I hope you fix it / can supply more info,

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
digiport
n00b
n00b


Joined: 07 Dec 2002
Posts: 3

PostPosted: Sat Dec 07, 2002 11:56 pm    Post subject: Reply with quote

I remember reading soemthing stating that this program needed to be compiled using threads. DOes that mean anything to anyone? I dont remember where I read it is the problem. :cry:
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Dec 08, 2002 12:28 am    Post subject: Reply with quote

digiport wrote:
I remember reading soemthing stating that this program needed to be compiled using threads. DOes that mean anything to anyone? I dont remember where I read it is the problem. :cry:

Well I'm quit sure this isn't your problem (yet), cause it states it's missing FindKey, you can state something as extrern in your code and then link it to the library that has this function c.q. variable, but that's the problem either it isn't in the library or the library isn't linked.

only think I could think of regarding threads is the -lpthread to link it to /usr/lib/libpthread.so, but the configure script should take care of all libs etc (./configure --prefix=/usr ....), but well depends on package developers really.

ps. Always use the latest version available ;-)

did you try
Code:
grep -H FindKey -r /root/ShowEQ/src/
, this should at least give the lines causing the error (decode.cpp:169), but it also hints if the file is with the packages or uses an external library.

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
digiport
n00b
n00b


Joined: 07 Dec 2002
Posts: 3

PostPosted: Sun Dec 08, 2002 12:40 am    Post subject: Reply with quote

This program cant use the latest version of qt. It specifically says use 2.3.2. as for the grep...........

root@elsia root # grep -H FindKey -r /root/ShowEQ/src/
/root/ShowEQ/src/decode.cpp: m_decodeKey = FindKey(player->data, player->len, spawn->data, spawn->len);
/root/ShowEQ/src/libeq.h: uint32_t FindKey(const uint8_t* player, uint32_t plen,
Binary file /root/ShowEQ/src/decode.o matches

thats what I get

also I found the 'threads' have nothing to do with my mak eerrors
Back to top
View user's profile Send private message
lx
Veteran
Veteran


Joined: 28 May 2002
Posts: 1012
Location: Netherlands

PostPosted: Sun Dec 08, 2002 1:07 am    Post subject: Reply with quote

digiport wrote:
This program cant use the latest version of qt. It specifically says use 2.3.2. as for the grep...........
root@elsia root # grep -H FindKey -r /root/ShowEQ/src/
/root/ShowEQ/src/decode.cpp: m_decodeKey = FindKey(player->data, player->len, spawn->data, spawn->len);
/root/ShowEQ/src/libeq.h: uint32_t FindKey(const uint8_t* player, uint32_t plen,
Binary file /root/ShowEQ/src/decode.o matches
thats what I get


'm so the function FindKey is declared in libeq.h, but where's it's body, are you missing some files (libeq.cpp) or something or should it come from some other lib, but normally this would .... well I found the problem, I stumbled on the online cvs and opened the libeq.h file (it doesn't have FindKey anymore, but that's not it) it states:
Quote:
* ShowEQ header file for libEQ API
* http://seq.sourceforge.net

if I go to seq.sourceforge.net I see
Quote:
The current md5sum of libEQ.a (28/Oct/02): ddaac48baaa3e9b015984a366748ed72
Use of any other libEQ.a is not recommended and could be a possible trojan.
so you can download a library libEQ.a, google found http://www27.brinkster.com/blueadept/libeqa.html for example, but anyway I think you need to this library solves your problem, and it should be mentioned in the....

well you probably should read INSTALL.newbies in maindir http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/seq/showeq/INSTALL.newbies?rev=1.2&content-type=text/vnd.viewcvs-markup it states something about getting libEQ.a .......

Cya lX.
_________________
"Remember there's a big difference between kneeling down and bending over.", Frank Zappa
Back to top
View user's profile Send private message
Guinney
n00b
n00b


Joined: 13 Nov 2002
Posts: 34

PostPosted: Sun Dec 08, 2002 7:16 am    Post subject: Reply with quote

Not sure as to why you are getting the errors with your build... have you tried searching their board for an ebuild ??
_________________
There are no facts...
There is no truth, just data to be manipulated...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum