Changeset 5509


Ignore:
Timestamp:
Dec 22, 2016 9:33:55 AM (8 years ago)
Author:
nanang
Message:

Misc (re #1945): Fixed WebRTC build failure for mips64 platform (thanks Oliver Wigley for the report).

Location:
pjproject/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5483 r5509  
    23452345$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    23462346as_fn_error $? "failed to load site script $ac_site_file 
    2347 See \`config.log' for more details" "$LINENO" 5; } 
     2347See \`config.log' for more details" "$LINENO" 5 ; } 
    23482348  fi 
    23492349done 
     
    24882488case $ac_cv_build in 
    24892489*-*-*) ;; 
    2490 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; 
     2490*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;; 
    24912491esac 
    24922492build=$ac_cv_build 
     
    25212521case $ac_cv_host in 
    25222522*-*-*) ;; 
    2523 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; 
     2523*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;; 
    25242524esac 
    25252525host=$ac_cv_host 
     
    25542554case $ac_cv_target in 
    25552555*-*-*) ;; 
    2556 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; 
     2556*) as_fn_error $? "invalid value of canonical target" "$LINENO" 5 ;; 
    25572557esac 
    25582558target=$ac_cv_target 
     
    28912891$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    28922892as_fn_error $? "no acceptable C compiler found in \$PATH 
    2893 See \`config.log' for more details" "$LINENO" 5; } 
     2893See \`config.log' for more details" "$LINENO" 5 ; } 
    28942894 
    28952895# Provide some information about the compiler. 
     
    30063006$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    30073007as_fn_error 77 "C compiler cannot create executables 
    3008 See \`config.log' for more details" "$LINENO" 5; } 
     3008See \`config.log' for more details" "$LINENO" 5 ; } 
    30093009else 
    30103010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 
     
    30493049$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    30503050as_fn_error $? "cannot compute suffix of executables: cannot compile and link 
    3051 See \`config.log' for more details" "$LINENO" 5; } 
     3051See \`config.log' for more details" "$LINENO" 5 ; } 
    30523052fi 
    30533053rm -f conftest conftest$ac_cv_exeext 
     
    31083108as_fn_error $? "cannot run C compiled programs. 
    31093109If you meant to cross compile, use \`--host'. 
    3110 See \`config.log' for more details" "$LINENO" 5; } 
     3110See \`config.log' for more details" "$LINENO" 5 ; } 
    31113111    fi 
    31123112  fi 
     
    31603160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    31613161as_fn_error $? "cannot compute suffix of object files: cannot compile 
    3162 See \`config.log' for more details" "$LINENO" 5; } 
     3162See \`config.log' for more details" "$LINENO" 5 ; } 
    31633163fi 
    31643164rm -f conftest.$ac_cv_objext conftest.$ac_ext 
     
    45544554$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    45554555as_fn_error $? "C preprocessor \"$CPP\" fails sanity check 
    4556 See \`config.log' for more details" "$LINENO" 5; } 
     4556See \`config.log' for more details" "$LINENO" 5 ; } 
    45574557fi 
    45584558 
     
    50445044   *) 
    50455045     as_fn_error $? "unknown endianness 
    5046  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; 
     5046 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;; 
    50475047 esac 
    50485048 
     
    76177617$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    76187618as_fn_error $? "Error: unable to recognize your IPP installation. Make sure the paths and ARCH suffix are set correctly, run with --help for more info 
    7619 See \`config.log' for more details" "$LINENO" 5; } 
     7619See \`config.log' for more details" "$LINENO" 5 ; } 
    76207620fi 
    76217621rm -f core conftest.err conftest.$ac_objext \ 
     
    76737673$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    76747674as_fn_error $? "Unable to find to find built binaries under $IPPSAMPLES/speech-codecs/{bin,_bin}. Have you built the IPP samples? 
    7675 See \`config.log' for more details" "$LINENO" 5; } 
     7675See \`config.log' for more details" "$LINENO" 5 ; } 
    76767676            fi 
    76777677        else 
     
    76797679$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    76807680as_fn_error $? "unable to find $IPPSAMPLES/speech-codecs/bin/*gcc*/lib or $IPPSAMPLES/speech-codecs/_bin/*gcc*/lib directory. Have you built the samples? 
    7681 See \`config.log' for more details" "$LINENO" 5; } 
     7681See \`config.log' for more details" "$LINENO" 5 ; } 
    76827682        fi 
    76837683 
     
    76877687$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    76887688as_fn_error $? "There's something wrong with this script, directory $IPPSAMP_DIR does not exist 
    7689 See \`config.log' for more details" "$LINENO" 5; } 
     7689See \`config.log' for more details" "$LINENO" 5 ; } 
    76907690            exit 1; 
    76917691        fi 
     
    77017701$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    77027702as_fn_error $? "bug in this script: unsupported IPP version 
    7703 See \`config.log' for more details" "$LINENO" 5; } 
     7703See \`config.log' for more details" "$LINENO" 5 ; } 
    77047704        fi 
    77057705 
     
    77087708$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    77097709as_fn_error $? "$IPPSAMP_LIBS doesn't exist in $IPPSAMP_DIR 
    7710 See \`config.log' for more details" "$LINENO" 5; } 
     7710See \`config.log' for more details" "$LINENO" 5 ; } 
    77117711        fi 
    77127712 
     
    77447744$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 
    77457745as_fn_error $? "no 
    7746 See \`config.log' for more details" "$LINENO" 5; } 
     7746See \`config.log' for more details" "$LINENO" 5 ; } 
    77477747fi 
    77487748rm -f core conftest.err conftest.$ac_objext \ 
     
    85858585                                ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" 
    85868586                                ;; 
     8587                            mips64*) 
     8588                                ac_webrtc_instset=generic 
     8589                                ;; 
    85878590                            mips*) 
    85888591                                ac_webrtc_instset=mips 
     
    93979400    "third_party/build/os-auto.mak") CONFIG_FILES="$CONFIG_FILES third_party/build/os-auto.mak" ;; 
    93989401 
    9399   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 
     9402  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;; 
    94009403  esac 
    94019404done 
     
    97149717  case $ac_mode$ac_tag in 
    97159718  :[FHL]*:*);; 
    9716   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 
     9719  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;; 
    97179720  :[FH]-) ac_tag=-:-;; 
    97189721  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 
     
    97429745           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 
    97439746           esac || 
    9744            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 
     9747           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;; 
    97459748      esac 
    97469749      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 
     
    97699772    case $ac_tag in 
    97709773    *:-:* | *:-) cat >"$ac_tmp/stdin" \ 
    9771       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 
     9774      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;; 
    97729775    esac 
    97739776    ;; 
  • pjproject/trunk/aconfigure.ac

    r5483 r5509  
    18601860                                ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64" 
    18611861                                ;; 
     1862                            mips64*) 
     1863                                ac_webrtc_instset=generic 
     1864                                ;; 
    18621865                            mips*) 
    18631866                                ac_webrtc_instset=mips 
  • pjproject/trunk/third_party/build/os-auto.mak.in

    r5428 r5509  
    102102 
    103103    WEBRTC_OTHER_CFLAGS += -DMIPS_FPU_LE 
     104else # Generic fixed point 
     105    WEBRTC_SRC = \ 
     106              modules/audio_processing/aecm/aecm_core_c.o                \ 
     107              modules/audio_processing/ns/nsx_core_c.o                   \ 
     108              common_audio/signal_processing/complex_fft.o 
    104109endif 
    105110endif 
Note: See TracChangeset for help on using the changeset viewer.