[Help-gnutls] Can't compile Echo Server with Anonymous Authentication
Rickard Eriksson
Rickard at rtvi.se
Sun Feb 8 10:49:44 CET 2009
Hi
I am trying to compile the Echo Server with Anonymous Authentication but
i just get errors.
# gcc -o test main.cpp -lgnutls -lgcrypt
main.cpp: In function 'int main()':
main.cpp:107: error: invalid conversion from 'int*' to 'socklen_t*'
main.cpp:107: error: initializing argument 3 of 'int accept(int,
sockaddr*, socklen_t*)'
The box i try to compile it on is a Gentoo linux with net-libs/gnutls
version 2.4.1-r2 installed.
What do i do wrong? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Rickard.vcf
Type: text/x-vcard
Size: 332 bytes
Desc: not available
URL: </pipermail/attachments/20090208/b99ca506/attachment.vcf>
More information about the Gnutls-help
mailing list