[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mgp-users-jp 00829] Re: magicpoint-1.08a on BSD/OS V4.0.1



From: Staff user <hagihira@anes.med.osaka-u.ac.jp>
Subject: [mgp-users-jp 00828] magicpoint-1.08a on BSD/OS V4.0.1
Date: Mon, 21 May 2001 23:48:03 +0900
Message-ID: <>

>> BSD/OS V4.0.1でmagicpoint-1.08aをコンパイルしようとして型通りに操作し
>> ましたが,リンクのところで解決されないシンボルが出てErrorで止まりまし
>> た.
>> 調べた結果zlibをリンクすべきところがリンクのリストに含まれていないこと
>> が判明しましたので,Makefileに直接-lzを加えて(zlibの本体は
>> /usr/local/libに置いてあります)無事作成できました.
>> zlib-1.0.5.tar.gzを使用しています.
>> おそらくconfigureの問題なんでしょうか?

はい。configureの問題だと思います。このパッチを試して頂けますか?


*** configure.orig	Tue May 22 12:21:01 2001
--- configure	Tue May 22 12:21:33 2001
***************
*** 693,699 ****
  fi
  echo "$ac_t""$CPP" 1>&6
  
! for ac_prog in gawk mawk nawk awk
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
--- 693,699 ----
  fi
  echo "$ac_t""$CPP" 1>&6
  
! for ac_prog in mawk gawk nawk awk
  do
  # Extract the first word of "$ac_prog", so it can be a program name with args.
  set dummy $ac_prog; ac_word=$2
***************
*** 2139,2147 ****
  		fi
  		LIBS="$LIBS -L$i/lib"
  		OPTFLAGS="$OPTFLAGS -I$i/include"
! 		echo $ac_n "checking for png_set_tRNS_to_alpha in -lpng""... $ac_c" 1>&6
! echo "configure:2144: checking for png_set_tRNS_to_alpha in -lpng" >&5
! ac_lib_var=`echo png'_'png_set_tRNS_to_alpha | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
--- 2139,2147 ----
  		fi
  		LIBS="$LIBS -L$i/lib"
  		OPTFLAGS="$OPTFLAGS -I$i/include"
! 		echo $ac_n "checking for png_read_image in -lpng""... $ac_c" 1>&6
! echo "configure:2144: checking for png_read_image in -lpng" >&5
! ac_lib_var=`echo png'_'png_read_image | sed 'y%./+-%__p_%'`
  if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
    echo $ac_n "(cached) $ac_c" 1>&6
  else
***************
*** 2153,2162 ****
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
! char png_set_tRNS_to_alpha();
  
  int main() {
! png_set_tRNS_to_alpha()
  ; return 0; }
  EOF
  if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
--- 2153,2162 ----
  /* Override any gcc2 internal prototype to avoid an error.  */
  /* We use char because int might match the return type of a gcc2
      builtin and then its argument prototype would still apply.  */
! char png_read_image();
  
  int main() {
! png_read_image()
  ; return 0; }
  EOF
  if { (eval echo configure:2163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then


--
ソニーコンピュータサイエンス研究所
西田佳史 nishida@csl.sony.co.jp