From: Ivan Kuten <ivan.kuten@promwad.com>
To: buildroot@busybox.net
Subject: [Buildroot] PATCH: DirectFB PAGE_SIZE handling
Date: Tue, 26 Jun 2007 01:36:23 +0300 (EEST) [thread overview]
Message-ID: <36606.127.0.0.1.1182810983.squirrel@localhost> (raw)
Hello,
DirectFB lib/direct/system.c uses PAGE_SIZE definition and fails to build:
system.c: In function 'direct_pagesize':
system.c:64: error: 'PAGE_SIZE' undeclared (first use in this function)
system.c:64: error: (Each undeclared identifier is reported only once
system.c:64: error: for each function it appears in.)
There is no PAGE_SIZE in <asm/page.h> at least on ARM, the following patch
forces DirectFB to detect PAGE_SIZE via sysconf( _SC_PAGESIZE ) libc call:
diff -urN buildroot.orig/package/directfb/directfb.mk
buildroot.new/package/directfb/directfb.mk
--- buildroot.orig/package/directfb/directfb.mk 2007-05-18 10:15:13.000000000 +0300
+++ buildroot.new/package/directfb/directfb.mk 2007-06-26 00:17:13.000000000 +0300
@@ -26,6 +26,7 @@
LDFLAGS="$(TARGET_LDFLAGS)" \
ac_cv_header_linux_wm97xx_h=no \
ac_cv_header_linux_sisfb_h=no \
+ ac_cv_header_asm_page_h=no \
./configure \
--target=$(GNU_TARGET_NAME) \
--host=$(GNU_TARGET_NAME) \
Also patch is attached because my mailer breaks formatting.
Best regards,
Ivan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DirectFB-patch_PAGE_SIZE.diff
Type: application/octet-stream
Size: 493 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20070626/f1993d5e/attachment.obj
next reply other threads:[~2007-06-25 22:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-25 22:36 Ivan Kuten [this message]
2007-06-26 6:23 ` [Buildroot] PATCH: DirectFB PAGE_SIZE handling Bernhard Fischer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36606.127.0.0.1.1182810983.squirrel@localhost \
--to=ivan.kuten@promwad.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox