Do you have a question? Post it now! No Registration Necessary
- Gergely Buday
June 1, 2005, 2:56 pm

Hi,
I'm to compile a program that uses the u_short type synonim on my
ubuntu hoary box. 'make' stops with complaining about lacking a
definition for u_short. I've tracked down what the problem is and
found that <features.h> #undefs __USE_BSD which is important for the
definition of u_short in <sys/types.h>. Is it a proper act from
<features.h> to do so? Is this a special feature of ubuntu?
Thanks in advance
Cheers
- Gergely
ps: is _BSD_SOURCE a proper #define for Linux, especially ubuntu?
I'm to compile a program that uses the u_short type synonim on my
ubuntu hoary box. 'make' stops with complaining about lacking a
definition for u_short. I've tracked down what the problem is and
found that <features.h> #undefs __USE_BSD which is important for the
definition of u_short in <sys/types.h>. Is it a proper act from
<features.h> to do so? Is this a special feature of ubuntu?
Thanks in advance
Cheers
- Gergely
ps: is _BSD_SOURCE a proper #define for Linux, especially ubuntu?
Site Timeline
- » libc.so.1 not found !!
- — Next thread in » Embedded Linux
-
- » Is the any IRC channel discussion about embedded system?
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » Broadband filter matching design
- — The site's Newest Thread. Posted in » Electronics Design
-
- » Re: OT: The Deep State defined
- — The site's Last Updated Thread. Posted in » Electronics Design
-