database.sarang.net
UserID
Passwd
Database
DBMS
MySQL
PostgreSQL
Firebird
Oracle
Informix
Sybase
MS-SQL
DB2
Cache
ㆍCUBRID
LDAP
ALTIBASE
Tibero
DB 문서들
스터디
Community
공지사항
자유게시판
구인|구직
DSN 갤러리
도움주신분들
Admin
운영게시판
최근게시물
CUBRID Q&A 1008 게시물 읽기
No. 1008
Q.make 에러..
작성자
x2
작성일
2008-03-20 15:23:09
조회수
6,711

INSTALL 보고 무리없이 진행하다가 마지막 make 할때 에러가 보이네요..

도움 말씀 부탁드립니다.

 

[root@www8 src]# make

/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=compile gcc  -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/apache/modules/cubrid_phpext/src/php_cubrid.c -o php_cubrid.lo

gcc -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -c /usr/local/apache/modules/cubrid_phpext/src/php_cubrid.c  -fPIC -DPIC -o php_cubrid.lo

/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=compile gcc  -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/apache/modules/cubrid_phpext/src/error.c -o error.lo

gcc -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -c /usr/local/apache/modules/cubrid_phpext/src/error.c  -fPIC -DPIC -o error.lo

/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=link gcc -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -o cubrid.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/apache/modules/cubrid_phpext/src/modules  php_cubrid.lo error.lo -Wl,-rpath,/usr/local/apache/modules/cubrid_phpext/cci -L/usr/local/apache/modules/cubrid_phpext/cci -lcascci

mkdir .libs

rm -fr .libs/cubrid.la .libs/cubrid.* .libs/cubrid.*

(cd . && ln -s php_cubrid.lo php_cubrid.o)

(cd . && ln -s error.lo error.o)

gcc -shared  php_cubrid.lo error.lo  -L/usr/local/apache/modules/cubrid_phpext/cci -lcascci  -Wl,-rpath -Wl,/usr/local/apache/modules/cubrid_phpext/cci -Wl,-soname -Wl,cubrid.so -o .libs/cubrid.so

/usr/bin/ld: skipping incompatible /usr/local/apache/modules/cubrid_phpext/cci/libcascci.a when searching for -lcascci

/usr/bin/ld: cannot find -lcascci

collect2: ld returned 1 exit status

make: *** [cubrid.la] Error 1

이 글에 대한 댓글이 총 2건 있습니다.

안녕하세요.

마지막 에러를 보면 cascci 를 찾을수 없다고 나오고 있읍니다. 문서상의 컴파일 과정의 첫부분에 보시면 CUBRID_CAS(또는 CUBRID_BROKER) 의 cci 디렉토리로 부터 화일을 복사하는 부분이 있는데 이부분이 잘못된 것으로 보입니다.

문서상의 위치에 화일을 복사후 진행하시면 될 것입니다.

 

>INSTALL 보고 무리없이 진행하다가 마지막 make 할때 에러가 보이네요..

>도움 말씀 부탁드립니다.

>

>[root@www8 src]# make

>/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=compile gcc  -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/apache/modules/cubrid_phpext/src/php_cubrid.c -o php_cubrid.lo

>gcc -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -c /usr/local/apache/modules/cubrid_phpext/src/php_cubrid.c  -fPIC -DPIC -o php_cubrid.lo

>/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=compile gcc  -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/apache/modules/cubrid_phpext/src/error.c -o error.lo

>gcc -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -c /usr/local/apache/modules/cubrid_phpext/src/error.c  -fPIC -DPIC -o error.lo

>/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=link gcc -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -o cubrid.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/apache/modules/cubrid_phpext/src/modules  php_cubrid.lo error.lo -Wl,-rpath,/usr/local/apache/modules/cubrid_phpext/cci -L/usr/local/apache/modules/cubrid_phpext/cci -lcascci

>mkdir .libs

>rm -fr .libs/cubrid.la .libs/cubrid.* .libs/cubrid.*

>(cd . && ln -s php_cubrid.lo php_cubrid.o)

>(cd . && ln -s error.lo error.o)

>gcc -shared  php_cubrid.lo error.lo  -L/usr/local/apache/modules/cubrid_phpext/cci -lcascci  -Wl,-rpath -Wl,/usr/local/apache/modules/cubrid_phpext/cci -Wl,-soname -Wl,cubrid.so -o .libs/cubrid.so

>/usr/bin/ld: skipping incompatible /usr/local/apache/modules/cubrid_phpext/cci/libcascci.a when searching for -lcascci

>/usr/bin/ld: cannot find -lcascci

>collect2: ld returned 1 exit status

>make: *** [cubrid.la] Error 1

 

남재우님이 2008-03-20 16:23:11에 작성한 댓글입니다. Edit

빌드하신 환경이 64비트인것 같습니다. 64비트 환경에서 32비트 라이브러리가 호환되지 않아 발생하는 문제입니다. 64비트용 php extension을 다운로드 받아 빌드해보시기 바랍니다.

 

>INSTALL 보고 무리없이 진행하다가 마지막 make 할때 에러가 보이네요..

>도움 말씀 부탁드립니다.

>

>[root@www8 src]# make

>/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=compile gcc  -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/apache/modules/cubrid_phpext/src/php_cubrid.c -o php_cubrid.lo

>gcc -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -c /usr/local/apache/modules/cubrid_phpext/src/php_cubrid.c  -fPIC -DPIC -o php_cubrid.lo

>/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=compile gcc  -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -c /usr/local/apache/modules/cubrid_phpext/src/error.c -o error.lo

>gcc -I. -I/usr/local/apache/modules/cubrid_phpext/src -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci -DHAVE_CONFIG_H -g -O2 -c /usr/local/apache/modules/cubrid_phpext/src/error.c  -fPIC -DPIC -o error.lo

>/bin/sh /usr/local/apache/modules/cubrid_phpext/src/libtool --mode=link gcc -DPHP_ATOM_INC -I/usr/local/apache/modules/cubrid_phpext/src/include -I/usr/local/apache/modules/cubrid_phpext/src/main -I/usr/local/apache/modules/cubrid_phpext/src -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/apache/modules/cubrid_phpext/cci  -DHAVE_CONFIG_H  -g -O2   -o cubrid.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/local/apache/modules/cubrid_phpext/src/modules  php_cubrid.lo error.lo -Wl,-rpath,/usr/local/apache/modules/cubrid_phpext/cci -L/usr/local/apache/modules/cubrid_phpext/cci -lcascci

>mkdir .libs

>rm -fr .libs/cubrid.la .libs/cubrid.* .libs/cubrid.*

>(cd . && ln -s php_cubrid.lo php_cubrid.o)

>(cd . && ln -s error.lo error.o)

>gcc -shared  php_cubrid.lo error.lo  -L/usr/local/apache/modules/cubrid_phpext/cci -lcascci  -Wl,-rpath -Wl,/usr/local/apache/modules/cubrid_phpext/cci -Wl,-soname -Wl,cubrid.so -o .libs/cubrid.so

>/usr/bin/ld: skipping incompatible /usr/local/apache/modules/cubrid_phpext/cci/libcascci.a when searching for -lcascci

>/usr/bin/ld: cannot find -lcascci

>collect2: ld returned 1 exit status

>make: *** [cubrid.la] Error 1

 

강동완님이 2008-03-20 16:43:11에 작성한 댓글입니다. Edit
[Top]
No.
제목
작성자
작성일
조회
1012Q.클래스(테이블)정보에 Comment는 넣을 수 없나요? [1]
정총균
2008-03-25
6756
1011Q.큐브리드 설치시에 [2]
CoupeRD
2008-03-24
6570
1009Q.상속된 테이블에 관하여... [1]
ajdcnddl
2008-03-21
6874
1008Q.make 에러.. [2]
x2
2008-03-20
6711
1007Q.패치에 대해서 [1]
이상인
2008-03-20
6547
1005Q.java run에서 에러가 나서요. [2]
강신철
2008-03-18
5763
1004Q.INSERT 구문에 관해 질문 드립니다. [1]
강무
2008-03-18
6427
Valid XHTML 1.0!
All about the DATABASE... Copyleft 1999-2019 DSN, All rights reserved.
작업시간: 0.067초, 이곳 서비스는
	PostgreSQL v11.5로 자료를 관리합니다