Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#490 closed defect (invalid)

csc's failing to compile (OS X)

Reported by: ddp Owned by:
Priority: major Milestone: 4.9.0
Component: core tools Version: 4.6.x
Keywords: Cc:
Estimated difficulty:

Description

Compiling the latest git trunk under 4.6.3, I'm seeing this:

gcc -no-cpp-precomp -fno-strict-aliasing -fwrapv -fno-common -DHAVE_CHICKEN_CONFIG_H -m64 -DC_ENABLE_PTABLES -fPIC -DPIC -c -Os -fomit-frame-pointer csc.c -o csc.o -I. -I./
csc.c: In function ‘f_4171’:
csc.c:2757: error: ‘C_INSTALL_LIB_NAME’ undeclared (first use in this function)
csc.c:2757: error: (Each undeclared identifier is reported only once
csc.c:2757: error: for each function it appears in.)
csc.c:2761: error: ‘C_TARGET_LIB_NAME’ undeclared (first use in this function)
make[1]: * [csc.o] Error 1
make:
* [install] Error 2
fluffy537% grep C_INSTALL_LIB_NAME *
Makefile.mingw: echo #ifndef C_INSTALL_LIB_NAME >>$@
Makefile.mingw: echo # define C_INSTALL_LIB_NAME "$(INSTALL_LIB_NAME)" >>$@
csc.c:((C_proc4)(void*)(*((C_word*)t6+1)))(4,t6,t5,C_mpointer(&a,(void*)C_INSTALL_LIB_NAME),C_fix(0));}
csc.scm:(define-foreign-variable INSTALL_LIB_NAME c-string "C_INSTALL_LIB_NAME")
defaults.make: echo "#ifndef C_INSTALL_LIB_NAME" >>$@
defaults.make: echo "# define C_INSTALL_LIB_NAME \"$(INSTALL_LIB_NAME)\"" >>$@

Change History (3)

comment:1 Changed 11 years ago by ddp

Resolution: invalid
Status: newclosed

fixed with a fresh 'distclean'

comment:2 Changed 11 years ago by felix winkelmann

Milestone: 4.7.04.8.0

Milestone 4.7.0 deleted

comment:3 Changed 9 years ago by felix winkelmann

Milestone: 4.8.04.9.0

Milestone 4.8.0 deleted

Note: See TracTickets for help on using tickets.