WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Need x11grab  (Read 7073 times)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Need x11grab
« Reply #15 on: October 13, 2016, 08:49:14 AM »
That should be "--localstatedir=/var", not "--localestatedir=/var"
« Last Edit: October 13, 2016, 08:56:51 AM by Juanito »

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Need x11grab
« Reply #16 on: October 13, 2016, 08:04:48 PM »
still received this error

Unknown option "--localstatedir=/var"

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Need x11grab
« Reply #17 on: October 14, 2016, 02:53:27 AM »
OK, did you try without that option?

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Need x11grab
« Reply #18 on: October 14, 2016, 05:22:43 AM »
Yes i have tried without this option. Also try with -enable-cross-compile
screen shot attached.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Need x11grab
« Reply #19 on: October 14, 2016, 05:28:57 AM »
What is causing gcc to think that it is cross-compiling - what cpu do you have?

If you look at ffmpeg-1.0.0/config.log, does it give any clues as to the error?

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Need x11grab
« Reply #20 on: October 14, 2016, 05:52:25 AM »
this is config.log file attached

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Need x11grab
« Reply #21 on: October 14, 2016, 05:56:25 AM »
I am using tinycore version 4.7.7 and ffmpeg-1.0.0/

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Need x11grab
« Reply #22 on: October 14, 2016, 06:04:01 AM »
You are not cross-compiling, stop passing --enable-cross-compile.
The only barriers that can stop you are the ones you create yourself.

Offline malikawan

  • Full Member
  • ***
  • Posts: 243
Re: Need x11grab
« Reply #23 on: October 14, 2016, 06:09:08 AM »
if i not use cross-compiling then receive error below is exact command and its out put


tc@box:~/ffmpeg-1.0$ CC="gcc -flto -fuse-linker-plugin -march=i486 -mtune=i686 -
Os -pipe" CXX="g++ -flto -fuse-linker-plugin -march=i486 -mtune=i686 -Os -pipe -
fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --enable-gpl --enable-
version3 --enable-shared --disable-static --enable-small --disable-doc --enable-
bzlib --enable-fontconfig --enable-gnutls --enable-libass --enable-libcdio --ena
ble-libfaac --enable-libfreetype --enable-libopenjpeg --enable-libpulse --enable
-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enabl
e-zlib --enable-nonfree --enable-libdc1394 --enable-libmp3lame --enable-libv4l2
--enable-libvpx --enable-libxvid --enable-openal --enable-openssl --enable-libce
lt --enable-vdpau --enable-libgsm --enable-libopencv --enable-libtwolame --enabl
e-libx264 --enable-x11grab
gcc is unable to create an executable file.
If gcc is a cross-compiler, use the --enable-cross-compile option.
Only do this if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.
tc@box:~/ffmpeg-1.0$

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Need x11grab
« Reply #24 on: October 14, 2016, 06:11:17 AM »
You have not installed compiletc then, or have some other issue with it.
The only barriers that can stop you are the ones you create yourself.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: Need x11grab
« Reply #25 on: October 14, 2016, 07:35:36 AM »
this is config.log file attached

The last few lines of your config.log are:
Code: [Select]
zmbv_encoder='yes'
zmbv_encoder_select='zlib'
zmbv_test_deps='zlib'
Must specify target arch and OS when cross-compiling

If I try, the corresponding lines are:
Code: [Select]
zmbv_encoder='yes'
zmbv_encoder_select='zlib'
zmbv_test_deps='zlib'
mktemp -u XXXXXX
wm3yet
check_ld cc
check_cc
BEGIN /tmp/ffconf.XXjgmDjt.c
END /tmp/ffconf.XXjgmDjt.c
gcc -c -o /tmp/ffconf.XX5ihHVs.o /tmp/ffconf.XXjgmDjt.c
gcc -o /tmp/ffconf.XXZXwD7s /tmp/ffconf.XX5ihHVs.o
check_cflags -std=c99
check_cc -std=c99

..which would seem to indicate that you do not have all of the deps of compiletc loaded - gcc, binutils, gmp, etc?