Building lame 3.92 on SCO OpenServer 5.0.6a with the native C compiler
fails in the configure process with the following error:
configure: error: CHECK_TYPE_int64_t - please report to [EMAIL PROTECTED]
After commenting out the int64/uint64 tests,n configure lame configures
and builds correctly.
Note that, despite playing with optimization flags, lame built with cc
runs about 3 times slower than lame built with gcc 3.2.
Here is a patch to configure.
*** lame-3.92-orig/configure 2002-04-15 12:54:58.000000000 -0400
--- lame-3.92/configure 2002-09-20 15:40:12.000000000 -0400
***************
*** 3485,3628 ****
# can't determine default value in case the type isn't present
{ echo "configure: error: CHECK_TYPE_int32_t - please report to
[EMAIL PROTECTED]" 1>&2; exit 1; }
fi
- if test "${ac_cv_sizeof_long}" = "8" ; then
- echo $ac_n "checking for uint64_t""... $ac_c" 1>&6
- echo "configure:3491: checking for uint64_t" >&5
- if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 3496 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- #include <stdlib.h>
- #include <stddef.h>
- #endif
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_uint64_t=yes
- else
- rm -rf conftest*
- ac_cv_type_uint64_t=no
- fi
- rm -f conftest*
-
- fi
- echo "$ac_t""$ac_cv_type_uint64_t" 1>&6
- if test $ac_cv_type_uint64_t = no; then
- cat >> confdefs.h <<\EOF
- #define uint64_t unsigned long
- EOF
-
- fi
-
- echo $ac_n "checking for int64_t""... $ac_c" 1>&6
- echo "configure:3524: checking for int64_t" >&5
- if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
- echo $ac_n "(cached) $ac_c" 1>&6
- else
- cat > conftest.$ac_ext <<EOF
- #line 3529 "configure"
- #include "confdefs.h"
- #include <sys/types.h>
- #if STDC_HEADERS
- #include <stdlib.h>
- #include <stddef.h>
- #endif
- EOF
- if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
- egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
- rm -rf conftest*
- ac_cv_type_int64_t=yes
- else
- rm -rf conftest*
- ac_cv_type_int64_t=no
- fi
- rm -f conftest*
! fi
! echo "$ac_t""$ac_cv_type_int64_t" 1>&6
! if test $ac_cv_type_int64_t = no; then
! cat >> confdefs.h <<\EOF
! #define int64_t long
! EOF
!
! fi
!
! elif test "${ac_cv_sizeof_long_long}" = "8" ; then
! echo $ac_n "checking for uint64_t""... $ac_c" 1>&6
! echo "configure:3558: checking for uint64_t" >&5
! if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! cat > conftest.$ac_ext <<EOF
! #line 3563 "configure"
! #include "confdefs.h"
! #include <sys/types.h>
! #if STDC_HEADERS
! #include <stdlib.h>
! #include <stddef.h>
! #endif
! EOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! egrep "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! rm -rf conftest*
! ac_cv_type_uint64_t=yes
! else
! rm -rf conftest*
! ac_cv_type_uint64_t=no
! fi
! rm -f conftest*
!
! fi
! echo "$ac_t""$ac_cv_type_uint64_t" 1>&6
! if test $ac_cv_type_uint64_t = no; then
! cat >> confdefs.h <<\EOF
! #define uint64_t unsigned long long
! EOF
!
! fi
!
! echo $ac_n "checking for int64_t""... $ac_c" 1>&6
! echo "configure:3591: checking for int64_t" >&5
! if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
! echo $ac_n "(cached) $ac_c" 1>&6
! else
! cat > conftest.$ac_ext <<EOF
! #line 3596 "configure"
! #include "confdefs.h"
! #include <sys/types.h>
! #if STDC_HEADERS
! #include <stdlib.h>
! #include <stddef.h>
! #endif
! EOF
! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! rm -rf conftest*
! ac_cv_type_int64_t=yes
! else
! rm -rf conftest*
! ac_cv_type_int64_t=no
! fi
! rm -f conftest*
!
! fi
! echo "$ac_t""$ac_cv_type_int64_t" 1>&6
! if test $ac_cv_type_int64_t = no; then
! cat >> confdefs.h <<\EOF
! #define int64_t long long
! EOF
!
! fi
!
! else
! # can't determine default value in case the type isn't present
! { echo "configure: error: CHECK_TYPE_int64_t - please report to
[EMAIL PROTECTED]" 1>&2; exit 1; }
! fi
echo $ac_n "checking for IEEE854 compliant 80 bit floats""... $ac_c" 1>&6
echo "configure:3629: checking for IEEE854 compliant 80 bit floats" >&5
--- 3485,3629 ----
# can't determine default value in case the type isn't present
{ echo "configure: error: CHECK_TYPE_int32_t - please report to
[EMAIL PROTECTED]" 1>&2; exit 1; }
fi
! #if test "${ac_cv_sizeof_long}" = "8" ; then
! # echo $ac_n "checking for uint64_t""... $ac_c" 1>&6
! #echo "configure:3491: checking for uint64_t" >&5
! #if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then
! # echo $ac_n "(cached) $ac_c" 1>&6
! #else
! # cat > conftest.$ac_ext <<EOF
! ##line 3496 "configure"
! ##include "confdefs.h"
! ##include <sys/types.h>
! ##if STDC_HEADERS
! ##include <stdlib.h>
! ##include <stddef.h>
! ##endif
! #EOF
! #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! # egrep "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! # rm -rf conftest*
! # ac_cv_type_uint64_t=yes
! #else
! # rm -rf conftest*
! # ac_cv_type_uint64_t=no
! #fi
! #rm -f conftest*
! #
! #fi
! #echo "$ac_t""$ac_cv_type_uint64_t" 1>&6
! #if test $ac_cv_type_uint64_t = no; then
! # cat >> confdefs.h <<\EOF
! ##define uint64_t unsigned long
! #EOF
! #
! #fi
! #
! # echo $ac_n "checking for int64_t""... $ac_c" 1>&6
! #echo "configure:3524: checking for int64_t" >&5
! #if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
! # echo $ac_n "(cached) $ac_c" 1>&6
! #else
! # cat > conftest.$ac_ext <<EOF
! ##line 3529 "configure"
! ##include "confdefs.h"
! ##include <sys/types.h>
! ##if STDC_HEADERS
! ##include <stdlib.h>
! ##include <stddef.h>
! ##endif
! #EOF
! #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! # egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! # rm -rf conftest*
! # ac_cv_type_int64_t=yes
! #else
! # rm -rf conftest*
! # ac_cv_type_int64_t=no
! #fi
! #rm -f conftest*
! #
! #fi
! #echo "$ac_t""$ac_cv_type_int64_t" 1>&6
! #if test $ac_cv_type_int64_t = no; then
! # cat >> confdefs.h <<\EOF
! ##define int64_t long
! #EOF
! #
! #fi
! #
! #elif test "${ac_cv_sizeof_long_long}" = "8" ; then
! # echo $ac_n "checking for uint64_t""... $ac_c" 1>&6
! #echo "configure:3558: checking for uint64_t" >&5
! #if eval "test \"`echo '$''{'ac_cv_type_uint64_t'+set}'`\" = set"; then
! # echo $ac_n "(cached) $ac_c" 1>&6
! #else
! # cat > conftest.$ac_ext <<EOF
! ##line 3563 "configure"
! ##include "confdefs.h"
! ##include <sys/types.h>
! ##if STDC_HEADERS
! ##include <stdlib.h>
! ##include <stddef.h>
! ##endif
! #EOF
! #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! # egrep "(^|[^a-zA-Z_0-9])uint64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! # rm -rf conftest*
! # ac_cv_type_uint64_t=yes
! #else
! # rm -rf conftest*
! # ac_cv_type_uint64_t=no
! #fi
! #rm -f conftest*
! #
! #fi
! #echo "$ac_t""$ac_cv_type_uint64_t" 1>&6
! #if test $ac_cv_type_uint64_t = no; then
! # cat >> confdefs.h <<\EOF
! ##define uint64_t unsigned long long
! #EOF
! #
! #fi
! #
! # echo $ac_n "checking for int64_t""... $ac_c" 1>&6
! #echo "configure:3591: checking for int64_t" >&5
! #if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
! # echo $ac_n "(cached) $ac_c" 1>&6
! #else
! # cat > conftest.$ac_ext <<EOF
! ##line 3596 "configure"
! ##include "confdefs.h"
! ##include <sys/types.h>
! ##if STDC_HEADERS
! ##include <stdlib.h>
! ##include <stddef.h>
! ##endif
! #EOF
! #if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
! # egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
! # rm -rf conftest*
! # ac_cv_type_int64_t=yes
! #else
! # rm -rf conftest*
! # ac_cv_type_int64_t=no
! #fi
! #rm -f conftest*
! #
! #fi
! #echo "$ac_t""$ac_cv_type_int64_t" 1>&6
! #if test $ac_cv_type_int64_t = no; then
! # cat >> confdefs.h <<\EOF
! ##define int64_t long long
! #EOF
! #
! #fi
! #
! #else
! # # can't determine default value in case the type isn't present
! # { echo "configure: error: CHECK_TYPE_int64_t - please report to
[EMAIL PROTECTED]" 1>&2; exit 1; }
! #fi
echo $ac_n "checking for IEEE854 compliant 80 bit floats""... $ac_c" 1>&6
echo "configure:3629: checking for IEEE854 compliant 80 bit floats" >&5
--
Roger Cornelius [EMAIL PROTECTED]
_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder