LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Error in MesaLib-10.0.3 and its Recommended libvdpau-0.7‏ (https://www.linuxquestions.org/questions/linux-from-scratch-13/error-in-mesalib-10-0-3-and-its-recommended-libvdpau-0-7-a-4175498881/)

dragonprasad 03-20-2014 12:15 PM

Error in MesaLib-10.0.3 and its Recommended libvdpau-0.7‏
 
Hello guys!

i am in MesaLib-10.0.3 and while installing its recommended libvdpau-0.7 i got some errors while running make command the log can be found below
Code:

root [ /xc/libvdpau-0.7 ]# make
make  all-recursive
make[1]: Entering directory '/xc/libvdpau-0.7'
Making all in doc
make[2]: Entering directory '/xc/libvdpau-0.7/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/xc/libvdpau-0.7/doc'
Making all in src
make[2]: Entering directory '/xc/libvdpau-0.7/src'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/xc/libvdpau-0.7/src'
Making all in test
make[2]: Entering directory '/xc/libvdpau-0.7/test'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/xc/libvdpau-0.7/test'
Making all in trace
make[2]: Entering directory '/xc/libvdpau-0.7/trace'
/bin/sh ../libtool --tag=CXX  --mode=link g++ -I../include  -g -O2 -version-info 1:0:0 -module -no-undefined  -o libvdpau_trace.la -rpath /usr/lib/vdpau vdpau_trace.lo -ldl
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libstdc++.la' is not a valid libtool archive
Makefile:324: recipe for target 'libvdpau_trace.la' failed
make[2]: *** [libvdpau_trace.la] Error 1
make[2]: Leaving directory '/xc/libvdpau-0.7/trace'
Makefile:368: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/xc/libvdpau-0.7'
Makefile:279: recipe for target 'all' failed
make: *** [all] Error 2

but i ignored it and din't installed it because it act as "API originally designed by Nvidia" and i have ATI cards in my system so i thought to skip it.

and later while installing MesaLib-10.0.3 i got the same kind of error while running make command, the log can be found below
Code:

root [ /xc/Mesa-10.0.3 ]# make -j2
Making all in src
make[1]: Entering directory '/xc/Mesa-10.0.3/src'
Making all in gtest
make[2]: Entering directory '/xc/Mesa-10.0.3/src/gtest'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/xc/Mesa-10.0.3/src/gtest'
Making all in mapi
make[2]: Entering directory '/xc/Mesa-10.0.3/src/mapi'
Making all in glapi/gen
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi/glapi/gen'
make  all-am
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/glapi/gen'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/glapi/gen'
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/glapi/gen'
Making all in shared-glapi
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi'
make  all-recursive
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi'
Making all in .
make[5]: Entering directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi'
/bin/mkdir -p ../../../lib
ln -f .libs/libglapi.so.0.0.0 ../../../lib/libglapi.so.0.0.0
ln -sf libglapi.so.0.0.0 ../../../lib/libglapi.so.0
ln -sf libglapi.so.0 ../../../lib/libglapi.so
make[5]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi'
Making all in tests
make[5]: Entering directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi/tests'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi/tests'
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi'
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/shared-glapi'
Making all in glapi
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi/glapi'
Making all in .
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/glapi'
make[4]: Nothing to be done for 'all-am'.
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/glapi'
Making all in tests
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/glapi/tests'
make[4]: Nothing to be done for 'all'.
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/glapi/tests'
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/glapi'
Making all in es1api
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi/es1api'
make  all-am
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/es1api'
/bin/mkdir -p ../../../lib;
ln -f .libs/libGLESv1_CM.so ../../../lib/libGLESv1_CM.so
ln -f .libs/libGLESv1_CM.so.1 ../../../lib/libGLESv1_CM.so.1
ln -f .libs/libGLESv1_CM.so.1.1.0 ../../../lib/libGLESv1_CM.so.1.1.0
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/es1api'
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/es1api'
Making all in es2api
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi/es2api'
make  all-am
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/es2api'
/bin/mkdir -p ../../../lib;
ln -f .libs/libGLESv2.so ../../../lib/libGLESv2.so
ln -f .libs/libGLESv2.so.2 ../../../lib/libGLESv2.so.2
ln -f .libs/libGLESv2.so.2.0.0 ../../../lib/libGLESv2.so.2.0.0
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/es2api'
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/es2api'
Making all in vgapi
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi/vgapi'
make  all-am
make[4]: Entering directory '/xc/Mesa-10.0.3/src/mapi/vgapi'
/bin/mkdir -p ../../../lib;
ln -f .libs/libOpenVG.so ../../../lib/libOpenVG.so
ln -f .libs/libOpenVG.so.1 ../../../lib/libOpenVG.so.1
ln -f .libs/libOpenVG.so.1.0.0 ../../../lib/libOpenVG.so.1.0.0
make[4]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/vgapi'
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi/vgapi'
make[3]: Entering directory '/xc/Mesa-10.0.3/src/mapi'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/mapi'
make[2]: Leaving directory '/xc/Mesa-10.0.3/src/mapi'
Making all in glsl
make[2]: Entering directory '/xc/Mesa-10.0.3/src/glsl'
make  all-am
make[3]: Entering directory '/xc/Mesa-10.0.3/src/glsl'
  CXXLD    libglsl.la
libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libstdc++.la' is not a valid libtool archive
Makefile:1109: recipe for target 'libglsl.la' failed
make[3]: *** [libglsl.la] Error 1
make[3]: Leaving directory '/xc/Mesa-10.0.3/src/glsl'
Makefile:1058: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/xc/Mesa-10.0.3/src/glsl'
Makefile:530: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/xc/Mesa-10.0.3/src'
Makefile:581: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

What i have figured out that it has some problem with libglsl.la and libvdpau_trace.la .
But i don't know how to fix it. Can some one please help me out to fix this problem...
Or either any one can tell me that these files are created by which packages, so that i will recheck them and re-install them

gengisdave 03-20-2014 03:30 PM

libtool: link: `/usr/lib/gcc/i686-pc-linux-gnu/4.8.2/../../../libstdc++.la' is not a valid libtool archive

this is the error in both cases, libstdc++ comes from gcc (g++ section), maybe you can check it or reinstall; this is mine, it comes from a slackware64:

Code:

# libstdc++.la - a libtool library file
# Generated by libtool (GNU libtool 1.3134 2009-11-29) 2.2.7a
#
# Please DO NOT delete this file!
# It is necessary for linking the library.

# The name that we can dlopen(3).
dlname='libstdc++.so.6'

# Names of this library.
library_names='libstdc++.so.6.0.18 libstdc++.so.6 libstdc++.so'

# The name of the static archive.
old_library='libstdc++.a'

# Linker flags that can not go in dependency_libs.
inherited_linker_flags=''

# Libraries that this one depends upon.
dependency_libs=' -lm'

# Names of additional weak libraries provided by this library
weak_library_names=''

# Version information for libstdc++.
current=6
age=0
revision=18

# Is this an already installed library?
installed=yes

# Should we warn about portability when linking against -modules?
shouldnotlink=no

# Files to dlopen/dlpreopen
dlopen=''
dlpreopen=''

# Directory that this library needs to be installed in:
libdir='/usr/lib64/../lib64'


dragonprasad 03-20-2014 04:39 PM

got it solved,
i don't know how did libstdc++.la became empty file because of it this caused the problem, hope fully had a backup used the file form that and it started working again


All times are GMT -5. The time now is 01:45 PM.