Opened 7 years ago

Closed 7 years ago

#134 closed defect (fixed)

last versions doesn't compile at Linux

Reported by: Sérgio Monteiro Basto Owned by:
Priority: blocker Milestone: 0.2.0
Component: kBuild Version:
Keywords: Cc:

Description

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/Makefile.am
===================================================================
--- ./src/kmk/Makefile.am   (revision 3025)
+++ ./src/kmk/Makefile.am   (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 @@
    -DCONFIG_WITH_KMK_BUILTIN \
     @DEFS@
 
-AM_CPPFLAGS =  $(GLOBINC) -I$(srcdir)/../lib
+AM_CPPFLAGS =  $(GLOBINC) -I$(srcdir)/../lib -I$(srcdir)/../lib/kStuff/include/
 # Only process if target is MS-Windows
 if WINDOWSENV
     AM_CPPFLAGS += $(W32INC)

Change History (2)

comment:1 Changed 7 years ago by Sérgio Monteiro Basto

Milestone: 0.2.0
Summary: last versions doesn' compile at Linuxlast versions doesn't compile at Linux

comment:2 Changed 7 years ago by Sérgio Monteiro Basto

Resolution: fixed
Status: newclosed

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.