포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 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 조회 수
50 [ODROID]USB gadget으로 NFS자동 부팅 file [3] 2010-04-12 14448
49 Android_GPS_ttyUSB0_howto file [2] 김경수 2010-04-08 14501
48 Android에서 S3C6410 MTD yaffs2 사용하기 file [2] 김경수 2010-04-07 14153
47 Latest Samsung System LSI Linux kernel development tree 장석원 2010-03-25 12758
» XFree86-4.4.0 Cross compile Tip [2] 고현철 2010-02-03 11591
45 USB만을 이용한 NFS 부팅 [23] 이제현 2010-01-11 21127
44 U-Boot 및 펌웨어에서 MMU 매핑코드 분석 방법 [2] 김재훈 2009-10-21 16071
43 Linux 2.6 커널의 이해 (Embedded World) file [19] 김재훈 2009-10-21 18038
42 Linux Thread Synchronization Guide file 김재훈 2009-10-21 11566
41 PXA272 Ramdisk Booting User Guide file [1] 김재훈 2009-10-07 11135
40 MicroC/OS-II Porting to TMS320C31 김재훈 2009-08-25 11706
39 nfs: server 192.168.xx.xx not responding, still trying 발생... 김재훈 2009-06-24 14215
38 임베디드 엔지니어를 위한 리눅스 커널 file [9] 김재훈 2009-05-17 17400
37 임베디드 시스템 포팅 가이드(PXA255 ) #6 file [13] 김재훈 2009-05-17 12906
36 임베디드 시스템 포팅 가이드(PXA255 ) #5 file 김재훈 2009-05-17 12505
35 임베디드 시스템 포팅 가이드(PXA255 ) #4 file 김재훈 2009-05-17 11826
34 임베디드 시스템 포팅 가이드(PXA255 ) #3 file 김재훈 2009-05-17 11880
33 임베디드 시스템 포팅 가이드(PXA255 ) #2 file 김재훈 2009-05-17 11016
32 임베디드 시스템 포팅 가이드(PXA255 ) #1 file [7] 김재훈 2009-05-17 18027
31 범용 운영체제를 위한 리눅스 커널 완전분석 file [5] 김재훈 2009-05-17 16708

사용자 로그인