在安裝libdap時使用make指令出現錯誤... - Linux

Wallis avatar
By Wallis
at 2010-03-03T10:51

Table of Contents

我的作業是統是Fedora 11 X86_64

當我在安裝libdap-3.8.2的過程中
1.#./configure (一切順利)
2.#make (剛開始一切安好)
後來就出現以下錯誤訊息...
--------------------------------------
make[2]: Entering directory `/opt/roms/libdap-3.8.2'
/bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I./gl
-I./GNU -I/usr/include/libxml2 -Wall -W -Wcast-align -g -O2 -MT
libdapclient_la-util_mit.lo -MD -MP -MF .deps/libdapclient_la-util_mit.Tpo -c
-o libdapclient_la-util_mit.lo `test -f 'util_mit.cc' || echo './'`util_mit.cc
g++ -DHAVE_CONFIG_H -I. -I./gl -I./GNU -I/usr/include/libxml2 -Wall -W
-Wcast-align -g -O2 -MT libdapclient_la-util_mit.lo -MD -MP -MF
.deps/libdapclient_la-util_mit.Tpo -c util_mit.cc -fPIC -DPIC -o
.libs/libdapclient_la-util_mit.o
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:65: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc:71: warning: deprecated conversion from string constant to 'char*'
util_mit.cc: In function 'std::string libdap::date_time_str(time_t*, bool)':
util_mit.cc:336: error: 'sprintf' was not declared in this scope
util_mit.cc:360: error: 'sprintf' was not declared in this scope
make[2]: *** [libdapclient_la-util_mit.lo] Error 1
make[2]: Leaving directory `/opt/roms/libdap-3.8.2'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/opt/roms/libdap-3.8.2'
make: *** [check] Error 2
[root@WS libdap-3.8.2]#
-------------------------------------------
我一直找不出原因
請高手們救救我阿~

--
Tags: Linux

All Comments

三天...

Elvira avatar
By Elvira
at 2010-03-03T09:00
最近公司因為需要 要架設LINUX伺服器 並且由幾乎不會的小弟我擔任這份工作 只給我三天時間.... 有沒有什麼好建議呢? 或是速成的書籍(雖然不喜歡速成這兩個字) 基礎的簡單指令大概知道而已 先謝謝各位 - ...

三月份 SA@台中 活動開跑囉

Steve avatar
By Steve
at 2010-03-03T08:16
※ [本文轉錄自 TaichungBun 看板] 作者: mrmoneyc (mrMoneyC) 看板: TaichungBun 標題: [資訊] 三月份 SAat台中 活動開跑囉 時間: Wed Mar 3 02:22:03 2010 課程主題: How To Build a Scalable W ...

Mandriva2010 小問

Agnes avatar
By Agnes
at 2010-03-02T22:22
※ 引述《NoCanDo (沒法度)》之銘言: : MDV2010一些小問題 : 1、某些輸入視窗中按BackSpace,會發出很刺耳的and#34;嗶and#34;聲音(就像主機板BIOS) : 要怎樣把他關掉? 這個我到現在還不知道怎麼解決 那個好像是直接去響主機板喇叭的聲音 : 2、全域快捷鍵 ...

Mandriva2010 小問

Adele avatar
By Adele
at 2010-03-02T22:17
MDV2010一些小問題 1、某些輸入視窗中按BackSpace,會發出很刺耳的and#34;嗶and#34;聲音(就像主機板BIOS) 要怎樣把他關掉? 2、全域快捷鍵 Ctri+C Ctri+V等等之類的常常會失效 = = 這是BUG嗎? 3、Dolphin似乎有BUG,在觀看檔屬性的時候更改 ...

tile windows on Gnome

Margaret avatar
By Margaret
at 2010-03-02T22:15
各位好, 我有需求在同一個桌面開許二~三個視窗 並且要同時兼看著它們. 請問有沒有什麼軟體可以點一下後 可將視窗平均的排在同一個桌面上? (我用ubuntu 9.04, Gnome) - ...