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

Re: errors compiling um-pppd



On Mon, Jan 07, 2002 at 07:11:10PM +0100, Gergely Nagy wrote:

> > cc1: warnings being treated as errors
> > datalink.c: In function `datalink_ChoosePhoneNumber':
> > datalink.c:197: warning: implicit declaration of function `__strsep'
> > datalink.c:197: warning: pointer/integer type mismatch in conditional expression
> > datalink.c:197: warning: pointer/integer type mismatch in conditional expression
> > datalink.c:199: warning: pointer/integer type mismatch in conditional expression
> > datalink.c:199: warning: pointer/integer type mismatch in conditional expression
> > make: *** [build-stamp] Error 1
> 
> Hmmm... on line 197, I see this:
>     dl->phone.alt = strsep(&dl->phone.next, ":");
> 
> So I think __strsep comes from string.h, and that's libc. What version
> of gcc are you using?

2.95.4. Pmake use cc that point to the "old" gcc.

-- 
Saluti / Regards

Diego Roversi | diegor at maganet.net
              | diegor at tiscalinet.it 



Reply to: