Hi All,

    I have a declaration like this:

        struct sockaddr_in srvaddr;

when I compile that I get an error from gcc:

    aggregate `struct sockaddr_in servaddr' has incomplete type and
cannot be initialized

I have never seen this error, can anyone help?

gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)

        Thanks

                Glenn

--

Glenn MacGregor

Director of Services
Oracom, Inc.
http://www.oracom.com

Tel. +1 978.557.5710 Ext. 302
Fax  +1 978.557.5716



-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to