libtool: enabling shell trace mode + preserve_args=' --debug' + test 16 -gt 0 + arg=x86_64-linux-gnu-gcc + shift + case $arg in + optarg= + test -n '' + case $arg in + nonopt=x86_64-linux-gnu-gcc + break + test -n '' + exec_cmd= + test -z '' + test -z link + test -n '' + generic_help='Try `libtool --help'\'' for more information.' + help='Try `libtool --help --mode=link'\'' for more information.' + case $mode in + modename='libtool: link' + case $host in + allow_undefined=yes + libtool_args=x86_64-linux-gnu-gcc + base_compile='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo proc.lo' + compile_command=x86_64-linux-gnu-gcc + finalize_command=x86_64-linux-gnu-gcc + compile_rpath= + finalize_rpath= + compile_shlibpath= + finalize_shlibpath= + convenience= + old_convenience= + deplibs= + old_deplibs= + compiler_flags= + linker_flags= + dllsearchpath= ++ pwd + lib_search_path=/usr/src/cpufrequtils-0.4/libcpufreq + inst_prefix_dir= + avoid_version=no + dlfiles= + dlprefiles= + dlself=no + export_dynamic=no + export_symbols= + export_symbols_regex= + generated= + libobjs= + ltlibs= + module=no + no_install=no + objs= + non_pic_objects= + precious_files_regex= + prefer_static_libs=no + preload=no + prev= + prevarg= + release= + rpath= + xrpath= + perm_rpath= + temp_rpath= + thread_safe=no + vinfo= + vinfo_number=no + func_infer_tag x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo proc.lo + test -n ' CXX' + test -z '' + CC_quoted= + for arg in '$CC' + case $arg in + CC_quoted=' x86_64-linux-gnu-gcc' + case $@ in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + for arg in '"$@"' + case $arg in + test -n '' + test 15 -gt 0 + arg=-Wall + shift + case $arg in + qarg=-Wall + libtool_args='x86_64-linux-gnu-gcc -Wall' + test -n '' + prevarg=-Wall + case $arg in ++ echo X-Wall ++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g' + arg=-Wall + case $arg in + test -n -Wall + compile_command='x86_64-linux-gnu-gcc -Wall' + finalize_command='x86_64-linux-gnu-gcc -Wall' + test 14 -gt 0 + arg=-Wall + shift + case $arg in + qarg=-Wall + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall' + test -n '' + prevarg=-Wall + case $arg in ++ echo X-Wall ++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g' + arg=-Wall + case $arg in + test -n -Wall + compile_command='x86_64-linux-gnu-gcc -Wall -Wall' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall' + test 13 -gt 0 + arg=-g + shift + case $arg in + qarg=-g + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g' + test -n '' + prevarg=-g + case $arg in ++ echo X-g ++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g' + arg=-g + case $arg in + test -n -g + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g' + test 12 -gt 0 + arg=-O2 + shift + case $arg in + qarg=-O2 + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2' + test -n '' + prevarg=-O2 + case $arg in ++ echo X-O2 ++ /bin/sed -e '1s/^X//' -e 's/\([\\`\\"$\\\\]\)/\\\1/g' + arg=-O2 + case $arg in + test -n -O2 + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2' + test 11 -gt 0 + arg=-lsysfs + shift + case $arg in + qarg=-lsysfs + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs' + test -n '' + prevarg=-lsysfs + case $arg in + test X-lsysfs = X-lc + test X-lsysfs = X-lm + test X-lsysfs = X-lc_r + deplibs=' -lsysfs' + continue + test 10 -gt 0 + arg=-o + shift + case $arg in + qarg=-o + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o' + test -n '' + prevarg=-o + case $arg in + prev=output + test -n -o + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o' + test 9 -gt 0 + arg=libcpufreq.la + shift + case $arg in + qarg=libcpufreq.la + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la' + test -n output + case $prev in + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@' + case $prev in + eval 'output="$arg"' ++ output=libcpufreq.la + prev= + continue + test 8 -gt 0 + arg=-rpath + shift + case $arg in + qarg=-rpath + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath' + test -n '' + prevarg=-rpath + case $arg in + prev=rpath + continue + test 7 -gt 0 + arg=/usr/lib + shift + case $arg in + qarg=/usr/lib + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib' + test -n rpath + case $prev in + case $prev in + case $arg in + test rpath = rpath + case "$rpath " in + rpath=' /usr/lib' + prev= + continue + test 6 -gt 0 + arg=-version-info + shift + case $arg in + qarg=-version-info + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info' + test -n '' + prevarg=-version-info + case $arg in + prev=vinfo + continue + test 5 -gt 0 + arg=0:0:0 + shift + case $arg in + qarg=0:0:0 + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0' + test -n vinfo + case $prev in + case $prev in + eval 'vinfo="$arg"' ++ vinfo=0:0:0 + prev= + continue + test 4 -gt 0 + arg=-lsysfs + shift + case $arg in + qarg=-lsysfs + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs' + test -n '' + prevarg=-lsysfs + case $arg in + test X-lsysfs = X-lc + test X-lsysfs = X-lm + test X-lsysfs = X-lc_r + deplibs=' -lsysfs -lsysfs' + continue + test 3 -gt 0 + arg=cpufreq.lo + shift + case $arg in + qarg=cpufreq.lo + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo' + test -n '' + prevarg=cpufreq.lo + case $arg in + pic_object= + non_pic_object= + case $arg in + . ./cpufreq.lo ++ pic_object=.libs/cpufreq.o ++ non_pic_object=none + test -z .libs/cpufreq.o + test -z none + test .libs/cpufreq.o = none ++ echo Xcpufreq.lo ++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%' + xdir=cpufreq.lo + test Xcpufreq.lo = Xcpufreq.lo + xdir= + test .libs/cpufreq.o '!=' none + pic_object=.libs/cpufreq.o + test '' = dlfiles + test '' = dlprefiles + libobjs=' .libs/cpufreq.o' + arg=.libs/cpufreq.o + test none '!=' none + test -n .libs/cpufreq.o + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ .libs/cpufreq.o' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ .libs/cpufreq.o' + test 2 -gt 0 + arg=sysfs.lo + shift + case $arg in + qarg=sysfs.lo + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo' + test -n '' + prevarg=sysfs.lo + case $arg in + pic_object= + non_pic_object= + case $arg in + . ./sysfs.lo ++ pic_object=.libs/sysfs.o ++ non_pic_object=none + test -z .libs/sysfs.o + test -z none + test .libs/sysfs.o = none ++ echo Xsysfs.lo ++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%' + xdir=sysfs.lo + test Xsysfs.lo = Xsysfs.lo + xdir= + test .libs/sysfs.o '!=' none + pic_object=.libs/sysfs.o + test '' = dlfiles + test '' = dlprefiles + libobjs=' .libs/cpufreq.o .libs/sysfs.o' + arg=.libs/sysfs.o + test none '!=' none + test -n .libs/sysfs.o + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ .libs/cpufreq.o .libs/sysfs.o' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ .libs/cpufreq.o .libs/sysfs.o' + test 1 -gt 0 + arg=proc.lo + shift + case $arg in + qarg=proc.lo + libtool_args='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -lsysfs -o libcpufreq.la -rpath /usr/lib -version-info 0:0:0 -lsysfs cpufreq.lo sysfs.lo proc.lo' + test -n '' + prevarg=proc.lo + case $arg in + pic_object= + non_pic_object= + case $arg in + . ./proc.lo ++ pic_object=.libs/proc.o ++ non_pic_object=none + test -z .libs/proc.o + test -z none + test .libs/proc.o = none ++ echo Xproc.lo ++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%' + xdir=proc.lo + test Xproc.lo = Xproc.lo + xdir= + test .libs/proc.o '!=' none + pic_object=.libs/proc.o + test '' = dlfiles + test '' = dlprefiles + libobjs=' .libs/cpufreq.o .libs/sysfs.o .libs/proc.o' + arg=.libs/proc.o + test none '!=' none + test -n .libs/proc.o + compile_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ .libs/cpufreq.o .libs/sysfs.o .libs/proc.o' + finalize_command='x86_64-linux-gnu-gcc -Wall -Wall -g -O2 -o @OUTPUT@ .libs/cpufreq.o .libs/sysfs.o .libs/proc.o' + test 0 -gt 0 + test -n '' + test no = yes + oldlibs= ++ echo Xlibcpufreq.la ++ /bin/sed -e '1s/^X//' -e 's%^.*/%%' + outputname=libcpufreq.la + libobjs_save=' .libs/cpufreq.o .libs/sysfs.o .libs/proc.o' + test -n LD_LIBRARY_PATH + eval 'shlib_search_path=`$echo' '"X${LD_LIBRARY_PATH}"' '|' '$Xsed' -e ''\''s/:/' '/g'\''`' +++ echo X +++ /bin/sed -e '1s/^X//' -e 's/:/ /g' ++ shlib_search_path= + eval 'sys_lib_search_path="/lib64' /usr/lib64 '/usr/local/lib64"' ++ sys_lib_search_path='/lib64 /usr/lib64 /usr/local/lib64' + eval 'sys_lib_dlsearch_path="/lib64' '/usr/lib64"' ++ sys_lib_dlsearch_path='/lib64 /usr/lib64' ++ echo Xlibcpufreq.la ++ /bin/sed -e '1s/^X//' -e 's%/[^/]*$%%' + output_objdir=libcpufreq.la + test Xlibcpufreq.la = Xlibcpufreq.la + output_objdir=.libs + test '!' -d .libs + case $output in + linkmode=lib + case $host in + duplicate_compiler_generated_deps= + specialdeplibs= + libs= + for deplib in '$deplibs' + test X = Xyes + libs=' -lsysfs' + for deplib in '$deplibs' + test X = Xyes + libs=' -lsysfs -lsysfs' + test lib = lib + libs=' -lsysfs -lsysfs ' + pre_post_deps= + test X = Xyes + pre_post_deps= + deplibs= + newdependency_libs= + newlib_search_path= + need_relink=no + notinst_deplibs= + notinst_path= + case $linkmode in + passes='conv link' + for pass in '$passes' + test lib,conv = lib,link + test lib,conv = prog,scan + test lib = prog + test conv = dlopen + for deplib in '$libs' + lib= + found=no + case $deplib in + test lib '!=' lib ++ echo X-lsysfs ++ /bin/sed -e '1s/^X//' -e 's/^-l//' + name=sysfs + for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path' + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a + for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path' + for search_ext in .la '$std_shrext' .so .a + lib=/lib64/libsysfs.la + test -f /lib64/libsysfs.la + for search_ext in .la '$std_shrext' .so .a + lib=/lib64/libsysfs.so + test -f /lib64/libsysfs.so + test .so = .la + found=no + break 2 + test no '!=' yes + test lib,conv = prog,link + deplibs='-lsysfs ' + test lib = lib + newdependency_libs='-lsysfs ' + continue + for deplib in '$libs' + lib= + found=no + case $deplib in + test lib '!=' lib ++ echo X-lsysfs ++ /bin/sed -e '1s/^X//' -e 's/^-l//' + name=sysfs + for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path' + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a + for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path' + for search_ext in .la '$std_shrext' .so .a + lib=/lib64/libsysfs.la + test -f /lib64/libsysfs.la + for search_ext in .la '$std_shrext' .so .a + lib=/lib64/libsysfs.so + test -f /lib64/libsysfs.so + test .so = .la + found=no + break 2 + test no '!=' yes + test lib,conv = prog,link + deplibs='-lsysfs -lsysfs ' + test lib = lib + newdependency_libs='-lsysfs -lsysfs ' + continue + dependency_libs='-lsysfs -lsysfs ' + test conv = dlpreopen + test conv '!=' dlopen + test conv '!=' conv + test lib,conv '!=' prog,link + vars=deplibs + for var in '$vars' dependency_libs + eval 'tmp_libs="$deplibs"' ++ tmp_libs='-lsysfs -lsysfs ' + new_libs= + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + new_libs='-lsysfs ' + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + tmp_libs= + for deplib in '$new_libs' + case $deplib in + tmp_libs=' -lsysfs' + eval 'deplibs="' '-lsysfs"' ++ deplibs=' -lsysfs' + for var in '$vars' dependency_libs + eval 'tmp_libs="$dependency_libs"' ++ tmp_libs='-lsysfs -lsysfs ' + new_libs= + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + new_libs='-lsysfs ' + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + tmp_libs= + for deplib in '$new_libs' + case $deplib in + tmp_libs=' -lsysfs' + eval 'dependency_libs="' '-lsysfs"' ++ dependency_libs=' -lsysfs' + tmp_libs= + for i in '$dependency_libs' + case " $predeps $postdeps $compiler_lib_search_path " in + test -n -lsysfs + tmp_libs=' -lsysfs' + dependency_libs=' -lsysfs' + for pass in '$passes' + test lib,link = lib,link + libs=' -lsysfs' + deplibs= + test lib = prog + test link = dlopen + for deplib in '$libs' + lib= + found=no + case $deplib in + test lib '!=' lib ++ echo X-lsysfs ++ /bin/sed -e '1s/^X//' -e 's/^-l//' + name=sysfs + for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path' + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.la + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.so + for search_ext in .la '$std_shrext' .so .a + lib=/usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a + test -f /usr/src/cpufrequtils-0.4/libcpufreq/libsysfs.a + for searchdir in '$newlib_search_path' '$lib_search_path' '$sys_lib_search_path' '$shlib_search_path' + for search_ext in .la '$std_shrext' .so .a + lib=/lib64/libsysfs.la + test -f /lib64/libsysfs.la + for search_ext in .la '$std_shrext' .so .a + lib=/lib64/libsysfs.so + test -f /lib64/libsysfs.so + test .so = .la + found=no + break 2 + test no '!=' yes + test lib,link = prog,link + deplibs='-lsysfs ' + test lib = lib + newdependency_libs='-lsysfs -lsysfs -lsysfs ' + continue + dependency_libs='-lsysfs -lsysfs -lsysfs ' + test link = dlpreopen + test link '!=' dlopen + test link '!=' conv + lib_search_path= + newlib_search_path= + test lib,link '!=' prog,link + vars=deplibs + for var in '$vars' dependency_libs + eval 'tmp_libs="$deplibs"' ++ tmp_libs='-lsysfs ' + new_libs= + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + new_libs='-lsysfs ' + tmp_libs= + for deplib in '$new_libs' + case $deplib in + tmp_libs=' -lsysfs' + eval 'deplibs="' '-lsysfs"' ++ deplibs=' -lsysfs' + for var in '$vars' dependency_libs + eval 'tmp_libs="$dependency_libs"' ++ tmp_libs='-lsysfs -lsysfs -lsysfs ' + new_libs= + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + new_libs='-lsysfs ' + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + for deplib in '$tmp_libs' + case $deplib in + case " $specialdeplibs " in + case " $new_libs " in + tmp_libs= + for deplib in '$new_libs' + case $deplib in + tmp_libs=' -lsysfs' + eval 'dependency_libs="' '-lsysfs"' ++ dependency_libs=' -lsysfs' + tmp_libs= + for i in '$dependency_libs' + case " $predeps $postdeps $compiler_lib_search_path " in + test -n -lsysfs + tmp_libs=' -lsysfs' + dependency_libs=' -lsysfs' + test lib = prog + case $linkmode in + case $outputname in ++ echo Xlibcpufreq.la ++ /bin/sed -e '1s/^X//' -e 's/\.la$//' -e 's/^lib//' + name=cpufreq + eval 'shared_ext=".so"' ++ shared_ext=.so + eval 'libname="lib$name"' ++ libname=libcpufreq + test -n '' + test no '!=' no + set dummy /usr/lib + test 2 -gt 2 + install_libdir=/usr/lib + oldlibs= + test -z ' /usr/lib' + save_ifs=' ' + IFS=: + set dummy 0 0 0 0 0 0 + IFS=' ' + test -n '' + case $vinfo_number in + current=0 + revision=0 + age=0 + case $current in + case $revision in + case $age in + test 0 -gt 0 + major= + versuffix= + verstring= + case $version_type in ++ expr 0 - 0 + major=.0 + versuffix=.0.0.0 + test -z 0:0:0 + test no = yes + test yes = yes + test '' = unsupported + test link '!=' relink + removelist= ++ echo '.libs/*' + tempremovelist='.libs/*' + for p in '$tempremovelist' + case $p in + for p in '$tempremovelist' + case $p in + for p in '$tempremovelist' + case $p in + test -n '' + test no = yes + test -n '' + old_dlfiles= + dlfiles= + old_dlprefiles= + dlprefiles= + test yes = yes + test -n ' /usr/lib' + case $host in + test no = yes + name_save=cpufreq + libname_save=libcpufreq + release_save= + versuffix_save=.0.0.0 + major_save=.0 + release= + versuffix= + major= + newdeplibs= + droppeddeps=no + case $deplibs_check_method in + newdeplibs=' -lsysfs' + versuffix=.0.0.0 + major=.0 + release= + libname=libcpufreq + name=cpufreq + case $host in + test no = yes + deplibs=' -lsysfs' + library_names= + old_library= + dlname= + test yes = yes + test yes = yes + hardcode_libdirs= + dep_rpath= + rpath= + test link '!=' relink + rpath= + test -n '' + test -n LD_RUN_PATH + test -n '' + test -n '' + shlibpath= + test link '!=' relink + shlibpath= + test -n '' + eval 'shared_ext=".so"' ++ shared_ext=.so + eval 'library_names="${libname}${release}${shared_ext}$versuffix' '${libname}${release}${shared_ext}$major' '$libname${shared_ext}"' ++ library_names='libcpufreq.so.0.0.0 libcpufreq.so.0 libcpufreq.so' + set dummy libcpufreq.so.0.0.0 libcpufreq.so.0 libcpufreq.so + realname=libcpufreq.so.0.0.0 + shift + shift + test -n '${libname}${release}${shared_ext}$major' + eval 'soname="${libname}${release}${shared_ext}$major"' ++ soname=libcpufreq.so.0 + test -z '' + dlname=libcpufreq.so.0 + lib=.libs/libcpufreq.so.0.0.0 + for link in '"$@"' + linknames=' libcpufreq.so.0' + for link in '"$@"' + linknames=' libcpufreq.so.0 libcpufreq.so' + test -z ' -fPIC -DPIC' + test -z '' + test no = yes + test -n '' + test -n '' + tmp_deplibs= + for test_deplib in '$deplibs' + case " $convenience " in + tmp_deplibs=' -lsysfs' + deplibs=' -lsysfs' + test -n '' + test no = yes + test link = relink + test no = yes + test -n '' + eval 'test_cmds="$CC' -shared '$libobjs' '$deplibs' '$compiler_flags' '${wl}-soname' '$wl$soname' -o '$lib"' ++ test_cmds='x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0' + cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' + test X '!=' X: ++ expr 'Xx86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0' : '.*' + len=144 + test 144 -le 32768 + : + save_ifs=' ' + IFS='~' + for cmd in '$cmds' + IFS=' ' + eval 'cmd="$CC' -shared '$libobjs' '$deplibs' '$compiler_flags' '${wl}-soname' '$wl$soname' -o '$lib"' ++ cmd='x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0' + echo 'x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0' x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0 + eval 'x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0' ++ x86_64-linux-gnu-gcc -shared .libs/cpufreq.o .libs/sysfs.o .libs/proc.o -lsysfs -Wl,-soname -Wl,libcpufreq.so.0 -o .libs/libcpufreq.so.0.0.0 /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/libsysfs.a(libsysfs_la-sysfs_utils.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.0.3/../../../../lib64/libsysfs.a: could not read symbols: Bad value collect2: ld returned 1 exit status + lt_exit=1 + test link = relink + exit 1