HP3000-L Archives

October 2000, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 13 Oct 2000 22:03:07 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
Please help.

I tried the example from website
(http://www.editcorp.com/Personal/Lars_Appel/JavaDemo/) to use JNI to manage
message files. I'm getting this error:

make gcc-c89

c89 -c -D_POSIX_SOURCE vnm9042s.c
gcc -c -D_POSIX_SOURCE -I/usr/local/java/latest/include -I/usr/local/java/la
test/include/mpe  vnm9041s.c
rm -f libespeakXL.sl
callci 'linkedit "buildxl ./libespeakXL.sl ;limit=5"'
HP Link Editor/iX (HP30315A.06.14) Copyright Hewlett-Packard Co 1986

LinkEd> buildxl ./libespeakXL.sl ;limit=5

callci 'linkedit "addxl (./vnm9041s.o , ./vnm9042s.o) , ./libespeakXL.sl
;merge; rl=/lib/libc.a"'
HP Link Editor/iX (HP30315A.06.14) Copyright Hewlett-Packard Co 1986

LinkEd> addxl (./vnm9041s.o , ./vnm9042s.o) , ./libespeakXL.sl
;merge;rl=/lib/libc.a
OBJECT FILE "./vnm9041s.o" MUST HAVE FILECODE NMOBJ OR NMRL  (LINKERR 1023)
LINK FAILED  (LINKERR 1116)
0 OBJECT FILES HAVE BEEN ADDED.

linkedit "addxl (./vnm9041s.o , ./vnm9042s.o) , ./libespeakXL.sl
;merge;rl=/lib/
libc.a"
Program terminated in an error state. (CIERR 976)
make: *** [gcc-c89] Error 1
shell/iX>





# Makefile to build the different JNI implementation variants

DEFS = -D_POSIX_SOURCE
INCS
= -I/usr/local/java/jdk1.1.7/include -I/usr/local/java/jdk1.1.7/include/mpe

none:
 @echo Please specificy one of the symbolic targets

gcc-c89:
 c89 -c $(DEFS) v1c89.c
 gcc -c $(DEFS) $(INCS) v1gcc.c
 rm -f libXY.sl
 callci 'linkedit "buildxl ./libXY.sl ;limit=5"'
 callci 'linkedit "addxl (./v1gcc.o , ./v1c89.o) , ./libXY.sl
;merge;rl=/lib/libc.a"'

gcc-cob:
 callci 'cob85xl ./v2cob.s , ./v2cob.o , $$null'
 gcc -c $(DEFS) $(INCS) v2gcc.c
 rm -f libXY.sl
 callci 'linkedit "buildxl ./libXY.sl ;limit=5"'
 callci 'linkedit "addxl (./v2gcc.o , ./v2cob.o) , ./libXY.sl
;merge;rl=/lib/libc.a"'

clean:
 rm -f *.o libXY.sl

ATOM RSS1 RSS2