David:
The Indigo is one of the older SGI boxes. SGI uses 3 different levels of
compiler options: -32 (also called O32 ABI--for older MIPS processors),
-n32 (called N32 ABI--optimizations for newer versions of the MIPS
processor) and -64 (64-bit optimizations for more recent 64-bit MIPS
processors.)
The following two lines are warnings:
cc: unrecognized option `-n32'
cc: unrecognized option `-KPIC'
The first warning should not really affect you too much.
The -KPIC option however *IS* important for the problem you are
experiencing. The following is from the man page for 'cc':
-KPIC Generates position-independent code (PIC). This is the
default and is needed for programs linking with dynamic shared
libraries. If you do not want to generate PIC code, specify
-non_shared on the command line.
Looks like you need to stick with the gcc compiler or find out what option
your (older) version of the compiler is used for creating shared libraries.
As to the error messages after those warnings, the earlier IRIX compilers
have less compliance with some of the ANSI standards. I would examine the
header file to see what is triggering the syntax error.
Hope this helps!
Paul E Wilt
Principal Software Engineer
____________________________________________________
XanEdu, Inc. ( a division of Bell+Howell Information&Learning)
http://www.XanEdu.com
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
300 North Zeeb Rd Phone: (734) 975-6021 (800)
521-0600 x6021
Ann Arbor, MI 48106 Fax: (734) 973-0737
____________________________________________________
> -----Original Message-----
> From: Hladky, David [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07,2001 5:22 PM
> To: 'Mike Braden'
> Cc: [EMAIL PROTECTED]
> Subject: RE: still having some trouble with mod_jk on SGI
>
> Yes, it has always done that with everything I have compiled, it just
> seems to ignore them. I am using the gcc that comes from SGI's freeware
> download site. It is version 2.95.2. Apache compiled perfectly and fires
> right up. I think the -n32 stands for "native 32 bit". I only know this
> because the javac also uses a similar flag. I have no idea what the -KPIC
> means. I was able to get mod_jserv.so to complie and install about a year
> ago so I am a little stumped as to why this is being such a headache.
>
> Thanks for your continued help...
>
> Dave
>
> -----Original Message-----
> From: Mike Braden [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 4:00 PM
> To: 'Hladky, David'
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: still having some trouble with mod_jk on SGI
>
> David,
>
> What compiler are you using?
>
> It sounds like compiling apache worked OK, right?
>
> Looks like your complier is choking on these options:
>
> cc: unrecognized option `-n32'
> cc: unrecognized option `-KPIC
>
> Did your compiler build apache with the above flags w/o error?
>
> Have you tried gcc?
>
> Mike.
> --
> Mike Braden
> [EMAIL PROTECTED]
>
>
> -----Original Message-----
> From: Hladky, David [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 07, 2001 2:16 PM
> To: '[EMAIL PROTECTED]'
> Cc: '[EMAIL PROTECTED]'
> Subject: still having some trouble with mod_jk on SGI
>
>
> Mike and Others,
> Thanks for the info this morning on building it locally.
> That
> appears to have gotten me going in the right direction. I doesn't
> error
> code rc=1 now. I am still not getting it compile the shared object
> though.
> As far as the libraries I jsut simply took my old apache
> and re-named it to old. Question though? Could I build
> mod_jk when
> I compile apache rather than waiting until after it is built. If
> so,
> where would I place the jk source and libraries? Probably can't
> but, just a
> thought?
>
> Anyway, if anybody can help. I hae the text of the output I
> am
> getting so that someone who knows more than me can have a peak.
>
> indigo% /usr/local/apache/bin/apxs -o mod_jk.so -DIRIX
> -I../jk
> -I/usr/java/include -I/usr/java/include/irix -c *.c ../jk/*.c
> cc -DIRIX -n32 -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite
> -KPIC
> -DSHARED_MODULE -I/usr/local/apache/include -I../jk -
> I/usr/java/include
> -I/usr/java/include/irix -DIRIX -c mod_jk.c
> cc: unrecognized option `-n32'
> cc: unrecognized option `-KPIC'
> In file included from ../jk/jk_util.h:66,
> from mod_jk.c:90:
> ../jk/jk_pool.h:116: parse error before `jk_pool_atom_t'
> mod_jk.c: In function `jk_handler':
> mod_jk.c:679: `jk_pool_atom_t' undeclared (first use in this
> function)
> mod_jk.c:679: (Each undeclared identifier is reported only
> once
> mod_jk.c:679: for each function it appears in.)
> mod_jk.c:679: parse error before `buf'
> mod_jk.c:680: `buf' undeclared (first use in this function)
> apxs:Break: Command failed with rc=65536 << File:
> ATT349118.txt >>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]