초보자를 위한 큐브리드 빌드시 에러 메시지..
http://dev.naver.com/wiki/cubrid/index.php/download_build
다음은 elfutils-libelf 가 없어서 나는 에러 메시지 이다.
In file included from ../src/base/dynamic_load.c:53:
../src/base/dynamic_load.c: In function 'dl_resolve_symbol':
../src/base/dynamic_load.c:2094: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2094: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2096: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2096: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2100: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2100: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2117: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2117: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2121: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2121: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2122: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2122: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2128: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2128: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2137: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2137: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2144: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2144: error: dereferencing pointer to incomplete type
../src/base/dynamic_load.c:2145: error: invalid use of undefined type 'struct nlist'
../src/base/dynamic_load.c:2145: error: dereferencing pointer to incomplete type
make[3]: *** [dynamic_load.lo] Error 1
make[3]: Leaving directory `/home/woopo1/2008_R1.5/sa'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/woopo1/2008_R1.5/sa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/woopo1/2008_R1.5'
centos 를 사용한다면 yum으로 package를 업데이트 혹은 인스톨 가능하다.
elfutils-libelf-devel 관련 헤더가 없어서 그런 모양이다.
[root@localhost ~]# yum install elfutils-libelf*
Setting up Install Process
Parsing package install arguments
Package elfutils-libelf - 0.137-3.el5.i386 is already installed.
Resolving Dependencies
--> Running transaction check
---> Package elfutils-libelf-devel-static.i386 0:0.137-3.el5 set to be updated
---> Package elfutils-libelf-devel.i386 0:0.137-3.el5 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing for dependencies:
elfutils-libelf-devel i386 0.137-3.el5 base 24 k
elfutils-libelf-devel-static i386 0.137-3.el5 base 66 k
Transaction Summary
=============================================================================
Install 2 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 90 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): elfutils-libelf-de 100% |=========================| 24 kB 00:00
(2/2): elfutils-libelf-de 100% |=========================| 66 kB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: elfutils-libelf-devel ######################### [1/2]
Installing: elfutils-libelf-devel-static ######################### [2/2]
Dependency Installed: elfutils-libelf-devel.i386 0:0.137-3.el5 elfutils-libelf-devel-static.i386 0:0.137-3.el5
Complete!
좀더 자세한 사항은 다음 기회에 더 올려 보도록 하겠다.
귀차니즘에 젖어 있는 사람이라면
yum 에서 지원하는 group install을 사용해 보길 권장한다.
[root@localhost ~]# yum grouplist
Setting up Group Process
Installed Groups:
Office/Productivity
Editors
System Tools
Text-based Internet
GNOME Desktop Environment
Dialup Networking Support
Network Servers
Games and Entertainment
Java
Emacs
X Window System
Graphics
Web Server
Ruby
Printing Support
Mail Server
Server Configuration Tools
Sound and Video
Administration Tools
Graphical Internet
Available Groups:
Tomboy
Cluster Storage
Engineering and Scientific
MySQL Database
Development Libraries
Beagle
GNOME Software Development
X Software Development
Virtualization
Legacy Network Server
DNS Name Server
Authoring and Publishing
Base
FTP Server
Mono
XFCE-4.4
Legacy Software Development
Clustering
Java Development
OpenFabrics Enterprise Distribution
Legacy Software Support
Windows File Server
KDE Software Development
KDE (K Desktop Environment)
Horde
PostgreSQL Database
News Server
Development Tools
Yum Utilities
FreeNX and NX
Done
#yum groupinstall "Development Tools"
#yum groupinstall "Development Libraries"