FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

LinkBack Thread Tools
Old 01-05-2009, 09:57 PM
Hans de Goede
Default Patch: master: work around glibc / kernel endian handling conflict

Hi All,

With this patch anaconda will build again.


diff --git a/loader/cdinstall.c b/loader/cdinstall.c
index 86abcea..b87554d 100644
--- a/loader/cdinstall.c
+++ b/loader/cdinstall.c
@@ -33,6 +33,13 @@
#include <sys/mount.h>
#include <sys/ioctl.h>
#include <unistd.h>
+/* Hack both __BIG_ENDIAN and __LITTLE_ENDIAN get defined by glibc, the
+ kernel headers we need do not like this! */
+#undef __BIG_ENDIAN
#include <asm/types.h>
#include <limits.h>
#include <linux/cdrom.h>
diff --git a/loader/init.c b/loader/init.c
index 8ffce1e..feb9c55 100644
--- a/loader/init.c
+++ b/loader/init.c
@@ -61,7 +61,6 @@

#include <asm/types.h>
-#include <linux/cdrom.h>
#include <linux/serial.h>

#ifndef MS_REMOUNT
Anaconda-devel-list mailing list

Thread Tools

All times are GMT. The time now is 07:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org