Skip to contentSkip to conversation

Cygwin compile error: No rule to make target `compat-Windows_NT.o', needed by `libsparse.a

DISCUSSION Jari Aalto 2 participants 2 messages Oct 26, 2007 Sparse checker

lore
Share & tools
lore

Jari Aalto

author
#0 lore raw

git checkout and "make" gives following results in Cygwin. There is no "INSTALL" file that would explain how the compilation should be arranged. Please advice.

Jari

     CC       test-lexing.o
     CC       target.o
     CC       parse.o

parse.c:367: warning: __sentinel__' attribute directive ignored parse.c: In function apply_modifiers':
parse.c:407: warning: enumeration value SYM_UNINITIALIZED' not handled in switch parse.c:407: warning: enumeration value SYM_PREPROCESSOR' not handled in switch parse.c:407: warning: enumeration value SYM_BASETYPE' not handled in switch parse.c:407: warning: enumeration value SYM_NODE' not handled in switch parse.c:407: warning: enumeration value SYM_STRUCT' not handled in switch parse.c:407: warning: enumeration value SYM_UNION' not handled in switch parse.c:407: warning: enumeration value SYM_TYPEDEF' not handled in switch parse.c:407: warning: enumeration value SYM_TYPEOF' not handled in switch parse.c:407: warning: enumeration value SYM_MEMBER' not handled in switch parse.c:407: warning: enumeration value SYM_LABEL' not handled in switch parse.c:407: warning: enumeration value SYM_RESTRICT' not handled in switch parse.c:407: warning: enumeration value SYM_FOULED' not handled in switch parse.c:407: warning: enumeration value SYM_KEYWORD' not handled in switch parse.c:407: warning: enumeration value SYM_BAD' not handled in switch

     CC       tokenize.o
     GEN      pre-process.h
     CC       pre-process.o
     CC       symbol.o
     CC       lib.o
     CC       scope.o
     CC       expression.o
     CC       show-parse.o
     CC       evaluate.o
     CC       expand.o
     CC       inline.o
     CC       linearize.o
     CC       sort.o
     CC       allocate.o

make: *** No rule to make target compat-Windows_NT.o', needed by libsparse.a'. Stop.

Signature · 1 line
Welcome to FOSS revolution: we fix and modify until it shines
#1 lore raw

Hey,

Quoted 3 lines · Jari Aalto

git checkout and "make" gives following results in Cygwin. There is no "INSTALL" file that would explain how the compilation should be arranged. Please advice.

You'll need to set OS=cygwin in makefile (line 3). That should do the trick.

Signature · 2 lines
Best Regards
Kovarththanan Rajaratnam