도와주세요!!
안녕하세요?
안드로이드 교육할 때 주셨던 tslib-s3c6410 를 어떻게 설치하여야 하는지요?
개념없는 초짜라서 포럼을 뒤졌습니다.
여러가지 있었지만 우선 포럼에서 tslib설치에 대한 아래의 장형기 팀장님께서 댓글로 달아주신 것을 찾아서 시도했지만 에러가 발생했습니다. (안드로이드 교육 당시 설치했던 coLinux 개발환경을 사용하고 있습니다. )
http://forum.falinux.com/zbxe/?document_srl=504923
장형기팀장님의 댓글 내용입니다.
svn co svn://svn.berlios.de/tslib/trunk/tslib tslib 에서 tslib를 다운받았다면 버젼이 상위버젼입니다..
강좌를 쓸 당시의 버젼에서 업데이트가 된 것 같습니다. 사용방법은 아래와 같이 하시면 됩니다..
1. svn co svn://svn.berlios.de/tslib/trunk/tslib tslib 로 다운로드를 받는다. ( 임의디렉토리에 다운 받는다. /project/ )
==>> 배포해 주신 tslib-s3c6410.tar 를 사용했습니다.
2. /project 디렉토리에 다운을 받았다면 /project/tslib 라는 디렉토리가 생성된다.
===>> 압축을 풀어 /project/tslib-s3c6410 디렉토리가 생성되었습니다.
이 디렉토리로 이동하여 autogen.sh 를 실행한다.
# cd /project/tslib
==>> #cd /project/tslib-s3c6410
# ./autogen.sh
만약 실행이 되지 않는다면 autogen을 설치하셨야 합니다.
==>> 정상적으로 실행되어진 것처럼 보입니다. (제 생각입니다만....)
3. 정상적으로 실행이 되었다면 configure 등 몇가지 파일들이 추가로 생성됩니다.
./configure --prefix=/project/tslib/_install --enable-inputapi --enable-shared --disable-h3600 --disable-corgi --disable-collie --enable-input --disable-arctic2 --disable-ucb1x00 --build=i386-linux --host=arm-linux
==>> 압축이 풀린 디렉토리는 /project/tslib-s3c6410이지만 --perfix=/project/tslib/_install 로 하였습니다.
이렇게 해 주세요... 여기서 --prefix=/project/tslib/_install 는 임의의 위치입니다. --prefix=/usr 을 했을 경우 저는 인스톨시 에러가 발생해서 그냥 작업위치에 /project/tslib/_install 로 하였습니다.
4. 정상적으로 configure가 되었다면...make 를 합니다.
# make
==>> 아래와 같은 에러가 발생했습니다.
[root@localhost tslib-s3c6410]# make
make all-recursive
make[1]: Entering directory `/project/tslib-s3c6410'
Making all in etc
make[2]: Entering directory `/project/tslib-s3c6410/etc'
make[2]: `all'를 위해 할 일이 없습니다
make[2]: Leaving directory `/project/tslib-s3c6410/etc'
Making all in src
make[2]: Entering directory `/project/tslib-s3c6410/src'
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_attach.lo -MD -MP -MF .deps/ts_attach.Tpo -c -o ts_attach.lo ts_attach.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_attach.lo -MD -MP -MF .deps/ts_attach.Tpo -c ts_attach.c -fPIC -DPIC -o .libs/ts_attach.o
mv -f .deps/ts_attach.Tpo .deps/ts_attach.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_close.lo -MD -MP -MF .deps/ts_close.Tpo -c -o ts_close.lo ts_close.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_close.lo -MD -MP -MF .deps/ts_close.Tpo -c ts_close.c -fPIC -DPIC -o .libs/ts_close.o
mv -f .deps/ts_close.Tpo .deps/ts_close.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_config.lo -MD -MP -MF .deps/ts_config.Tpo -c -o ts_config.lo ts_config.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_config.lo -MD -MP -MF .deps/ts_config.Tpo -c ts_config.c -fPIC -DPIC -o .libs/ts_config.o
mv -f .deps/ts_config.Tpo .deps/ts_config.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_error.lo -MD -MP -MF .deps/ts_error.Tpo -c -o ts_error.lo ts_error.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_error.lo -MD -MP -MF .deps/ts_error.Tpo -c ts_error.c -fPIC -DPIC -o .libs/ts_error.o
mv -f .deps/ts_error.Tpo .deps/ts_error.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_load_module.lo -MD -MP -MF .deps/ts_load_module.Tpo -c -o ts_load_module.lo ts_load_module.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_load_module.lo -MD -MP -MF .deps/ts_load_module.Tpo -c ts_load_module.c -fPIC -DPIC -o .libs/ts_load_module.o
mv -f .deps/ts_load_module.Tpo .deps/ts_load_module.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_open.lo -MD -MP -MF .deps/ts_open.Tpo -c -o ts_open.lo ts_open.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_open.lo -MD -MP -MF .deps/ts_open.Tpo -c ts_open.c -fPIC -DPIC -o .libs/ts_open.o
mv -f .deps/ts_open.Tpo .deps/ts_open.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_parse_vars.lo -MD -MP -MF .deps/ts_parse_vars.Tpo -c -o ts_parse_vars.lo ts_parse_vars.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_parse_vars.lo -MD -MP -MF .deps/ts_parse_vars.Tpo -c ts_parse_vars.c -fPIC -DPIC -o .libs/ts_parse_vars.o
mv -f .deps/ts_parse_vars.Tpo .deps/ts_parse_vars.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_read.lo -MD -MP -MF .deps/ts_read.Tpo -c -o ts_read.lo ts_read.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_read.lo -MD -MP -MF .deps/ts_read.Tpo -c ts_read.c -fPIC -DPIC -o .libs/ts_read.o
mv -f .deps/ts_read.Tpo .deps/ts_read.Plo
/bin/sh ../libtool --tag=CC --mode=compile arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_read_raw.lo -MD -MP -MF .deps/ts_read_raw.Tpo -c -o ts_read_raw.lo ts_read_raw.c
arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -MT ts_read_raw.lo -MD -MP -MF .deps/ts_read_raw.Tpo -c ts_read_raw.c -fPIC -DPIC -o .libs/ts_read_raw.o
mv -f .deps/ts_read_raw.Tpo .deps/ts_read_raw.Plo
/bin/sh ../libtool --tag=CC --mode=link arm-linux-gcc -DPLUGIN_DIR=\"/project/tslib/_install/lib/ts/\" -DTS_CONF=\"/project/tslib/_install/etc/ts.conf\" -DTSLIB_INTERNAL -O2 -Wall -W -version-info 1:1:1 -release 0.0 -export-dynamic -o libts.la -rpath /project/tslib/_install/lib ts_attach.lo ts_close.lo ts_config.lo ts_error.lo ts_fd.lo ts_load_module.lo ts_open.lo ts_parse_vars.lo ts_read.lo ts_read_raw.lo -ldl -ldl
rm -fr .libs/libts-0.0.so.0 .libs/libts-0.0.so.0.1.1 .libs/libts.la .libs/libts.lai .libs/libts.so
arm-linux-gcc -shared .libs/ts_attach.o .libs/ts_close.o .libs/ts_config.o .libs/ts_error.o .libs/ts_fd.o .libs/ts_load_module.o .libs/ts_open.o .libs/ts_parse_vars.o .libs/ts_read.o .libs/ts_read_raw.o -ldl -Wl,-soname -Wl,libts-0.0.so.0 -o .libs/libts-0.0.so.0.1.1
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: .libs/ts_load_module.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file .libs/ts_load_module.o
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: .libs/ts_open.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file .libs/ts_open.o
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: .libs/ts_parse_vars.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file .libs/ts_parse_vars.o
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: .libs/ts_read.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file .libs/ts_read.o
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: .libs/ts_read_raw.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file .libs/ts_read_raw.o
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/libdl.so is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/libdl.so
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/libgcc_s.so is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/libgcc_s.so
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: /usr/arm-linux/lib/libc.so.6 is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/arm-linux/lib/libc.so.6
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/libgcc_s.so is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/libgcc_s.so
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/crtendS.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/crtendS.o
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: ERROR: /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/crtn.o is compiled for EABI version 0, whereas .libs/libts-0.0.so.0.1.1 is compiled for version 4
/usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/bin/ld: failed to merge target specific data of file /usr/lib/gcc/arm-linux/3.4.3/../../../../arm-linux/lib/crtn.o
collect2: ld returned 1 exit status
make[2]: *** [libts.la] 오류 1
make[2]: Leaving directory `/project/tslib-s3c6410/src'
make[1]: *** [all-recursive] 오류 1
make[1]: Leaving directory `/project/tslib-s3c6410'
make: *** [all] 오류 2
[root@localhost tslib-s3c6410]#