[prev in list] [next in list] [prev in thread] [next in thread] 

List:       alsa-user
Subject:    [alsa-user] Re: compilation problem of alsa-lib-0.5.4!
From:       sharkey () ale ! physics ! sunysb ! edu
Date:       2000-02-29 16:24:35
[Download RAW message or body]

> Thomas' tip for uncommenting the part in /usr/include/netinet/in.h :
> /* 29.2.2000 don't forget to remove the comments here.
> extern u_int32_t ntohl __P ((u_int32_t __netlong));
> extern u_int16_t ntohs __P ((u_int16_t __netshort));
> extern u_int32_t htonl __P ((u_int32_t __hostlong));
> extern u_int16_t htons __P ((u_int16_t __hostshort));
> */  
> 
> This helped me out to solve the compilation problem.

When you dick around with header files in this way, you may succeed in
getting compilation problems to go away, but, you are really asking for
problems later on down the road.

If you can honestly say that you understand what you did, why you did it,
why it worked, and if and why it's ok, then fine, but, if the code you
compiled is buggy or unstable, don't expect sympathy from anyone.  These
kinds of hacks are severely bad things to get in the habit of doing.

If you don't understand why, I'll send you some simple source.

Eric
------
To unsubscribe from <alsa-user@alsa-project.org> mailing list send message
'unsubscribe' in the body of message to <alsa-user-request@alsa-project.org>.
BUG REPORTING SYSTEM: http://www.alsa-project.org/cgi-bin/bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic