[Openswan Users] UML Test Suite

Lists lists at caddisconsulting.com
Wed Oct 18 13:01:13 EDT 2006


Hi,

I've been trying to get the Openswan UML test environment working and I have
run into a compilation issue.  I think this is due to the version of gcc
that I am using which is 4.1.0.  When I run 'make uml' I get lots of warning
messages and then a failure in the init/do_mounts.c section.

Error:

init/do_mounts.c: At top level:
init/do_mounts.c:54: error: static declaration of 'root_device_name' follows
non-static declaration
/umls-2/umlbuild/plain/include/linux/fs.h:1574: error: previous declaration
of 'root_device_name' was here
init/do_mounts.c: In function 'identify_ramdisk_image':
init/do_mounts.c:523: warning: pointer targets in passing argument 2 of
'read' differ in signedness
init/do_mounts.c:558: warning: pointer targets in passing argument 2 of
'read' differ in signedness
init/do_mounts.c: In function 'fill_inbuf':
init/do_mounts.c:1022: warning: pointer targets in passing argument 2 of
'read' differ in signedness
init/do_mounts.c: In function 'flush_window':
init/do_mounts.c:1040: warning: pointer targets in passing argument 2 of
'write' differ in signedness
make[1]: *** [init/do_mounts.o] Error 1
make[1]: Leaving directory `/umls-2/umlbuild/plain'
make: *** [uml] Error 1
[mhorn at dev openswan-2]$

I found this reference http://lkml.org/lkml/2005/6/12/58 to issues with gcc4
and init/do_mounts.c.  Can someone tell me what gcc version is used for the
nightly builds?

Thanks,

-mike

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20061018/666e80af/attachment.html 


More information about the Users mailing list