[syslinux] No rule to make target `efi32/com32/lib/memcmp.o', needed by `syslinux.so'.

Geert Stappers stappers at stappers.nl
Wed Jun 11 21:43:22 PDT 2014


Op 2014-06-10 om 22:55 schreef Geert Stappers:
> 
> Hello,
> 
> A `make efi32` yeilds me
> 
>   make[3]: *** No rule to make target `efi32/com32/lib/memcmp.o', needed by `syslinux.so'.  Stop.
>   make[3]: Leaving directory `efi32/efi'
>   make[2]: *** [efi] Error 2

It was encountered while doing `make`.
The `make efi32` is just to faster reproduce the build error.


> Output of `ls -Gl  efi32/com32/lib/mem*.o`:
> 
>   -rw-r--r-- 1 stappers 2812 Jun 10 22:06 efi32/com32/lib/memcpy.o
>   -rw-r--r-- 1 stappers 3620 Jun 10 22:06 efi32/com32/lib/memmem.o
>   -rw-r--r-- 1 stappers 2744 Jun 10 22:06 efi32/com32/lib/memmove.o
>   -rw-r--r-- 1 stappers 2548 Jun 10 22:06 efi32/com32/lib/mempcpy.o
>   -rw-r--r-- 1 stappers 2736 Jun 10 22:06 efi32/com32/lib/memset.o
> 
> What should have build efi32/com32/lib/memcmp.o  ?

I asked that because I am missing 'memcmp.o' in the directory
that matches the error message and that has a 'memcpy.o'
with a timestamp of my build attempt.


What I meanwhile found is this 

$ ls -Gl com32/lib/mem{cpy,cmp}.*
-rw-r--r-- 1 stappers  247 Jan  3 15:28 com32/lib/memcmp.c
-rw-r--r-- 1 stappers 2728 Jan  4 14:15 com32/lib/memcmp.o
-rw-r--r-- 1 stappers  560 May 21 10:08 com32/lib/memcpy.c
-rw-r--r-- 1 stappers 1216 Jan  4 14:15 com32/lib/memcpy.o
-rw-r--r-- 1 stappers 2092 May 21 10:08 com32/lib/memcpy.S


Things that look strange to me:

 * The .o files are from Januari. I would expect Juni because
   I did a `make spotless`
 * Source files 'memcpy.c' and 'memcpy.S' are newer
   then the object file 'memcpy.o'


Am I on the right track to fix the build error
>   make[3]: *** No rule to make target `efi32/com32/lib/memcmp.o', needed by `syslinux.so'.  Stop.
??


Groeten
Geert Stappers
-- 
Leven en laten leven


More information about the Syslinux mailing list