Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Embedded

./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi

 

 

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded


steve at toth

Jun 14, 2009, 3:39 PM

Post #1 of 13 (4673 views)
Permalink
./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi

Hi.

When I try to use ./configure --prefix /opt
--host=armv5tel-softfloat-linux-gnueabi if fails with this error:


checking for malloc_usable_size... yes
checking for clock_gettime... no
checking for strtoimax... yes
checking for strtoumax... yes
checking whether we can use epoll... configure: error: in
`/root/dovecot/dovecot-1-2-6c0fb914e03e':
configure: error: cannot run test program while cross compiling
See `config.log' for more details.

I'm trying to build the latest version of Dovecot for an arm based
network attached storage device.


Please help!


In anticipation of great things, thanks.

--
Stephen.
Attachments: smime.p7s (3.24 KB)


odinshorse at googlemail

Jun 15, 2009, 12:08 AM

Post #2 of 13 (4486 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

2009/6/15 Stephen Feyrer <steve [at] toth>:

Hello Stephen,
> checking whether we can use epoll... configure: error: in
> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details.

I would strongly suggest to use crossdev-wrappers for this kind of
jobs, as it automatically cares about this kind of problems. However,
you might want to fix this problem yourself, so here we go. When
cross-compiling, target programs can not be executed as they are
probably compiled for an incompatible architecture (as the error
states). Hence, you have to provide the result of the program run
yourself using autoconf-cache values. Try to do the following:

i_cv_epoll_works=yes ./configure --prefix=/opt
--host=armv5tel-softfloat-linux-gnueabi

Please check if epoll really works in your setup and change the value
to "no" if it doesn't.

Have fun!

Sven


steve at toth

Jun 15, 2009, 1:56 AM

Post #3 of 13 (4498 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Hi Sven.

I had get some other cached values:

i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no
i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes
i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes
i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes
lib_cv_va_val_copy=yes ./configure --prefix=/opt
--host=armv5tel-softfloat-linux-gnueabi

:-) I'm now running make.


Sven Rebhan wrote:
> 2009/6/15 Stephen Feyrer <steve [at] toth>:

> Hello Stephen,
>> checking whether we can use epoll... configure: error: in
>> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
>> configure: error: cannot run test program while cross compiling
>> See `config.log' for more details.

> I would strongly suggest to use crossdev-wrappers for this kind of
> jobs, as it automatically cares about this kind of problems.

> However, you might want to fix this problem yourself, so here we go. When
> cross-compiling, target programs can not be executed as they are
> probably compiled for an incompatible architecture (as the error
> states).

> Hence, you have to provide the result of the program run
> yourself using autoconf-cache values. Try to do the following:

> i_cv_epoll_works=yes ./configure --prefix=/opt
> --host=armv5tel-softfloat-linux-gnueabi

> Please check if epoll really works in your setup and change the value
> to "no" if it doesn't.


> Have fun!

> Sven

Thanks.


--
Stephen
Attachments: smime.p7s (3.24 KB)


odinshorse at googlemail

Jun 15, 2009, 2:05 AM

Post #4 of 13 (4482 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

2009/6/15 Stephen Feyrer <steve [at] toth>:
> :-) I'm now running make.
> Thanks.

Welcome! However, please take a look into crossdev-wrappers as it
really solves most of those problems and others like pkg-config stuff.

Sven


steve at toth

Jun 15, 2009, 2:35 AM

Post #5 of 13 (4484 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Hi again

Bah Hum-Bug! make failed. I guess some of those tests are important.

I'm interested in crossdev wrappers but how can I make it apply to my
current problem?

--
Boldly going forwards...

Stephen.

Stephen Feyrer wrote:
> Hi Sven.

> I had get some other cached values:
>
> i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no
> i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes
> i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes
> i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes
> lib_cv_va_val_copy=yes ./configure --prefix=/opt
> --host=armv5tel-softfloat-linux-gnueabi

> :-) I'm now running make.

> Sven Rebhan wrote:
>> 2009/6/15 Stephen Feyrer <steve [at] toth>:

>> Hello Stephen,
>>> checking whether we can use epoll... configure: error: in
>>> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
>>> configure: error: cannot run test program while cross compiling
>>> See `config.log' for more details.

>> I would strongly suggest to use crossdev-wrappers for this kind of
>> jobs, as it automatically cares about this kind of problems.

>> However, you might want to fix this problem yourself, so here we go. When
>> cross-compiling, target programs can not be executed as they are
>> probably compiled for an incompatible architecture (as the error
>> states).

>> Hence, you have to provide the result of the program run
>> yourself using autoconf-cache values. Try to do the following:

>> i_cv_epoll_works=yes ./configure --prefix=/opt
>> --host=armv5tel-softfloat-linux-gnueabi

>> Please check if epoll really works in your setup and change the value
>> to "no" if it doesn't.

>> Have fun!

>> Sven

> Thanks.

> --
> Stephen
Attachments: smime.p7s (3.24 KB)


spielc at gmail

Jun 15, 2009, 2:50 AM

Post #6 of 13 (4495 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Hi Stephen!

I guess you installed a cross-compiler using crossdev (thus you should
be able to call your cross-compiler using
armv5tel-softfloat-linux-gnueabi-gcc).

Now if you install and setup crossdev-wrappers (emerge
crossdev-wrappers) and run emerge-wrapper --init, you'll get a directory
under /usr and a wrapper for emerge
(emerge-armv5tel-softfloat-linux-gnueabi) which you can use to
"cross-emerge" stuff.

On 15.06.2009 11:35, Stephen Feyrer wrote:
> Hi again
>
> Bah Hum-Bug! make failed. I guess some of those tests are important.
>
> I'm interested in crossdev wrappers but how can I make it apply to my
> current problem?
>
> --
> Boldly going forwards...
>
> Stephen.
>
> Stephen Feyrer wrote:
>
>> Hi Sven.
>>
>
>
>> I had get some other cached values:
>>
>> i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no
>> i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes
>> i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes
>> i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes
>> lib_cv_va_val_copy=yes ./configure --prefix=/opt
>> --host=armv5tel-softfloat-linux-gnueabi
>>
>
>
>> :-) I'm now running make.
>>
>
>
>> Sven Rebhan wrote:
>>
>>> 2009/6/15 Stephen Feyrer<steve [at] toth>:
>>>
>
>
>>> Hello Stephen,
>>>
>>>> checking whether we can use epoll... configure: error: in
>>>> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
>>>> configure: error: cannot run test program while cross compiling
>>>> See `config.log' for more details.
>>>>
>
>
>>> I would strongly suggest to use crossdev-wrappers for this kind of
>>> jobs, as it automatically cares about this kind of problems.
>>>
>
>
>>> However, you might want to fix this problem yourself, so here we go. When
>>> cross-compiling, target programs can not be executed as they are
>>> probably compiled for an incompatible architecture (as the error
>>> states).
>>>
>
>
>>> Hence, you have to provide the result of the program run
>>> yourself using autoconf-cache values. Try to do the following:
>>>
>
>
>>> i_cv_epoll_works=yes ./configure --prefix=/opt
>>> --host=armv5tel-softfloat-linux-gnueabi
>>>
>
>
>>> Please check if epoll really works in your setup and change the value
>>> to "no" if it doesn't.
>>>
>
>
>>> Have fun!
>>>
>
>
>>> Sven
>>>
>
>
>> Thanks.
>>
>
>
>> --
>> Stephen
>>
>
>
>


steve at toth

Jun 15, 2009, 3:20 AM

Post #7 of 13 (4488 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Christoph Spielmann wrote:
> Hi Stephen!
>
> I guess you installed a cross-compiler using crossdev (thus you should
> be able to call your cross-compiler using
> armv5tel-softfloat-linux-gnueabi-gcc).
>
> Now if you install and setup crossdev-wrappers (emerge
> crossdev-wrappers) and run emerge-wrapper --init, you'll get a directory
> under /usr and a wrapper for emerge
> (emerge-armv5tel-softfloat-linux-gnueabi) which you can use to
> "cross-emerge" stuff.
>

I done did that, cross-emerge returns "CHOST is not set"

Every guide or description of how to do this says create a wrapper
script for emerge but none seem to say where to put it or how to all it.

[snip]

I still need to get this working to build the latest version of dovecot.
That doesn't look like it'll using emerge though.


--
Gratefully

Stephen.
Attachments: smime.p7s (3.24 KB)


odinshorse at googlemail

Jun 15, 2009, 4:14 AM

Post #8 of 13 (4484 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling


steve at toth

Jun 15, 2009, 4:58 AM

Post #9 of 13 (4486 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Sven Rebhan wrote:
> Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling
>
>
>

Thanks.

It seems that:

./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi
host=i686-pc-linux-gnu --build=armv5tel-softfloat-linux-gnueabi

will run the configure without any deviation, hesitation or throwing all
of its toys out!

The Configure --help has this to say on the subject of cross compiling.

System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]



I'm now happily having make problems.


I am very grateful to everyone for helping me.


--
Stephen.
Attachments: smime.p7s (3.24 KB)


steve at toth

Jun 15, 2009, 5:15 AM

Post #10 of 13 (4481 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Sorry Make went okay as well. I just excepted it to stop with a nice
little message like meerge I guess.

Stephen Feyrer wrote:
> Sven Rebhan wrote:
>> Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling
>>
>>
>>
>
> Thanks.
>
> It seems that:
>
> ./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi
> host=i686-pc-linux-gnu --build=armv5tel-softfloat-linux-gnueabi
>
> will run the configure without any deviation, hesitation or throwing all
> of its toys out!
>
> The Configure --help has this to say on the subject of cross compiling.
>
> System types:
> --build=BUILD configure for building on BUILD [guessed]
> --host=HOST cross-compile to build programs to run on HOST [BUILD]
>
>
>
> I'm now happily having make problems.
>
>
> I am very grateful to everyone for helping me.
>
>
> --
> Stephen.
Attachments: smime.p7s (3.24 KB)


steve at toth

Jun 15, 2009, 5:36 AM

Post #11 of 13 (4476 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Well on the plus side it produced a full set of healthy little bouncing
binaries. Except that they were X86_64 binaries and not arm!

Which puts me back at square one.



Stephen Feyrer wrote:
> Sorry Make went okay as well. I just excepted it to stop with a nice
> little message like meerge I guess.
>
> Stephen Feyrer wrote:
>> Sven Rebhan wrote:
>>> Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling
>>>
>>>
>>>
>> Thanks.
>>
>> It seems that:
>>
>> ./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi
>> host=i686-pc-linux-gnu --build=armv5tel-softfloat-linux-gnueabi
>>
>> will run the configure without any deviation, hesitation or throwing all
>> of its toys out!
>>
>> The Configure --help has this to say on the subject of cross compiling.
>>
>> System types:
>> --build=BUILD configure for building on BUILD [guessed]
>> --host=HOST cross-compile to build programs to run on HOST [BUILD]
>>
>>
>>
>> I'm now happily having make problems.
>>
>>
>> I am very grateful to everyone for helping me.
>>
>>
>> --
>> Stephen.
>
Attachments: smime.p7s (3.24 KB)


solar at gentoo

Jun 15, 2009, 6:38 AM

Post #12 of 13 (4487 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

On Mon, 2009-06-15 at 13:36 +0100, Stephen Feyrer wrote:
> Well on the plus side it produced a full set of healthy little bouncing
> binaries. Except that they were X86_64 binaries and not arm!
>
> Which puts me back at square one.
>
>
>
> Stephen Feyrer wrote:
> > Sorry Make went okay as well. I just excepted it to stop with a nice
> > little message like meerge I guess.
> >
> > Stephen Feyrer wrote:
> >> Sven Rebhan wrote:
> >>> Take a look at http://gentoo.mindzoo.de/index.cgi/wiki/cross-compiling
> >>>
> >>>
> >>>
> >> Thanks.
> >>
> >> It seems that:
> >>
> >> ./configure --prefix=/opt --target=armv5tel-softfloat-linux-gnueabi
> >> host=i686-pc-linux-gnu --build=armv5tel-softfloat-linux-gnueabi
> >>
> >> will run the configure without any deviation, hesitation or throwing all
> >> of its toys out!
> >>
> >> The Configure --help has this to say on the subject of cross compiling.
> >>
> >> System types:
> >> --build=BUILD configure for building on BUILD [guessed]
> >> --host=HOST cross-compile to build programs to run on HOST [BUILD]
> >>
> >>
> >>
> >> I'm now happily having make problems.
> >>
> >>
> >> I am very grateful to everyone for helping me.

It took a bit of head banging last nite, but I found I had to set all of
the following. It would still fail for me trying to link in some
-lrpcsvc which I did not figure out what provided it.
but should give you a start. You will want to double check these are
legit conf cache values for the platform you are dealing with also.

Good luck.

EXTRA_ECONF=--with-notify=none \
i_cv_epoll_works=yes i_cv_posix_fallocate_works=no \
ignore_signed_size=1 i_cv_signed_size_t=no \
i_cv_gmtime_max_time_t=31 \
i_cv_signed_time_t=yes \
i_cv_mmap_plays_with_write=yes \
i_cv_fd_passing=yes \
lib_cv_va_copy=yes i_cv_c99_vsnprintf=yes \
lib_cv___va_copy=no va_copy_func=va_copy \
lib_cv_va_val_copy=yes \
ACCEPT_KEYWORDS="arm ~arm ~amd64" \
${CHOST}-emerge -v1 dovecot --root-deps=rdeps "$@"


steve at toth

Jul 20, 2009, 4:00 PM

Post #13 of 13 (4407 views)
Permalink
Re: ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi [In reply to]

Hi.

I'm not getting the best out of a cross compile. It is clear to me that
bojing it isn't going to work.

What I'd like to do is get ./configure to run through with out any
cached values or passing SSL_LIBS.

Does anyone know how cross emerge deals with these issues arising from
none code tests?

I am open to any suggestions no matter how sensible.


Best result so far.

i_cv_epoll_works=no i_cv_inotify_works=no i_cv_posix_fallocate_works=no
i_cv_signed_size_t=no i_cv_gmtime_max_time_t=32 i_cv_signed_time_t=yes
i_cv_mmap_plays_with_write=yes i_cv_fd_passing=yes
i_cv_c99_vsnprintf=yes lib_cv_va_copy=yes lib_cv___va_copy=yes
lib_cv_va_val_copy=yes
SSL_LIBS='/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/aes.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1_mac.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/asn1t.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/bio.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/blowfish.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/bn.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/buffer.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/camellia.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/cast.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/comp.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/conf_api.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/conf.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/crypto.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/des.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/dh.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/dsa.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/dso.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/dtls1.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ebcdic.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/engine.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/e_os2.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/err.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/evp.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/hmac.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/kssl.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/lhash.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/md2.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/md4.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/md5.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/mdc2.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/objects.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/obj_mac.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ocsp.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/opensslconf.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/opensslv.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ossl_typ.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/pem2.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/pem.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/pkcs12.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/pkcs7.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/pq_compat.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/rand.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/rsa.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/safestack.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/sha.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ssl23.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ssl2.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ssl3.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ssl.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/stack.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/store.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/symhacks.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/tls1.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/tmdiff.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/txt_db.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ui_compat.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ui.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/x509.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/x509v3.h
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/x509_vfy.h'
SSL_CFLAGS=' ' ./configure --prefix=/opt --sysconfdir=/opt/etc
--sysconfdir=/opt/etc/dovecot --with-linux-quota=no
--target=armv5tel-softfloat-linux-gnueabi
--host=armv5tel-softfloat-linux-gnueabi --build=x86_64-pc-linux-gnu

Configure... [OK]


Make...

/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/dtls1.h:203:
error: expected specifier-qualifier-list before 'SSL3_BUFFER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:84:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:98:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:114:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:137:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:158:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:172:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:186:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:208:
error: expected specifier-qualifier-list before 'ASN1_INTEGER'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:234:
warning: return type defaults to 'int'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:233:
warning: no previous prototype for 'DECLARE_ASN1_FUNCTIONS'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h: In
function 'DECLARE_ASN1_FUNCTIONS':
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:234:
error: expected declaration specifiers before 'DECLARE_ASN1_FUNCTIONS'
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h:233:
error: parameter name omitted
In file included from
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ssl.h:1051,
from
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/ssl3.h:125:
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/dtls1.h:203:
error: expected specifier-qualifier-list before 'SSL3_BUFFER'
make[3]: *** [imap-login] Error 1
make[3]: Leaving directory
`/root/dovecot/dovecot-1-2-6c0fb914e03e/src/imap-login'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/dovecot/dovecot-1-2-6c0fb914e03e/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/dovecot/dovecot-1-2-6c0fb914e03e'
make: *** [all] Error 2

Respectively the same error when I try to compile against
/usr/include/openssl/krb5_asn.h but also when I try to compile natively
against
/usr/armv5tel-softfloat-linux-gnueabi/usr/include/openssl/krb5_asn.h.


I wrote:
> Hi.
>
> When I try to use ./configure --prefix /opt
> --host=armv5tel-softfloat-linux-gnueabi if fails with this error:
>
>
> checking for malloc_usable_size... yes
> checking for clock_gettime... no
> checking for strtoimax... yes
> checking for strtoumax... yes
> checking whether we can use epoll... configure: error: in
> `/root/dovecot/dovecot-1-2-6c0fb914e03e':
> configure: error: cannot run test program while cross compiling
> See `config.log' for more details.
>
> I'm trying to build the latest version of Dovecot for an arm based
> network attached storage device.
>
>
> Please help!
>
>
> In anticipation of great things, thanks.
>
> --
> Stephen.
Attachments: smime.p7s (3.24 KB)

Gentoo embedded RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.