makedev

Shaun Jackman sjackman@gmail.com
Tue Apr 5 17:43:00 GMT 2005


I'm compiling busybox with newlib. busybox uses the makedev macro
which is defined in glibc's /usr/include/sys/sysmacros.h. glibc's
sys/types.h includes sys/sysmacros.h if __USE_BSD is defined. So,
busybox includes sys/types.h (which includes features.h which defines
__USE_BSD) and expects makedev to be defined. So, should newlib be
modfied to define makedev (or alternatively include sys/sysmacros.h),
or should busybox be modified to include sys/sysmacros.h itself?

Thanks,
Shaun



More information about the Newlib mailing list