This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
error: in ld/emultempl/elf32.em:1993:5: error: 'return' with no value, in function returning non-void
- From: shweta_guptasairam <er dot shwetagupta dot edu at gmail dot com>
- To: binutils at sourceware dot org
- Date: Mon, 11 Jun 2012 21:11:24 -0700 (PDT)
- Subject: error: in ld/emultempl/elf32.em:1993:5: error: 'return' with no value, in function returning non-void
/cygdrive/d/newport/binutils-2.22/binutils-2.22/ld/emultempl/elf32.em: In
function 'gldelf32_c816_get_script':
/cygdrive/d/newport/binutils-2.22/binutils-2.22/ld/emultempl/elf32.em:1993:5:
error: 'return' with no value, in function returning non-void
/cygdrive/d/newport/binutils-2.22/binutils-2.22/ld/emultempl/elf32.em:1994:37:
error: 'return' with no value, in function returning non-void
/cygdrive/d/newport/binutils-2.22/binutils-2.22/ld/emultempl/elf32.em:1995:38:
error: 'return' with no value, in function returning non-void
/cygdrive/d/newport/binutils-2.22/binutils-2.22/ld/emultempl/elf32.em:1996:42:
error: 'return' with no value, in function returning non-void
/cygdrive/d/newport/binutils-2.22/binutils-2.22/ld/emultempl/elf32.em:1997:10:
error: 'return' with no value, in function returning non-void
Makefile:1421: recipe for target `eelf32_c816.o' failed
make[4]: *** [eelf32_c816.o] Error 1
make[4]: Leaving directory `/cygdrive/d/newport/build1/ld'
Makefile:1644: recipe for target `all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/cygdrive/d/newport/build1/ld'
Makefile:911: recipe for target `all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/d/newport/build1/ld'
Makefile:7015: recipe for target `all-ld' failed
make[1]: *** [all-ld] Error 2
make[1]: Leaving directory `/cygdrive/d/newport/build1'
Makefile:842: recipe for target `all' failed
make: *** [all] Error 2
I am getting this error when i port fresh binutil-2.22 for a new target in
ld. please give me the solution of this error
--
View this message in context: http://old.nabble.com/error%3A-in-ld-emultempl-elf32.em%3A1993%3A5%3A-error%3A-%27return%27-with-no-value%2C-in-function-returning-non-void-tp33997654p33997654.html
Sent from the Sourceware - binutils list mailing list archive at Nabble.com.