keywords: ip pbx voip gateway gsm gateway

×

Notice

The forum is in read only mode.
× Questions about D110/210/410 T1/E1/J1 PRI Cards

asterisk1.4.17安装问题

15 years 1 month ago #2930 by zy7884
以下有make后日志,系统centos5.1(Linux localhost.localdomain 2.6.18-53.el5xen #1 SMP Mon Nov 12 03:26:12 EST 2007 i686 i686 i386 GNU/Linux),请问下有没有碰到过这样问题,这个版本在很多机器装过都正常,这个服务器信息([root@localhost ~]# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 3
cpu MHz : 3000.288
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc pni monitor ds_cpl cid cx16 xtpr
bogomips : 7504.35
processor : 1
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) CPU 3.00GHz
stepping : 3
cpu MHz : 3000.288
cache size : 2048 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu tsc msr pae mce cx8 apic mtrr mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm constant_tsc up pni monitor ds_cpl cid cx16 xtpr
bogomips : 7504.35)



编译日志
make[1]: Entering directory `/usr/src/ipabx/menuselect'
make[2]: Entering directory `/usr/src/ipabx/menuselect'
gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect.o menuselect.c
gcc -g -c -D_GNU_SOURCE -Wall -c -o strcompat.o strcompat.c
gcc -g -c -D_GNU_SOURCE -Wall -c -o menuselect_curses.o menuselect_curses.c
make[3]: Entering directory `/usr/src/ipabx/menuselect/mxml'
if test -f config.status; then \
./config.status --recheck; \
./config.status; \
else \
./configure; \
fi
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for ar... /usr/bin/ar
checking for cp... /bin/cp
checking for ln... /bin/ln
checking for mkdir... /bin/mkdir
checking for nroff... /usr/bin/nroff
checking for rm... /bin/rm
checking for strdup... yes
checking for vsnprintf... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mxml.list
config.status: creating mxml.pc
config.status: creating config.h
touch config.h
gcc -O -Wall -O -Wall -O -Wall -c mxml-attr.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-entity.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-file.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-index.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-node.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-search.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-set.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-private.c
gcc -O -Wall -O -Wall -O -Wall -c mxml-string.c
/bin/rm -f libmxml.a
/usr/bin/ar crvs libmxml.a mxml-attr.o mxml-entity.o mxml-file.o mxml-index.o mxml-node.o mxml-search.o mxml-set.o mxml-private.o mxml-string.o
a - mxml-attr.o
a - mxml-entity.o
a - mxml-file.o
a - mxml-index.o
a - mxml-node.o
a - mxml-search.o
a - mxml-set.o
a - mxml-private.o
a - mxml-string.o
ranlib libmxml.a
make[3]: Leaving directory `/usr/src/ipabx/menuselect/mxml'
gcc -o menuselect menuselect.o strcompat.o menuselect_curses.o mxml/libmxml.a mxml/libmxml.a -lncurses
make[2]: Leaving directory `/usr/src/ipabx/menuselect'
make[1]: Leaving directory `/usr/src/ipabx/menuselect'
menuselect/menuselect --check-deps menuselect.makeopts
Generating embedded module rules ...
[CC] astman.c -> astman.o
[CC] md5.c -> md5.o
[LD] astman.o md5.o -> astman
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make[1]: *** [astman] Error 1
make: *** [utils] Error 2
15 years 1 month ago #2931 by zy7884
卡用的d410p,两块,zaptel安装成功
15 years 1 month ago #2932 by miaolin
/usr/bin/ld: cannot find -lstdc++

gcc没装全
15 years 1 month ago #2933 by james.zhu
你的系统里面丢了支持包了或者是文件的路径不对。astman 可以去掉。
james.zhu

15 years 1 month ago #2934 by zy7884
root@localhost ~]# rpm -qa|grep libstdc
libstdc++-4.1.2-14.el5
compat-libstdc++-33-3.2.3-61
compat-libstdc++-296-2.96-138
[root@localhost ~]# rpm -qa|grep gcc
gcc-4.1.2-14.el5
gcc-gfortran-4.1.2-14.el5
libgcc-4.1.2-14.el5
compat-gcc-34-3.4.6-4
compat-gcc-34-g77-3.4.6-4
gcc-c++-4.1.2-14.el5
gcc-gnat-4.1.2-14.el5
compat-libgcc-296-2.96-138
compat-gcc-34-c++-3.4.6-4
gcc-objc-4.1.2-14.el5



安装出错
rpm -ivh libstdc++-devel-4.1.2-14.el5.i386.rpm
warning: libstdc++-devel-4.1.2-14.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID e8562897
Preparing... ########################################### [100%]
1:libstdc++-devel ########################################### [100%]
error: unpacking of archive failed on file /usr/include/c++/4.1.1/i386-redhat-linux/bits/stdc++.h.gch/O0g.gch;49c89ca9: cpio: read
15 years 1 month ago #2935 by miaolin
先重新安装整个系统,还不行就换硬盘
Time to create page: 0.034 seconds
Powered by Kunena Forum