Still no joy with SunOS and Kaffe-0.84

Fathi.DJEBBARI fathi.djebbari at vz.cit.alcatel.fr
Mon Apr 21 03:06:28 PDT 1997


> From kaffe-approval at soi.city.ac.uk Sat Apr 19 00:43 MET 1997
> X-Authentication-Warning: vega.soi.city.ac.uk: lp set sender to owner-kaffe at soi.city.ac.uk using -f
> From: "Greg T. Harber" <gth at cs.sfasu.edu>
> Date: Fri, 18 Apr 1997 15:20:02 -0500
> X-Mailer: Z-Mail (3.2.1 24feb96 Caldera)
> To: kaffe at kaffe.org
> Subject: Still no joy with SunOS and Kaffe-0.84
> Mime-Version: 1.0
> Sender: owner-kaffe at soi.city.ac.uk
> Reply-To: kaffe at kaffe.org
> Content-Type> : > text/plain> ; > charset=us-ascii> 
> Content-Length: 640
> 
> Followup to an earlier posting:
> 
> SunOS 4.1.4
> gcc 2.7.2.1.f.1
> kaffe 0.84
> 
> ./configure  make  make install
> [set enviromentals]
> 
> $ javac HelloWorldApp.java
> ld.so: Undefined symbol _select
> 
> 
> 
> 
> Humm, ok, let's try
> 
> ./configure --enable-staticlib  make  make install
> 
> $ javac HelloWorldApp.java
> ld.so: Undefined symbol: __ctype_
> 
> I've seen postings by people running Kaffe on SunOS,
> any ideas on what is going wrong?
> 
> 
> --
> Greg T. Harber                        gth at cs.sfasu.edu
> Director, McGee Computing Laboratory  409 468-2508
> Department of Computer Science        P.O. Box 13063
> Stephen F. Austin State University    Nacogdoches, TX 75962 USA
> 
> 
You might have an uncomplete libc.a/.so.*
You could check that by using nm /lib/libc.a[.so.*]
If you only need ctype, here is a reverse engeneered version :


/* should be put in myctype.h and myctype.c */
#define _U      01
#define _L      02
#define _N      04
#define _S      010
#define _P      020
#define _C      040
#define _X      0100
#define _B      0200
 
#define isalpha(c)      ((_ctype_+1)[c]&(_U|_L))
#define isupper(c)      ((_ctype_+1)[c]&_U)
#define islower(c)      ((_ctype_+1)[c]&_L)
#define isdigit(c)      ((_ctype_+1)[c]&_N)
#define isxdigit(c)     ((_ctype_+1)[c]&_X)
#define isspace(c)      ((_ctype_+1)[c]&_S)
#define ispunct(c)      ((_ctype_+1)[c]&_P)
#define isalnum(c)      ((_ctype_+1)[c]&(_U|_L|_N))
#define isprint(c)      ((_ctype_+1)[c]&(_P|_U|_L|_N|_B))
#define isgraph(c)      ((_ctype_+1)[c]&(_P|_U|_L|_N))
#define iscntrl(c)      ((_ctype_+1)[c]&_C)
#define isascii(c)      ((unsigned)(c)<=0177)
#define toascii(c)      ((c)&0177)

char _ctype_[]= {    0,   32,   32,   32,   32,   32,   32,   32,
                    32,   32,   40,   40,   40,   40,   40,   32,
                    32,   32,   32,   32,   32,   32,   32,   32,
                    32,   32,   32,   32,   32,   32,   32,   32,
                    32, -120,   16,   16,   16,   16,   16,   16,
                    16,   16,   16,   16,   16,   16,   16,   16,
                    16,   68,   68,   68,   68,   68,   68,   68,
                    68,   68,   68,   16,   16,   16,   16,   16,
                    16,   16,   65,   65,   65,   65,   65,   65,
                     1,    1,    1,    1,    1,    1,    1,    1,
                     1,    1,    1,    1,    1,    1,    1,    1,
                     1,    1,    1,    1,   16,   16,   16,   16,
                    16,   16,   66,   66,   66,   66,   66,   66,
                     2,    2,    2,    2,    2,    2,    2,    2,
                     2,    2,    2,    2,    2,    2,    2,    2,
                     2,    2,    2,    2,   16,   16,   16,   16,
                    32,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0,    0,    0,    0,    0,    0,    0,    0,
                     0
                };
bye



More information about the kaffe mailing list