In order to build other other parts of the svn tree on FC6 I needed this
patch which adds -ltermcap everywhere -lreadline was used. I assume
it's needed on most other recient linux distros.
-gavin
--- ./function/jolt/Makefile.readline 2007-07-01 15:50:31.000000000 -0400
+++ ./function/jolt/Makefile 2007-07-01 15:56:52.000000000 -0400
@@ -11,7 +11,7 @@
Expression.o Scanner.o CompilerOptions.o Compiler.o
Instruction.o \
Resource.o CodeGenerator.o CodeGenerator-local.o
-LDLIBS = ../objects/objects.a -lreadline
+LDLIBS = ../objects/objects.a -lreadline -ltermcap
all : main$(OBJEXT)
@@ -62,6 +62,6 @@
cc -O -o $@ $<
bench-id : bench-id.st
- idc -O -k -g -I../objects bench-id.st -o bench-id ../objects/objects.a
-lreadline
+ idc -O -k -g -I../objects bench-id.st -o bench-id ../objects/objects.a
-lreadline -ltermcap
.FORCE :
--- ./function/objects/Makefile.readline 2007-07-01 15:50:06.000000000
-0400
+++ ./function/objects/Makefile 2007-07-01 15:35:49.000000000 -0400
@@ -18,7 +18,7 @@
all : objects.a
test : objects.a test.st
- $(IDC) $(IDFLAGS) test.st objects.a -lreadline
+ $(IDC) $(IDFLAGS) test.st objects.a -lreadline -ltermcap
.SUFFIXES :
--- ./function/jolt-vpu/Makefile.readline 2007-07-01 15:49:52.000000000
-0400
+++ ./function/jolt-vpu/Makefile 2007-07-01 15:56:52.000000000 -0400
@@ -14,7 +14,7 @@
Number.o OS.o Date.o Function.o Random.o Time.o deprecated.o \
Expression.o Scanner.o Compiler.o VPU.o
-LDLIBS = mpint/mpint.a -lreadline
+LDLIBS = mpint/mpint.a -lreadline -ltermcap
ARCH = $(shell $(IDC) -C arch)
--- ./function/examples/libjolt/Makefile.readline 2007-07-01
15:49:25.000000000 -0400
+++ ./function/examples/libjolt/Makefile 2007-07-01 15:36:53.000000000
-0400
@@ -12,7 +12,7 @@
ARCH = $(shell $(IDC) -C arch)
LIBS = $(JOLT)/jolt.a
-LDLIBS = jest.a -lreadline
+LDLIBS = jest.a -lreadline -ltermcap
all : jest$(OBJEXT)
@@ -36,7 +36,7 @@
nm $@ | fgrep __id__init__ | awk '{print "-u " $$3}' > libjolt.nm
jest : jest.c libjolt.a libjolt.h
- gcc -o $@ $(shell cat libjolt.nm) jest.c libjolt.a $(OBJ)/gc.a
$(OBJ)/libid.o -lreadline
+ gcc -o $@ $(shell cat libjolt.nm) jest.c libjolt.a $(OBJ)/gc.a
$(OBJ)/libid.o -lreadline -ltermcap
tidy : .FORCE
-rm -f *.o *.d *~ .gdb* *.stackdump *.o.c main.c
--- ./function/jolt-burg/Makefile.readline 2007-07-01 15:49:10.000000000
-0400
+++ ./function/jolt-burg/Makefile 2007-07-01 15:56:52.000000000 -0400
@@ -68,6 +68,6 @@
cc -O -o $@ $<
bench-id : bench-id.st
- idc -O -k -I../objects bench-id.st -o bench-id ../objects/objects.a
-lreadline
+ idc -O -k -I../objects bench-id.st -o bench-id ../objects/objects.a
-lreadline -ltermcap
.FORCE :
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc