Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cannot find -lvga (libmpeg2-0.3.1) [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Nicolinux
Apprentice
Apprentice


Joined: 22 Dec 2002
Posts: 204

PostPosted: Fri Feb 28, 2003 1:52 pm    Post subject: Cannot find -lvga (libmpeg2-0.3.1) [SOLVED] Reply with quote

Hi,

I've got this error when emerging gnome, while compiling libempeg2-0.3.1:

gcc -march=athlon-xp -pipe -Wall -O3 -fomit-frame-pointer -o .libs/sample1 sample1.o ../libmpeg2/.libs/libmpeg2.so
creating sample1
gcc -march=athlon-xp -pipe -Wall -O3 -fomit-frame-pointer -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib ../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv -L/usr/lib /usr/lib/libSDL.so /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lX11 -lXext -lvga -laa -ldl -lpthread
make[1]: Entering directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/autotools'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/autotools'
Making all in include
make[1]: Entering directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
make all-am
make[2]: Entering directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
make[1]: Leaving directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/include'
Making all in libmpeg2
make[1]: Entering directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libmpeg2'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libmpeg2'
Making all in libvo
make[1]: Entering directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libvo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/libvo'
Making all in doc
make[1]: Entering directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
/bin/sh ../libtool --mode=link gcc -march=athlon-xp -pipe -Wall -O3 -fomit-frame-pointer -o sample2 sample2.o ../libmpeg2/libmpeg2.la ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lX11 -lXext -lXv -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
gcc -march=athlon-xp -pipe -Wall -O3 -fomit-frame-pointer -o .libs/sample2 sample2.o -Wl,-rpath -Wl,/usr/lib ../libmpeg2/.libs/libmpeg2.so ../libvo/libvo.a -lSM -lICE -L/usr/X11R6/lib -lXv -L/usr/lib /usr/lib/libSDL.so /usr/lib/libesd.so /usr/lib/libaudiofile.so -lm -lX11 -lXext -lvga -laa -ldl -lpthread
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lvga
collect2: ld returned 1 exit status
make[1]: *** [sample2] Error 1
make[1]: Leaving directory `/misc/tmp/portage/libmpeg2-0.3.1/work/mpeg2dec-0.3.1/doc'
make: *** [all-recursive] Error 1

!!! ERROR: media-libs/libmpeg2-0.3.1 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)
----------------------

I think the important part is "cannot find -lvga". Searching for this revealed only problems with "-lartsc" for other people.
Emerge sync didn't help. Also emerging gstreamer before didn't help too.
Emerge info shows:

Portage 2.0.47-r7 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r3)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 AMD Athlon(TM) XP 1800+
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/misc/tmp"
PORTDIR_OVERLAY=""
USE="x86 apm libg++ mikmod pdflib svga gdbm berkdb slang readline java motif gif mmx 3dnow oss -nls ungif gtkhtml -arts -alsa bonobo guile X sdl gpm pam tcpd libwww ssl perl python esd imlib oggvorbis gnome gtk qt kde opengl mozilla gphoto2 cdr acpi avi crypt cups dga dvd encode ethereal imap jpeg mpeg ncurses png quicktime samba slp spell truetype usb xml xml2 xmms xv zlib xfs"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox buildpkg ccache"

Do you have any ideas ?
Thanks

Stefan


Last edited by Nicolinux on Fri Feb 28, 2003 2:19 pm; edited 1 time in total
Back to top
View user's profile Send private message
Nicolinux
Apprentice
Apprentice


Joined: 22 Dec 2002
Posts: 204

PostPosted: Fri Feb 28, 2003 2:19 pm    Post subject: Reply with quote

Allright, solved.
I re-emerged sdl and it installed svgalib then the libmpeg2 build fine.
This is so intuitive.....
Back to top
View user's profile Send private message
cephlen
n00b
n00b


Joined: 14 Jan 2003
Posts: 40
Location: Seattle, WA

PostPosted: Mon Sep 08, 2003 9:00 pm    Post subject: Reply with quote

Nicolinux wrote:
Allright, solved.
I re-emerged sdl and it installed svgalib then the libmpeg2 build fine.
This is so intuitive.....



Worked for me to.

To expand a bit - I installed both libsdl & svgalib off the GRP i686 packages and ran into this issue.

Emerging these 3 from source fixes the issue.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum