Opened 3 years ago

Closed 2 years ago

#134 closed defect (fixed)

last versions doesn't compile at Linux

Reported by: sergiomb Owned by:
Priority: blocker Milestone: 0.2.0
Component: kBuild Version:
Keywords: Cc:


Still got this compile errors

kBuild/src/kmk/kmkbuiltin/redirect.c:913:108: error: 'papszEnvVars' undeclared (first use in this function)

kBuild/src/kmk/kmkbuiltin/redirect.c:1579:37: error: 'fdSource' undeclared (first use in this function)

Makefile:1265: recipe for target 'redirect.o' failed

after apply this patch:

Index: src/kmk/
--- ./src/kmk/   (revision 3025)
+++ ./src/kmk/   (working copy)
@@ -86,7 +86,7 @@
        kmkbuiltin/strlcpy.c \
        kmkbuiltin/osdep.c \
        kmkbuiltin/kbuild_protection.c \
-       kmkbuiltin/kbuild_version.c
+       ../lib/kbuild_version.c
 kmk_redirect_SOURCES = kmkbuiltin/redirect.c
@@ -171,7 +171,7 @@
-AM_CPPFLAGS =  $(GLOBINC) -I$(srcdir)/../lib
+AM_CPPFLAGS =  $(GLOBINC) -I$(srcdir)/../lib -I$(srcdir)/../lib/kStuff/include/
 # Only process if target is MS-Windows
     AM_CPPFLAGS += $(W32INC)

Change History (2)

comment:1 Changed 3 years ago by sergiomb

  • Milestone set to 0.2.0
  • Summary changed from last versions doesn' compile at Linux to last versions doesn't compile at Linux

comment:2 Changed 2 years ago by sergiomb

  • Resolution set to fixed
  • Status changed from new to closed

I'm testing svn revision 3050 and it compiles in Linux Fedora without any patch . Seems fixed !

Note: See TracTickets for help on using tickets.