I got some ERROR, when compile the source code

*nix specific usage questions
mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

I got some ERROR, when compile the source code

Postby mcygogo » 10 Oct 2011 07:19

This is the Error LOG:
make[4]: Entering directory `/media/data/work/vlc/01src/vlc-1.1.12/00build_dir/src'
CC libvlccore_la-libvlc.lo
/tmp/cc7Ck2iJ.s: Assembler messages:
/tmp/cc7Ck2iJ.s:78: Error: expecting lockable instruction after `lock'
/tmp/cc7Ck2iJ.s:99: Error: expecting lockable instruction after `lock'
/tmp/cc7Ck2iJ.s:599: Error: expecting lockable instruction after `lock'
/tmp/cc7Ck2iJ.s:613: Error: expecting lockable instruction after `lock'

and I compile the version:vlc-1.1.12 , my OS is ubuntu 10.10. what's wrong with this ???

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: I got some ERROR, when compile the source code

Postby Jean-Baptiste Kempf » 10 Oct 2011 11:11

Compiling for?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

Re: I got some ERROR, when compile the source code

Postby mcygogo » 10 Oct 2011 11:26

Compiling for?
Compiling for X86

Rémi Denis-Courmont
Developer
Developer
Posts: 15257
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: I got some ERROR, when compile the source code

Postby Rémi Denis-Courmont » 10 Oct 2011 12:05

That looks like a bug in your toolchain, probably w.r.t. GCC builtin atomic operations.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mcygogo
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Oct 2011 07:14

Re: I got some ERROR, when compile the source code

Postby mcygogo » 11 Oct 2011 04:31

That looks like a bug in your toolchain, probably w.r.t. GCC builtin atomic operations.
This is my GCC info:
$ gcc -v
Using built-in specs.
Target: i686-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.4.4-14ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.4 --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-targets=all --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=i686-linux-gnu --host=i686-linux-gnu --target=i686-linux-gnu
Thread model: posix
gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)


so, How can I fixed it?

Rémi Denis-Courmont
Developer
Developer
Posts: 15257
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: I got some ERROR, when compile the source code

Postby Rémi Denis-Courmont » 11 Oct 2011 09:53

I am not a GCC expert, and I don't know any such person on this forum. I simply see that your C compiler is generating intermediate assembly code that the assembler rejects. So, your toolchain has a problem.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests