Date: Mon, 19 Jun 2006 18:45:28 GMT From: Spencer Whitman <swhitman@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 99631 for review Message-ID: <200606191845.k5JIjSwd097112@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=99631 Change 99631 by swhitman@swhitman_joecatmini on 2006/06/19 18:45:23 Got Makefile to compile code, but does not link properly. Added the original Makefile (Makefile2). Affected files ... .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/Makefile#2 edit .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/Makefile2#1 add .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/k.c#2 edit .. //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/parser.c#2 edit Differences ... ==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/Makefile#2 (text+ko) ==== @@ -16,9 +16,11 @@ NO_MAN = ha -CIFLAGS += -I. -I${.CURDIR} +CIFLAGS += -I. -I${.CURDIR} -I${.CURDIR}/../src/include -I${.CURDIR}/../src/sys/ -I${.CURDIR}/../src/sys/sys/ -I${.CURDIR}/../src/sys/machine/ +#CLIBS += -L../src/lib/ CFLAGS += ${CIFLAGS} - +CFLAGS += ${CLIBS} +CFLAGS += -nostdinc CFLAGS += -g .include <bsd.prog.mk> ==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/k.c#2 (text+ko) ==== @@ -11,12 +11,12 @@ #include <printf.h> #include <sys/queue.h> -#include "k.h" +#include <k.h> /* Printf Render for Token -------------------------------------------*/ static int -printf_arginfo_token(const struct printf_info /* *pi */ __unused, size_t n, int *argt) +printf_arginfo_token(const struct printf_info *pi __unused, size_t n, int *argt) { assert(n >= 1); ==== //depot/projects/soc2006/swhitman-K_Kernel_Meta-Language/k/parser.c#2 (text+ko) ====
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606191845.k5JIjSwd097112>