Re: Irix and gcc-3.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

On 26 Sep 2001, Florin Andrei wrote:

> I'm trying to make OpenSSH work with a Radius server, and it seems like
> the best way is through PAM. Unfortunately, PAM was not (yet) ported to
> Irix.

> So, i try to compile PAM on an Irix-6.5.11, using gcc-3.0, but the
> compilation fails (see attached file). Since i'm not a programmer, i
> cannot tell if this happens because i use gcc-3.0, or maybe because some
> Irix weirdness. Do you guys have any idea?

gcc -Wall -Wwrite-strings       -Wpointer-arith -Wcast-qual -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes        -Wnested-externs -Winline
-Wshadow -Dirix64 -ansi -D_POSIX_SOURCE -pedantic -I./include
-I/usr/people/florin/compile/Linux-PAM-0.75/libpam/include
-I/usr/people/florin/compile/Linux-PAM-0.75
-I/usr/people/florin/compile/Linux-PAM-0.75/libpamc/include  -Iinclude
-DPAM_DYNAMIC   -c pam_filter.c -o dynamic/pam_filter.o
pam_filter.c: In function `_pam_log':
pam_filter.c:56: warning: implicit declaration of function `vsyslog'
pam_filter.c: In function `set_filter':
pam_filter.c:310: `TCGETA' undeclared (first use in this function)
pam_filter.c:310: (Each undeclared identifier is reported only once
pam_filter.c:310: for each function it appears in.)
pam_filter.c:322: `XCASE' undeclared (first use in this function)
pam_filter.c:329: `TCSETA' undeclared (first use in this function)
pam_filter.c:376: `TIOCNOTTY' undeclared (first use in this function)
gmake[2]: *** [dynamic/pam_filter.o] Error 1


It's a well-known issue that not all PAM modules included with the Linux-PAM
distribution are cross-platform (hence the survival of the name 'Linux-PAM').
It appears that a number of defines that the pam_filter module expects to find
on Linux are not present, or not in the same place, under Irix.

If you do not need this module, you can get past this problem using 'rm -rf
modules/pam_filter'.

Cheers,
Steve Langasek
postmodern programmer





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux