포럼 회원으로 등록하신분만 다운로드가 가능합니다. 최대 업로드 가능한 용량은 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)
그대로 따라하면 다음과 같은 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#
감사합니다. ^^ 열심히 해보겠습니다..