[ipxe-devel] aes.o compile error
Rob Shelley
Rob at cirris.com
Tue Mar 13 20:31:57 UTC 2012
Dylan got me all squared away. I was running this with gcc 4.5-19.1 on an opensuse 11.4 system. Apparently the default is to treat warnings as errors. Running 'make -Werror' fixed my problem. Sorry for the noob question.
Rob
From: Rob Shelley
Sent: Tuesday, March 13, 2012 12:43 PM
To: 'ipxe-devel at lists.ipxe.org'
Subject: aes.o compile error
I am having a little trouble compiling ipxe as it currently stands. It looks like my trouble was created with this commit:
[1c29b4d979a9ea9be49bb942a2c41b7b6dc0dc9e] [crypto] Upgrade AES and RSA code to upstream axTLS version 1.4.5.
Here are the compile errors I get running 'make' in the ipxe src directory:
cc1: warnings being treated as errors
In file included from crypto/axtls/aes.c:38:0:
crypto/axtls/os_port.h: In function 'axtls_aes_encrypt':
crypto/axtls/os_port.h:44:2: error: call to function 'AES_encrypt' without a real prototype
crypto/axtls/os_port.h:40:13: note: 'AES_encrypt' was declared here
crypto/axtls/os_port.h: In function 'axtls_aes_decrypt':
crypto/axtls/os_port.h:48:2: error: call to function 'AES_decrypt' without a real prototype
crypto/axtls/os_port.h:41:13: note: 'AES_decrypt' was declared here
make: *** [bin/aes.o] Error 1
Does the first line mean that there is just a switch I need in order to get this to compile properly?
Rob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20120313/c34b1c53/attachment.htm>
More information about the ipxe-devel
mailing list