Skip to contentSkip to conversation

Cross compile krb5 issue for ppc

DISCUSSION JohnsonCheng 2 participants 2 messages Aug 30, 2005

lore
Share & tools
lore
#0 lore raw

When I cross compile krb5-1.4.1 for ppc on x86, I got the following error message.

# cd krb5-1.4.1/src

#./configure -host=powerpc-linux

Checking for constructor/destructor attribute support. configure: error:
Cannot test for constructor/destructor support when cross compiling

Even if I have to some modifications to pass configure, but still cannot make successfully.

Do anybody can give me advice or tell me where to get krb5 library for ppc?

Thanks,

Johnson Cheng

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

When I cross compile krb5-1.4.1 for ppc on x86, I got the following error message.

...

Quoted 1 line

Cannot test for constructor/destructor support when cross compiling

Yes, this is a very typical situation. Many packages are not exactly well-behaving in a cross environment, so you need more or less extensive tweaking.

Quoted 1 line

Do anybody can give me advice or tell me where to get krb5 library for ppc?

It's included with the ELDK.

Also, if you look at the ELDK's patches and spec files you can see easily what needs to be done to build it in a cross environment.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [email protected]
Most legends have their basis in facts.
	-- Kirk, "And The Children Shall Lead", stardate 5029.5