Hi, I tried to compile the nested functions and most of the files are complete. I find few others still pending. Below is the list which still has a nested function. I'm attaching the logfile for line numbers and column no.
grep "function definition is not allowed here" logfile elf-from-memory.c:234:2: error: function definition is not allowed here elf-from-memory.c:314:2: error: function definition is not allowed here readelf.c:391:3: error: function definition is not allowed here readelf.c:3617:7: error: function definition is not allowed here readelf.c:6222:3: error: function definition is not allowed here readelf.c:8747:7: error: function definition is not allowed here readelf.c:12119:3: error: function definition is not allowed here strip.c:524:4: error: function definition is not allowed here strip.c:1540:8: error: function definition is not allowed here strip.c:2131:2: error: function definition is not allowed here strip.c:2159:6: error: function definition is not allowed here elflint.c:3450:3: error: function definition is not allowed here elflint.c:3463:3: error: function definition is not allowed here addr2line.c:697:4: error: function definition is not allowed here addr2line.c:704:4: error: function definition is not allowed here arlib-argp.c:63:3: error: function definition is not allowed here ar.c:449:3: error: function definition is not allowed here unstrip.c:443:5: error: function definition is not allowed here unstrip.c:1202:5: error: function definition is not allowed here unstrip.c:1453:5: error: function definition is not allowed here unstrip.c:2236:3: error: function definition is not allowed here unstrip.c:2496:5: error: function definition is not allowed here elfcompress.c:280:3: error: function definition is not allowed here elfcompress.c:285:3: error: function definition is not allowed here elfcompress.c:291:3: error: function definition is not allowed here elfcompress.c:299:3: error: function definition is not allowed here Regards, Navin
logfile.gz
Description: application/gzip