포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 20MB 입니다.

1. toolchain의 실행파일들을 arm-linux/bin쪽으로 링크를 걸어야 한다.

ln -s /korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/bin/arm-linux-cpp /korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/arm-linux/bin/cpp
ln -s /korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/bin/arm-linux-gcc /korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/arm-linux/bin/cc

 

gzip -d < XFree86-4.4.0-src-1.tgz | tar xf -
gzip -d < XFree86-4.4.0-src-2.tgz | tar xf -
gzip -d < XFree86-4.4.0-src-3.tgz | tar xf -


gzip -d < XFree86-4.4.0-src-1.tgz | tar xf - ;gzip -d < XFree86-4.4.0-src-2.tgz | tar xf - ;gzip -d < XFree86-4.4.0-src-3.tgz | tar xf -


    
mkdir build
(cd build && lndir ../xc)


vi build/config/cf/host.def     
    


#define KDriveXServer              YES
#define TinyXServer                YES
#define BuildFonts NO
#define HasTsLib YES
#define ProjectRoot /usr/X11R6
#define NothingOutsideProjectRoot YES
#define UseInstalledOnCrossCompile YES
#define HasFreetype2 YES
#define HasFontconfig YES
#define HasExpat YES
#define HasNCurses NO
#define HasZlib  YES 
#define TouchScreen YES
#define XfbdevServer               YES


중간에 compiler.h와
/korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/arm-linux/sys-include/sys/io.h

에서 inb등의 함수땜에 삑사리 난다. 일단 컴파일러쪽의 것을 잠시 지우자.

#if 0
/* The functions that actually perform reads and writes.  */
extern unsigned char inb (unsigned long int port) __THROW;
extern unsigned short int inw (unsigned long int port) __THROW;
extern unsigned long int inl (unsigned long int port) __THROW;

extern void outb (unsigned char value, unsigned long int port) __THROW;
extern void outw (unsigned short value, unsigned long int port) __THROW;
extern void outl (unsigned long value, unsigned long int port) __THROW;
#endif


(cd build && make World CROSSCOMPILEDIR=/korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/arm-linux/bin)

 


- install

(cd build && make DESTDIR=/root/xf440/inst install)


(cd build && make DESTDIR=/scratchbox/users/aesop/targets/AESOP install)


(cd build && make World CROSSCOMPILEDIR=/korea-dokdo/aesoptool/gcc-3.3.4-glibc-2.3.3/arm-linux/arm-linux/bin && make DESTDIR=/scratchbox/users/aesop/targets/AESOP install)

 


최영진

2010.02.03 18:33:46
*.244.221.1

감사합니다. ^^ 열심히 해보겠습니다..

요셉

2010.06.23 18:30:20
*.138.118.233

그대로 따라하면 다음과 같은 error가 나오네요. 어떻게 해야 하나요?


root@ksseo-desktop:~/aesop-xfree86/build# make World CROCOMPILEDIR=/opt/s3c6410/cross/armv6/bin

./config/util/printver.exe: 1: Syntax error: word unexpected (expecting ")")
Building XFree86.

I hope you checked the configuration parameters in ./config/cf
to see if you need to pass BOOTSTRAPCFLAGS.

2010. 06. 22. (화) 23:56:17 KST

cd ./config/imake && make  -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc" clean
make[1]: Entering directory `/media/work/aesop-xfree86/build/config/imake'
rm -f ccimake imake.o imake
rm -f *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a tags TAGS make.log #*
rm -f -r Makefile.proto Makefile Makefile.dep bootstrap
rm -f imakemdep_cpp.h
make[1]: Leaving directory `/media/work/aesop-xfree86/build/config/imake'
make  Makefile.boot
make[1]: Entering directory `/media/work/aesop-xfree86/build'
cd ./config/imake && make -w -f Makefile.ini BOOTSTRAPCFLAGS="" CC="cc"
make[2]: Entering directory `/media/work/aesop-xfree86/build/config/imake'
making imake with BOOTSTRAPCFLAGS= and CROSSCOMPILEFLAGS=-DCROSSCOMPILEDIR="" in config/imake
cc -o ccimake -DCROSSCOMPILEDIR=""  -O -I../../include -I../../imports/x11/include/X11 ccimake.c
if [ -n "" ] ; then
    /cc -E `./ccimake`
    -DCROSSCOMPILE_CPP imakemdep.h > imakemdep_cpp.h;
    else touch imakemdep_cpp.h; fi
cc -c  -O -I../../include -I../../imports/x11/include/X11 `./ccimake` imake.c
./ccimake: 1: Syntax error: word unexpected (expecting ")")
cc -o imake  -O -I../../include -I../../imports/x11/include/X11 imake.o
make[2]: Leaving directory `/media/work/aesop-xfree86/build/config/imake'
rm -f ./config/makedepend/Makefile.proto
./config/imake/imake -I./config/cf  -s ./config/makedepend/Makefile.proto -f ./config/makedepend/Imakefile -DTOPDIR=../.. -DCURDIR=./config/makedepend
./config/imake/imake: 1: Syntax error: word unexpected (expecting ")")
make[1]: *** [config/makedepend/Makefile.proto] 오류 2
make[1]: Leaving directory `/media/work/aesop-xfree86/build'
make: *** [World] 오류 2
root@ksseo-desktop:~/aesop-xfree86/build#

List of Articles
번호 제목 글쓴이 날짜 조회 수sort
30 lowlevel_init.S 분석자료(aesop6410) [2] 이세종 2009-05-10 11900
29 임베디드 시스템 포팅 가이드(PXA255 ) #3 file 김재훈 2009-05-17 11880
28 FATAL: kernel too oldKernel panic - not syncing: Attempt... 고현철 2009-04-28 11871
27 임베디드 시스템 포팅 가이드(PXA255 ) #4 file 김재훈 2009-05-17 11826
26 MicroC/OS-II Porting to TMS320C31 김재훈 2009-08-25 11707
» XFree86-4.4.0 Cross compile Tip [2] 고현철 2010-02-03 11591
24 Linux Thread Synchronization Guide file 김재훈 2009-10-21 11566
23 linux kernel의 ethernet(MAC) address를 자동 지정해 주는 방법 [1] 고현철 2009-03-05 11513
22 NFS howto & options 고현철 2009-01-30 11154
21 PXA272 Ramdisk Booting User Guide file [1] 김재훈 2009-10-07 11135
20 Windows CE에서 NK.bin에 포함된 모듈 확인 하는 방법 file [1] 김재훈 2009-02-04 11030
19 임베디드 시스템 포팅 가이드(PXA255 ) #2 file 김재훈 2009-05-17 11018
18 kernel 2.6(S3C64XX)용 kernel image구조 고현철 2009-02-16 10982
17 GStreamer on TI DaVinci and OMAP 장석원 2009-04-25 10929
16 2.6.28 kernel에서 sk_buff에서 mac header를 가져오고 찍는 방법 [1] 고현철 2009-02-10 10864
15 uBuntu 8.10에서 Crosstool 0.43 사용 방법 [2] 김재훈 2009-02-18 10780
14 ramdisk howto file 고현철 2009-01-30 10622
13 ubuntu 에서 kubuntu ppa backports repository 지정방법 [1] 고도리 2011-05-10 10403
12 Embedded linux Swap howto 고현철 2009-01-30 10252
11 Creating a Root File System for Linux on OMAP35x 장석원 2009-04-24 10114

사용자 로그인