Opened 4 years ago
Closed 3 years ago
#62378 closed defect (fixed)
geda-gaf: error: implicit declaration of function 'scm_frame_procedure' is invalid in C99
Reported by: | mendenmh | Owned by: | markemer (Mark Anderson) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.4 |
Keywords: | Cc: | dershow, ryandesign (Ryan Carsten Schmidt) | |
Port: | geda-gaf |
Description
I am running clean install of MacPorts on Catalina on a year-old Macbook. Everything is very generic. xcode is fresh 12.4 install. geda-gaf build fails here:
mv -f $depbase.Tpo $depbase.Plo libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -I../../.. -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -D_THREAD_SAFE -I/opt/local/include/guile/2.2 -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -Wall -W -Wno-unused-parameter -fno-strict-aliasing -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64 -MT py2scm.lo -MD -MP -MF .deps/py2scm.Tpo -c py2scm.c -fno-common -DPIC -o .libs/py2scm.o py2scm.c:66:13: error: implicit declaration of function 'scm_frame_procedure' is invalid in C99 [-Werror,-Wimplicit-function-declaration] SCM proc = scm_frame_procedure(frame); ^ py2scm.c:66:13: note: did you mean 'scm_frame_procedure_name'? /opt/local/include/guile/2.2/libguile/frames.h:159:13: note: 'scm_frame_procedure_name' declared here SCM_API SCM scm_frame_procedure_name (SCM frame); ^ py2scm.c:66:6: warning: incompatible integer to pointer conversion initializing 'SCM' (aka 'struct scm_unused_struct *') with an expression of type 'int' [-Wint-conversion] SCM proc = scm_frame_procedure(frame); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
Note the error; I included the warning to just give a little more conext. The whole log file is attached.
I have tried setting processors to 1 in the build, in case of a makefile dependency error. Result is identical.
Attachments (1)
Change History (6)
Changed 4 years ago by mendenmh
comment:1 Changed 4 years ago by mf2k (Frank Schima)
Owner: | set to markemer |
---|---|
Status: | new → assigned |
comment:2 Changed 4 years ago by mf2k (Frank Schima)
Summary: | Cannot build geda-gaf on Catalina → geda-gaf: error: implicit declaration of function 'scm_frame_procedure' is invalid in C99 |
---|
comment:3 Changed 4 years ago by dershow
Cc: | dershow added |
---|
comment:4 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign added |
---|
comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
build log file