Advertisement
Guest User

Untitled

a guest
Jan 22nd, 2019
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.95 KB | None | 0 0
  1. ###
  2. ### Using 'gcc' toolset.
  3. ###
  4. rm -rf bootstrap
  5. mkdir bootstrap
  6. gcc -o bootstrap/jam0 command.c compile.c constants.c debug.c execcmd.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c class.c cwd.c native.c md5.c w32_getreg.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c execunix.c fileunix.c pathunix.c
  7. execcmd.c: In function 'onintr':
  8. execcmd.c:120:5: warning: implicit declaration of function 'out_printf' [-Wimplicit-function-declaration]
  9. out_printf( "...interrupted\n" );
  10. ^
  11. make.c: In function 'make':
  12. make.c:132:13: warning: implicit declaration of function 'out_printf' [-Wimplicit-function-declaration]
  13. out_printf( "...found %d target%s...\n", counts->targets,
  14. ^
  15. make.c: In function 'make0':
  16. make.c:735:13: warning: implicit declaration of function 'out_flush' [-Wimplicit-function-declaration]
  17. out_flush();
  18. ^
  19. filesys.c: In function 'file_archivescan_impl':
  20. filesys.c:360:10: warning: implicit declaration of function 'filelist_empty' [-Wimplicit-function-declaration]
  21. if ( filelist_empty( archive->members ) )
  22. ^
  23. modules/path.c: In function 'path_exists':
  24. modules/path.c:16:12: warning: implicit declaration of function 'file_query' [-Wimplicit-function-declaration]
  25. return file_query( list_front( lol_get( frame->args, 0 ) ) ) ?
  26. ^
  27. fileunix.c: In function 'file_archscan':
  28. fileunix.c:233:10: warning: implicit declaration of function 'filelist_empty' [-Wimplicit-function-declaration]
  29. if ( filelist_empty( archive->members ) )
  30. ^
  31. fileunix.c:235:14: warning: implicit declaration of function 'file_collect_archive_content_' [-Wimplicit-function-declaration]
  32. if ( file_collect_archive_content_( archive ) < 0 )
  33. ^
  34. fileunix.c: In function 'file_collect_archive_content_':
  35. fileunix.c:287:19: error: storage size of 'ar_hdr' isn't known
  36. struct ar_hdr ar_hdr;
  37. ^
  38. fileunix.c:299:25: error: 'SARMAG' undeclared (first use in this function)
  39. if ( read( fd, buf, SARMAG ) != SARMAG ||
  40. ^
  41. fileunix.c:299:25: note: each undeclared identifier is reported only once for each function it appears in
  42. fileunix.c:300:18: error: 'ARMAG' undeclared (first use in this function)
  43. strncmp( ARMAG, buf, SARMAG ) )
  44. ^
  45. fileunix.c:282:25: error: invalid application of 'sizeof' to incomplete type 'struct ar_hdr'
  46. #define SARHDR sizeof( struct ar_hdr )
  47. ^
  48. fileunix.c:311:34: note: in expansion of macro 'SARHDR'
  49. while ( ( read( fd, &ar_hdr, SARHDR ) == SARHDR ) &&
  50. ^
  51. fileunix.c:282:25: error: invalid application of 'sizeof' to incomplete type 'struct ar_hdr'
  52. #define SARHDR sizeof( struct ar_hdr )
  53. ^
  54. fileunix.c:311:46: note: in expansion of macro 'SARHDR'
  55. while ( ( read( fd, &ar_hdr, SARHDR ) == SARHDR ) &&
  56. ^
  57. fileunix.c:312:36: error: 'ARFMAG' undeclared (first use in this function)
  58. !( memcmp( ar_hdr.ar_fmag, ARFMAG, SARFMAG )
  59. ^
  60. fileunix.c:282:25: error: invalid application of 'sizeof' to incomplete type 'struct ar_hdr'
  61. #define SARHDR sizeof( struct ar_hdr )
  62. ^
  63. fileunix.c:342:37: note: in expansion of macro 'SARHDR'
  64. lseek( fd, offset + SARHDR, 0 );
  65. ^
  66. fileunix.c:282:25: error: invalid application of 'sizeof' to incomplete type 'struct ar_hdr'
  67. #define SARHDR sizeof( struct ar_hdr )
  68. ^
  69. fileunix.c:382:19: note: in expansion of macro 'SARHDR'
  70. offset += SARHDR + ( ( lar_size + 1 ) & ~1 );
  71. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement