Opened 11 years ago

Closed 6 years ago

#43314 closed defect (worksforme)

scheme48-1.9.1 Build Errors

Reported by: neilt (Neil Tiffin) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: scheme48

Description

/usr/bin/clang -c -I/opt/local/include -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ -DS48_HOST_ARCHITECTURE=\"i386-apple-darwin12.5.0\" -I ./c -I./c -I./c/net -I./c/bibop -pipe -Os -arch x86_64 -pthread -o c/free.o c/free.c
./c/main.c:19:12: warning: implicit declaration of function 's48_call_startup_procedure' is invalid in C99 [-Wimplicit-function-declaration]
    return s48_call_startup_procedure(argv, argc);
           ^
In file included from c/extension.c:21:
1 warning generated.
./c/scheme48.h:52:1: error: unknown type name 'S48_EXTERN'
S48_EXTERN s48_ref_t  s48_make_local_ref(s48_call_t call, s48_value obj);
^
./c/scheme48.h:52:21: error: expected ';' after top level declarator
S48_EXTERN s48_ref_t  s48_make_local_ref(s48_call_t call, s48_value obj);
/usr/bin/clang -c -I/opt/local/include -DHAVE_CONFIG_H -D__COMPILING_SCHEME48_ITSELF__ -DS48_HOST_ARCHITECTURE=\"i386-apple-darwin12.5.0\" -I ./c -I./c -I./c/net -I./c/bibop -pipe -Os -arch x86_64 -pthread -o c/double_to_string.o c/double_to_string.c
                    ^
                    ;
./c/scheme48.h:53:1: error: unknown type name 'S48_EXTERN'
S48_EXTERN s48_ref_t  s48_copy_local_ref(s48_call_t call, s48_ref_t ref);
^
./c/scheme48.h:53:21: error: expected ';' after top level declarator
S48_EXTERN s48_ref_t  s48_copy_local_ref(s48_call_t call, s48_ref_t ref);
                    ^
                    ;
./c/scheme48.h:54:1: error: unknown type name 'S48_EXTERN'
S48_EXTERN void       s48_free_local_ref(s48_call_t call, s48_ref_t ref);
^
./c/scheme48.h:54:12: error: expected identifier or '('
S48_EXTERN void       s48_free_local_ref(s48_call_t call, s48_ref_t ref);
           ^
In file included from c/scheme48vm-64.c:5:
In file included from ./c/scheme48vm-prelude.h:26:
./c/scheme48vm.h:43:22: error: conflicting types for 's48_define_exported_binding'
S48_EXTERN s48_value    s48_define_exported_binding(char *, s48_value);
                        ^
/opt/local/include/scheme48.h:121:18: note: previous declaration is here
S48_EXTERN void         s48_define_exported_binding(char *, s48_value);
                        ^
./c/scheme48.h:55:1: error: unknown type name 'S48_EXTERN'
S48_EXTERN void       s48_free_local_ref_array(s48_call_t call, s48_ref_t *refs, size_t len);
^
./c/scheme48.h:55:12: error: expected identifier or '('
S48_EXTERN void       s48_free_local_ref_array(s48_call_t call, s48_ref_t *refs, size_t len);
           ^
./c/scheme48.h:58:1: error: unknown type name 'S48_EXTERN'
S48_EXTERN s48_ref_t  s48_make_global_ref(s48_value obj);
^
./c/scheme48.h:58:21: error: expected ';' after top level declarator
S48_EXTERN s48_ref_t  s48_make_global_ref(s48_value obj);
                    ^
                    ;
./c/scheme48.h:59:1: error: unknown type name 'S48_EXTERN'
S48_EXTERN void       s48_free_global_ref(s48_ref_t ref);
^
./c/scheme48.h:59:12: error: expected identifier or '('

Change History (4)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to mww@…

comment:2 Changed 8 years ago by mf2k (Frank Schima)

Owner: mww@… deleted
Status: newassigned

See #53012.

comment:3 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: MarcusCalhoun-Lopez added

comment:4 Changed 6 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: worksforme
Status: assignedclosed

Closing since scheme48 has been updated to a newer version since this ticket was opened.
Hopefully, that fixe the problem.
If this error continues on the latest version of scheme48, please feel free to reopen.

Note: See TracTickets for help on using tickets.