Skip to content

Instantly share code, notes, and snippets.

@danking
Created August 2, 2011 21:36
Show Gist options
  • Select an option

  • Save danking/1121283 to your computer and use it in GitHub Desktop.

Select an option

Save danking/1121283 to your computer and use it in GitHub Desktop.
In file included from c/syscalls.c:36:
c/cstuff.h:1:22: error: scheme48.h: No such file or directory
In file included from c/syscalls.c:36:
c/cstuff.h:47: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char_pp_2_string_list’
In file included from c/syscalls.c:40:
c/syscalls.h:3: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wait_pid’
c/syscalls.h:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_exec’
c/syscalls.h:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_exit’
c/syscalls.h:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh__exit’
c/syscalls.h:11: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fork’
c/syscalls.h:13: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_pipe’
c/syscalls.h:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_kill’
c/syscalls.h:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_rename’
c/syscalls.h:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_rmdir’
c/syscalls.h:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_truncate’
c/syscalls.h:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_ftruncate’
c/syscalls.h:25: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_unlink’
c/syscalls.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fsync’
c/syscalls.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_sync’
c/syscalls.h:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_close’
c/syscalls.h:33: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_dup’
c/syscalls.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_dup2’
c/syscalls.h:37: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_lseek’
c/syscalls.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_open’
c/syscalls.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_utime’
c/syscalls.h:44: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_utime_now’
c/syscalls.h:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_cloexec’
c/syscalls.h:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_chdir’
c/syscalls.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_cwd’
c/syscalls.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘process_times’
c/syscalls.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_clock_ticks_per_sec’
c/syscalls.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_chmod’
c/syscalls.h:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fchmod’
c/syscalls.h:60: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_chown’
c/syscalls.h:62: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fchown’
c/syscalls.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_access’
c/syscalls.h:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_link’
c/syscalls.h:68: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_mkfifo’
c/syscalls.h:70: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_mkdir’
c/syscalls.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char_ready_fdes’
c/syscalls.h:74: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘read_fdes_char’
c/syscalls.h:76: error: expected ‘)’ before ‘call’
c/syscalls.h:78: error: expected ‘)’ before ‘call’
c/syscalls.h:80: error: expected ‘)’ before ‘call’
c/syscalls.h:82: error: expected ‘)’ before ‘call’
c/syscalls.h:84: error: expected ‘)’ before ‘call’
c/syscalls.h:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_stat’
c/syscalls.h:88: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_fstat’
c/syscalls.h:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getgid’
c/syscalls.h:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getegid’
c/syscalls.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setgid’
c/syscalls.h:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setegid’
c/syscalls.h:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘get_groups’
c/syscalls.h:100: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getuid’
c/syscalls.h:102: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_geteuid’
c/syscalls.h:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setuid’
c/syscalls.h:106: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_seteuid’
c/syscalls.h:108: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getpid’
c/syscalls.h:110: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getppid’
c/syscalls.h:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getpgrp’
c/syscalls.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setpgid’
c/syscalls.h:116: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setsid’
c/syscalls.h:118: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_umask’
c/syscalls.h:120: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘align_env’
c/syscalls.h:122: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘free_envvec’
c/syscalls.h:124: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_envvec’
c/syscalls.h:126: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘create_env’
c/syscalls.h:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_gethostname’
c/syscalls.h:130: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fcntl_read’
c/syscalls.h:132: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fcntl_write’
c/syscalls.h:135: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sleep_until’
c/syscalls.c:58: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘wait_pid’
c/syscalls.c:86: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_exit’
c/syscalls.c:92: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh__exit’
c/syscalls.c:98: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fork’
c/syscalls.c:112: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_pipe’
c/syscalls.c:128: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_kill’
c/syscalls.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_utime’
c/syscalls.c:160: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_utime_now’
c/syscalls.c:171: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘set_cloexec’
c/syscalls.c:194: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘process_times’
c/syscalls.c:224: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cpu_clock_ticks_per_sec’
c/syscalls.c:244: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_chmod’
c/syscalls.c:256: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fchmod’
c/syscalls.c:268: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_chown’
c/syscalls.c:282: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fchown’
c/syscalls.c:296: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_access’
c/syscalls.c:325: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘really_stat’
c/syscalls.c:356: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_stat’
c/syscalls.c:368: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scheme_fstat’
c/syscalls.c:380: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_truncate’
c/syscalls.c:392: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_ftruncate’
c/syscalls.c:404: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_fsync’
c/syscalls.c:415: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_sync’
c/syscalls.c:423: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_close’
c/syscalls.c:433: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_dup’
c/syscalls.c:444: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_dup2’
c/syscalls.c:456: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_lseek’
c/syscalls.c:470: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_open’
c/syscalls.c:484: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char_ready_fdes’
c/syscalls.c:510: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_getpgrp’
c/syscalls.c:515: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setpgid’
c/syscalls.c:528: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scsh_setsid’
c/syscalls.c:541: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘envvec_record_type_binding’
c/syscalls.c:542: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘add_envvec_finalizerB_binding’
c/syscalls.c:556: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘current_env’
c/syscalls.c:558: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘align_env’
c/syscalls.c:567: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘free_envvec’
c/syscalls.c:579: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘make_envvec’
c/syscalls.c:592: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_envvec’
c/syscalls.c:612: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘create_env’
c/syscalls.c:649: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘scm_gethostname’
c/syscalls.c:663: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fcntl_read’
c/syscalls.c:676: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fcntl_write’
c/syscalls.c:690: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘sleep_until’
c/syscalls.c: In function ‘scsh_init_syscalls’:
c/syscalls.c:708: error: ‘scsh_exit’ undeclared (first use in this function)
c/syscalls.c:708: error: (Each undeclared identifier is reported only once
c/syscalls.c:708: error: for each function it appears in.)
c/syscalls.c:709: error: ‘scsh__exit’ undeclared (first use in this function)
c/syscalls.c:710: error: ‘scsh_fork’ undeclared (first use in this function)
c/syscalls.c:711: error: ‘wait_pid’ undeclared (first use in this function)
c/syscalls.c:712: error: ‘scsh_getpgrp’ undeclared (first use in this function)
c/syscalls.c:713: error: ‘scsh_setpgid’ undeclared (first use in this function)
c/syscalls.c:714: error: ‘scsh_setsid’ undeclared (first use in this function)
c/syscalls.c:715: error: ‘process_times’ undeclared (first use in this function)
c/syscalls.c:716: error: ‘cpu_clock_ticks_per_sec’ undeclared (first use in this function)
c/syscalls.c:717: error: ‘scsh_chmod’ undeclared (first use in this function)
c/syscalls.c:718: error: ‘scsh_fchmod’ undeclared (first use in this function)
c/syscalls.c:719: error: ‘scsh_chown’ undeclared (first use in this function)
c/syscalls.c:720: error: ‘scsh_fchown’ undeclared (first use in this function)
c/syscalls.c:721: error: ‘scsh_access’ undeclared (first use in this function)
c/syscalls.c:722: error: ‘scm_utime’ undeclared (first use in this function)
c/syscalls.c:723: error: ‘scm_utime_now’ undeclared (first use in this function)
c/syscalls.c:724: error: ‘scheme_stat’ undeclared (first use in this function)
c/syscalls.c:725: error: ‘scheme_fstat’ undeclared (first use in this function)
c/syscalls.c:726: error: ‘scsh_truncate’ undeclared (first use in this function)
c/syscalls.c:727: error: ‘scsh_ftruncate’ undeclared (first use in this function)
c/syscalls.c:728: error: ‘scsh_fsync’ undeclared (first use in this function)
c/syscalls.c:729: error: ‘scsh_sync’ undeclared (first use in this function)
c/syscalls.c:730: error: ‘scsh_close’ undeclared (first use in this function)
c/syscalls.c:731: error: ‘scsh_dup’ undeclared (first use in this function)
c/syscalls.c:732: error: ‘scsh_dup2’ undeclared (first use in this function)
c/syscalls.c:733: error: ‘scsh_lseek’ undeclared (first use in this function)
c/syscalls.c:734: error: ‘char_ready_fdes’ undeclared (first use in this function)
c/syscalls.c:735: error: ‘scsh_open’ undeclared (first use in this function)
c/syscalls.c:736: error: ‘scheme_pipe’ undeclared (first use in this function)
c/syscalls.c:737: error: ‘scsh_kill’ undeclared (first use in this function)
c/syscalls.c:738: error: ‘scm_envvec’ undeclared (first use in this function)
c/syscalls.c:739: error: ‘create_env’ undeclared (first use in this function)
c/syscalls.c:740: error: ‘align_env’ undeclared (first use in this function)
c/syscalls.c:741: error: ‘free_envvec’ undeclared (first use in this function)
c/syscalls.c:742: error: ‘set_cloexec’ undeclared (first use in this function)
c/syscalls.c:743: error: ‘fcntl_read’ undeclared (first use in this function)
c/syscalls.c:744: error: ‘fcntl_write’ undeclared (first use in this function)
c/syscalls.c:745: error: ‘sleep_until’ undeclared (first use in this function)
c/syscalls.c:746: error: ‘scm_gethostname’ undeclared (first use in this function)
c/syscalls.c:748: error: ‘current_env’ undeclared (first use in this function)
c/syscalls.c:748: error: ‘_s48_value_false’ undeclared (first use in this function)
c/syscalls.c:749: error: ‘envvec_record_type_binding’ undeclared (first use in this function)
c/syscalls.c:750: error: ‘add_envvec_finalizerB_binding’ undeclared (first use in this function)
make: *** [c/syscalls.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment