[mythtv] Error While Cross Compiling SVN Version
Luciano Greiner
luciano.greiner at gmail.com
Wed Apr 22 01:46:35 UTC 2009
Hello guys.
Based on your instructions i changed my configure params, but i got no
success. I am using
$(TARGET_CONFIGURE_OPTS) \
$(TARGET_CONFIGURE_ARGS) \
./configure \
--disable-ccache \
--disable-distcc \
--enable-cross-compile \
--arch=i686 \
--cpu=i686 \
--tune=i686 \
--disable-ipv6 \
--enable-directfb \
--disable-x11 \
--disable-xv \
--cc=$(TARGET_CC) \
--prefix=$(STAGING_DIR)/usr \
--runprefix=/usr \
TARGET_CC is my cross compiler
TARGET_CONFIGURE_OPTS and ARGS are my cross env
My cross env has qtopia 4.5, alsalib, lame, libmpeg, and so properly
installed. Am i missing something?
I've got this error:
de.o slice.o motion_comp.o idct.o
/home/luciano/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-ar:
illegal option -- y
Usage: /home/luciano/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-ar
[emulation options] [-]{dmpqrstx}[abcfilNoPsSuvV] [member-name]
[count] archive-file file...
/home/luciano/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-ar
-M [<mri-script]
commands:
d - delete file(s) from the archive
m[ab] - move file(s) in the archive
p - print file(s) found in the archive
q[f] - quick append file(s) to the archive
r[ab][f][u] - replace existing or insert new file(s) into the archive
t - display contents of archive
x[o] - extract file(s) from the archive
command specific modifiers:
[a] - put file(s) after [member-name]
[b] - put file(s) before [member-name] (same as [i])
[N] - use instance [count] of name
[f] - truncate inserted file names
[P] - use full path names when matching
[o] - preserve original dates
[u] - only replace files that are newer than current archive contents
generic modifiers:
[c] - do not warn if the library had to be created
[s] - create an archive index (cf. ranlib)
[S] - do not build a symbol table
[T] - make a thin archive
[v] - be verbose
[V] - display the version number
@<file> - read options from <file>
emulation options:
No emulation specific options
/home/luciano/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-ar:
supported targets: elf32-i386 a.out-i386-linux efi-app-ia32
efi-bsdrv-ia32 efi-rtdrv-ia32 elf32-little elf32-big srec symbolsrec
tekhex binary ihex
make[3]: *** [libmythmpeg2-0.22.a] Error 1
make[3]: Leaving directory
`/home/luciano/buildroot/build_i686/mythtv-0.21/libs/libmythmpeg2'
make[2]: *** [sub-libmythmpeg2-make_default] Error 2
make[2]: Leaving directory `/home/luciano/buildroot/build_i686/mythtv-0.21/libs'
make[1]: *** [sub-libs-make_default-ordered] Error 2
make[1]: Leaving directory `/home/luciano/buildroot/build_i686/mythtv-0.21'
make: *** [/home/luciano/buildroot/build_i686/mythtv-0.21/.compiled] Error 2
Does anyone know what may be happening here?
Thanks!!
On Wed, Apr 8, 2009 at 12:01 AM, Paul Bender <pebender at san.rr.com> wrote:
> Luciano Greiner wrote:
>>
>> Hello.
>>
>> I am trying to make a Buildroot script to work with mythtv svn
>> version. I am configuring by this way:
>>
>> ./configure \
>> --prefix=/usr \
>> --disable-ccache \
>> --disable-distcc \
>> --enable-cross-compile \
>> --arch=i686 \
>> --cpu=i686 \
>> --tune=i686 \
>> --disable-ipv6 \
>> --enable-directfb \
>> --disable-x11 \
>> --disable-xv
>
> I have been cross compiling MythTV (including the current trunk) for years
> in MiniMyth. I notice a few things that are different in your configuration
> arguments.
>
> First, there are --runprefix and --prefix. Based on the use for /usr for
> --prefix, I suspect that that should be --runprefix. --prefix should be your
> staging directory.
>
> Second, there is no --enable-cross-compile option that I am aware of.
> However, there are --cc for specifying your build environment compiler and
> --cross-compiler for specifying your cross environment tools prefix.
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>
--
Luciano Greiner
More information about the mythtv-dev
mailing list