[scponly] AIX without "GLOB_TILDE"

Filipe Renaldi filipe at inf.furb.br
Mon Mar 15 08:34:56 EST 2004


Hi,
( I understand english, but, to speak is hard for me...then, sorry for my bad
english).

I am trying to compile the scpolny under AIX 4.3.
First i get the errors:
make: 1254-002 Cannot find a rule to create target = from dependencies.
Stop.
Then, I remove the ":"(two dots) before "="(equals) of some variables enviroment
from Makefile.
Again i typed make and:
 gcc -g -O2 -I.. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o helper.o -c ../helper.c
../helper.c: In function `expand_wildcards':
../helper.c:218: `GLOB_TILDE' undeclared (first use in this function)
../helper.c:218: (Each undeclared identifier is reported only once
../helper.c:218: for each function it appears in.)
make: 1254-004 The error code from the last command is 1.

--
I checked in linux and the glob.h is very rich(there are the GLOB_TILDE
defined). In the AIX the glob.h is a litle header file and don´t have the
GLOB_TILDE definition.
--

In the "helper.c" code file there are pre-processor directive than make
compatible whith  Solaris.

#ifdef SOLARIS_COMPAT
        int flags = GLOB_NOCHECK;
#else
        int flags = GLOB_NOCHECK | GLOB_TILDE;
#endif

So, I too cut the "| GLOB_TILDE"

Ok, follow...

It was continue to compile when...:
gcc -g -O2 -I.. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o groups
gcc: No input files
make: 1254-004 The error code from the last command is 1.

I put with hands:
gcc -g -O2 -I.. -I. -DHAVE_CONFIG_H
-DDEBUGFILE='"/usr/local/etc/scponly/debuglevel"' -o groups ../groups.c

AND FINISHED.

What do the GLOB_TILDE???? what the impact in the CUT it?????
I not tested. I will try and post the results here.

Thank you.

(scponly ROX)

Atenciosamente,
___________________
Filipe Renaldi <filipe at inf.furb.br>
FURB - Departamento de Sistemas e Computação
Laboratório de Computação e Informática







More information about the scponly mailing list