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

Re: errors compiling um-pppd



> 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?

(I'll try to reproduce this locally sometime tomorrow)

Attachment: pgpio8kNKLnAj.pgp
Description: PGP signature


Reply to: