[oe-commits] org.oe.dev There are some definition missing in uclibc which prevents

woglinde2 commit openembedded-commits at lists.openembedded.org
Wed Jul 4 17:05:10 UTC 2007


There are some definition missing in uclibc which prevents
building of bluez-utils.

-termios.h will be fixed in nex uclibc version according to this thread
http://www.mail-archive.com/uclibc@uclibc.org/msg00382.html

-errno_values.h is mostly the same as the linux kernel headers but
didnt change for years and so stucked with the 2.4 defintions,
2.6 added some more like "ENOKEY"


Bumping PR to get rebuilds. Beaware that the toolchain could be broken
after compiling the new uclibc version. If you got side-effects
with __clz-tab missing symbol, recompile the whole stuff.

Author: woglinde2 at openembedded.org
Branch: org.openembedded.dev
Revision: ffc6a1cb8a5c35ab9fdca8add26efc64679665b5
ViewMTN: http://monotone.openembedded.org/revision.psp?id=ffc6a1cb8a5c35ab9fdca8add26efc64679665b5
Files:
1
packages/uclibc/files/errno_values.h.patch
packages/uclibc/files/termios.h.patch
packages/uclibc/uclibc_0.9.29.bb
Diffs:

#
# mt diff -rc4f2f35b061801b39b4c0178b8cbb35c3637b8ae -rffc6a1cb8a5c35ab9fdca8add26efc64679665b5
#
# 
# 
# add_file "packages/uclibc/files/errno_values.h.patch"
#  content [449baeeb6e48f88f75f07d09cdee9bd3ffcba48e]
# 
# add_file "packages/uclibc/files/termios.h.patch"
#  content [a49212a1ef49d0a938f6687ab867600f05b3f1a4]
# 
# patch "packages/uclibc/uclibc_0.9.29.bb"
#  from [4747e0d84e923f3e2393759e6b97315cedfb9b8a]
#    to [a0c7d07639a2581b3d3ac3d18b716e2ea54fecca]
# 
============================================================
--- packages/uclibc/files/errno_values.h.patch	449baeeb6e48f88f75f07d09cdee9bd3ffcba48e
+++ packages/uclibc/files/errno_values.h.patch	449baeeb6e48f88f75f07d09cdee9bd3ffcba48e
@@ -0,0 +1,21 @@
+Index: uClibc-0.9.29/libc/sysdeps/linux/common/bits/errno_values.h
+===================================================================
+--- uClibc-0.9.29/libc/sysdeps/linux/common/bits/errno_values.h	2002-08-23 20:48:19.000000000 +0200
++++ uClibc-0.9.29/libc/sysdeps/linux/common/bits/errno_values.h	2007-07-01 22:11:53.000000000 +0200
+@@ -134,4 +134,16 @@
+ #define	ENOMEDIUM	123	/* No medium found */
+ #define	EMEDIUMTYPE	124	/* Wrong medium type */
+ 
++/* the following errornumbers are only in 2.6 */
++
++#define ECANCELED       125     /* Operation Canceled */
++#define ENOKEY          126     /* Required key not available */
++#define EKEYEXPIRED     127     /* Key has expired */
++#define EKEYREVOKED     128     /* Key has been revoked */
++#define EKEYREJECTED    129     /* Key was rejected by service */
++
++/* for robust mutexes */
++#define EOWNERDEAD      130     /* Owner died */
++#define ENOTRECOVERABLE 131     /* State not recoverable */
++
+ #endif /* _BITS_ERRNO_VALUES_H */
============================================================
--- packages/uclibc/files/termios.h.patch	a49212a1ef49d0a938f6687ab867600f05b3f1a4
+++ packages/uclibc/files/termios.h.patch	a49212a1ef49d0a938f6687ab867600f05b3f1a4
@@ -0,0 +1,22 @@
+Index: uClibc-0.9.29/libc/sysdeps/linux/common/bits/termios.h
+===================================================================
+--- uClibc-0.9.29.orig/libc/sysdeps/linux/common/bits/termios.h	2006-02-13 09:41:37.000000000 +0100
++++ uClibc-0.9.29/libc/sysdeps/linux/common/bits/termios.h	2007-07-03 00:41:27.000000000 +0200
+@@ -156,7 +156,6 @@
+ #endif
+ #define  B57600   0010001
+ #define  B115200  0010002
+-#if 0 /* limited on uClibc, keep in sync w/ cfsetspeed.c */
+ #define  B230400  0010003
+ #define  B460800  0010004
+ #define  B500000  0010005
+@@ -171,9 +170,6 @@
+ #define  B3500000 0010016
+ #define  B4000000 0010017
+ #define __MAX_BAUD B4000000
+-#else
+-#define __MAX_BAUD B115200
+-#endif
+ #ifdef __USE_MISC
+ # define CIBAUD	  002003600000		/* input baud rate (not used) */
+ # define CMSPAR   010000000000		/* mark or space (stick) parity */
============================================================
--- packages/uclibc/uclibc_0.9.29.bb	4747e0d84e923f3e2393759e6b97315cedfb9b8a
+++ packages/uclibc/uclibc_0.9.29.bb	a0c7d07639a2581b3d3ac3d18b716e2ea54fecca
@@ -7,13 +7,17 @@ UCLIBC_BASE ?= "0.9.29"
 # on whether the base patches apply to the selected (SRCDATE) svn release.
 #
 UCLIBC_BASE ?= "0.9.29"
-PR = "r5"
+PR = "r6"
 
 require uclibc.inc
 
 PROVIDES += "virtual/${TARGET_PREFIX}libc-for-gcc"
 
-SRC_URI += "file://uClibc.machine file://uClibc.distro"
+SRC_URI += "file://uClibc.machine file://uClibc.distro \
+	    file://errno_values.h.patch;patch=1 \
+	    file://termios.h.patch;patch=1 \
+	   "
+
 # mmap-unsigned-shift_bugid1303.patch
 # http://uclibc.org/lists/uclibc-cvs/2007-May/011360.html;patch=1"
 






More information about the Openembedded-commits mailing list