public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
@ 2009-06-14 22:39 Stephen Feyrer
  2009-06-15  7:08 ` Sven Rebhan
  2009-07-20 23:00 ` Stephen Feyrer
  0 siblings, 2 replies; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-14 22:39 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 620 bytes --]

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.

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-14 22:39 [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi Stephen Feyrer
@ 2009-06-15  7:08 ` Sven Rebhan
  2009-06-15  8:56   ` Stephen Feyrer
  2009-07-20 23:00 ` Stephen Feyrer
  1 sibling, 1 reply; 13+ messages in thread
From: Sven Rebhan @ 2009-06-15  7:08 UTC (permalink / raw
  To: gentoo-embedded

2009/6/15 Stephen Feyrer <steve@toth.org.uk>:

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15  7:08 ` Sven Rebhan
@ 2009-06-15  8:56   ` Stephen Feyrer
  2009-06-15  9:05     ` Sven Rebhan
  2009-06-15  9:35     ` Stephen Feyrer
  0 siblings, 2 replies; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-15  8:56 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1439 bytes --]

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@toth.org.uk>:

> 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



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15  8:56   ` Stephen Feyrer
@ 2009-06-15  9:05     ` Sven Rebhan
  2009-06-15  9:35     ` Stephen Feyrer
  1 sibling, 0 replies; 13+ messages in thread
From: Sven Rebhan @ 2009-06-15  9:05 UTC (permalink / raw
  To: gentoo-embedded

2009/6/15 Stephen Feyrer <steve@toth.org.uk>:
> :-) 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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15  8:56   ` Stephen Feyrer
  2009-06-15  9:05     ` Sven Rebhan
@ 2009-06-15  9:35     ` Stephen Feyrer
  2009-06-15  9:50       ` Christoph Spielmann
  1 sibling, 1 reply; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-15  9:35 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1713 bytes --]

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@toth.org.uk>:

>> 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



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15  9:35     ` Stephen Feyrer
@ 2009-06-15  9:50       ` Christoph Spielmann
  2009-06-15 10:20         ` Stephen Feyrer
  0 siblings, 1 reply; 13+ messages in thread
From: Christoph Spielmann @ 2009-06-15  9:50 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 2516 bytes --]

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@toth.org.uk>:
>>>        
>
>    
>>> 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
>>      
>
>
>    


[-- Attachment #2: Type: text/html, Size: 4505 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15  9:50       ` Christoph Spielmann
@ 2009-06-15 10:20         ` Stephen Feyrer
  2009-06-15 11:14           ` Sven Rebhan
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-15 10:20 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

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.

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15 10:20         ` Stephen Feyrer
@ 2009-06-15 11:14           ` Sven Rebhan
  2009-06-15 11:58             ` Stephen Feyrer
  0 siblings, 1 reply; 13+ messages in thread
From: Sven Rebhan @ 2009-06-15 11:14 UTC (permalink / raw
  To: gentoo-embedded

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15 11:14           ` Sven Rebhan
@ 2009-06-15 11:58             ` Stephen Feyrer
  2009-06-15 12:15               ` Stephen Feyrer
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-15 11:58 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

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.

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15 11:58             ` Stephen Feyrer
@ 2009-06-15 12:15               ` Stephen Feyrer
  2009-06-15 12:36                 ` Stephen Feyrer
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-15 12:15 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

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.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15 12:15               ` Stephen Feyrer
@ 2009-06-15 12:36                 ` Stephen Feyrer
  2009-06-15 13:38                   ` Ned Ludd
  0 siblings, 1 reply; 13+ messages in thread
From: Stephen Feyrer @ 2009-06-15 12:36 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

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.
> 


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-15 12:36                 ` Stephen Feyrer
@ 2009-06-15 13:38                   ` Ned Ludd
  0 siblings, 0 replies; 13+ messages in thread
From: Ned Ludd @ 2009-06-15 13:38 UTC (permalink / raw
  To: gentoo-embedded

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 "$@"




^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi
  2009-06-14 22:39 [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi Stephen Feyrer
  2009-06-15  7:08 ` Sven Rebhan
@ 2009-07-20 23:00 ` Stephen Feyrer
  1 sibling, 0 replies; 13+ messages in thread
From: Stephen Feyrer @ 2009-07-20 23:00 UTC (permalink / raw
  To: gentoo-embedded

[-- Attachment #1: Type: text/plain, Size: 8419 bytes --]

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.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3322 bytes --]

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2009-07-20 23:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-14 22:39 [gentoo-embedded] ./configure --prefix /opt --host=armv5tel-softfloat-linux-gnueabi Stephen Feyrer
2009-06-15  7:08 ` Sven Rebhan
2009-06-15  8:56   ` Stephen Feyrer
2009-06-15  9:05     ` Sven Rebhan
2009-06-15  9:35     ` Stephen Feyrer
2009-06-15  9:50       ` Christoph Spielmann
2009-06-15 10:20         ` Stephen Feyrer
2009-06-15 11:14           ` Sven Rebhan
2009-06-15 11:58             ` Stephen Feyrer
2009-06-15 12:15               ` Stephen Feyrer
2009-06-15 12:36                 ` Stephen Feyrer
2009-06-15 13:38                   ` Ned Ludd
2009-07-20 23:00 ` Stephen Feyrer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox