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)

main.log (598.4 KB) - added by mendenmh 4 years ago.
build log file

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by mendenmh

Attachment: main.log added

build log file

comment:1 Changed 4 years ago by mf2k (Frank Schima)

Owner: set to markemer
Status: newassigned

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

Summary: Cannot build geda-gaf on Catalinageda-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: assignedclosed

In 10c1ab946d051197fa1f5b421f2d69ced3334935/macports-ports (master):

geda-gaf: Update to 1.10.2

Closes: #62378
Closes: #62558

Note: See TracTickets for help on using tickets.