Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 17:39

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: q3fill 0.4.2a compile errors on linux
PostPosted: 08 Mar 2008 19:50 

Joined: 08 Mar 2008 19:44
Posts: 3
Hey, i have an older version that compiles properly under linux, but this version does not seem to compile, here is some info:

OS: Gentoo
gcc version 4.2.2 (Gentoo 4.2.2 p1.0)

$ gcc -o q3fill q3fill.c
/tmp/ccNWKBg4.o: In function `q3key2guid':
q3fill.c:(.text+0x23d2): undefined reference to `md5_update'
q3fill.c:(.text+0x23ea): undefined reference to `md5_finish'
collect2: ld returned 1 exit status


Top
 Profile  
 
 
 Post subject:
PostPosted: 08 Mar 2008 20:40 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
add md5.c at the command-line and it will work:
Code:
gcc -o q3fill q3fill.c md5.c


Top
 Profile  
 
 Post subject:
PostPosted: 08 Mar 2008 21:07 

Joined: 08 Mar 2008 19:44
Posts: 3
aluigi wrote:
add md5.c at the command-line and it will work:
Code:
gcc -o q3fill q3fill.c md5.c


Worked like a charm :-) Maybe you should include makefiles with your tools so you dont have to answer dumb questions :-)


Top
 Profile  
 
 Post subject:
PostPosted: 08 Mar 2008 23:10 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
eh eh eh I'm too lazy to include a Makefile in each package of my tools 8-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC [ DST ]


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 post attachments in this forum

Search for:
cron