[Openswan Users] kernel build error, version.o missing? second try...
Paul Wouters
paul at xelerance.com
Sun Sep 28 23:29:06 EDT 2008
On Sun, 28 Sep 2008, Nick Abbey wrote:
> http://www.openswan.org/download/openswan-2.4.13.kernel-2.4-natt.patch.gz
> http://www.openswan.org/download/openswan-2.4.13.kernel-2.4-klips.patch.gz
> and extracted them to the location of my kernel code:
> /usr/src/linux-2.4.27
>
> both patches apply with no issue
> ld: version.o: No such file: No such file or directory
> make[3]: *** [ipsec.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.27/net/ipsec'
> make[2]: *** [_subdir_ipsec] Error 2
> ldmake[2]: Leaving directory `/usr/src/linux-2.4.27/net'
> :make[1]: *** [_dir_net] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.27'
> ipsec_init.omake: *** [stamp-build] Error 2
> : No such file: No such file or directory
> Debian:/usr/src/linux-2.4.27# ld: version.o: No such file: No such file or directory
> -bash: ld:: command not found
> Debian:/usr/src/linux-2.4.27# make[3]: *** [ipsec.o] Error 1
> -bash: make[3]:: command not found
There is something very broken on your compiler setup or env variables?
> I noticed that in /usr/src/linux-2.4.27/net/ipsec/Makefile there is the referece to the version.o on
> line 75 reads:
>
> obj-y += version.o
>
> all the lines above it reference other objects, each of which has a corresponding .c file in
> /usr/src/linux-2.4.27/net/ipsec/
version.o is generated from version.in.c
Paul
More information about the Users
mailing list