Re: NNTPC: 2.4b3 - Linux compile questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




glibc now apparently has a strcasestr, which means the one in
libproff conflicts. you should be able to just edit out the
libproff definition. this will be fixed in b4

"Peter Mullarkey" <peter@rocksteady.com> writes:

> I am having problems building 2.4b3.
> I had previously built 2.3.3.
> 
> Current system
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> kernel 2.2.15pre7
> 
> After what looked like a successful ./configure - including the 
> following line
> "checking for strcasestr... yes"
> 
> While running make
> 
> Making all in libproff
> make[2]: Entering directory `/usr/src/nntpcache-2.4.0b3/libproff'
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../cf -I../common -I../mmap -
> I../libmmalloc  -g -O2 -Wall -pipe -c pattern.c
> In file included from str.h:40,
>                  from libproff.h:13,
>                  from pattern.c:43:
> str.ext:26: conflicting types for `strcasestr'
> /usr/include/string.h:172: previous declaration of `strcasestr'
> pattern.c: In function `matchExp':
> pattern.c:144: warning: `c' might be used uninitialized in this 
> function
> make[2]: *** [pattern.o] Error 1
> make[2]: Leaving directory `/usr/src/nntpcache-2.4.0b3/libproff'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/nntpcache-2.4.0b3'
> make: *** [all-recursive-am] Error 2
> [root@ralph nntpcache-2.4.0b3]# 
> 
> I looked in str.ext and re-ran that script, but got the following error 
> (and none of the str externs)
> 
> ./genextern.sh: -DAUTOGEN: command not found
> 
> Any pointers would be appreciated.
> 
> 	-Peter
> 
> 
> 

-- 
 >"People make their own history, but they do not make it just as they
 >please; they do not make it under circumstances chosen by themselves,
 >but under circumstances directly encountered, given and transmitted
 >from the past. The tradition of all the dead generations weighs like a
 >nightmare on the brain of the living." 


[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux