<>SNIP>>
Using GCC (from UCLA's archives)...

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../popt -DOPENPKG
-DOPENPKG_AIX -I/tmp/openpkg-2.20060824/zlib-1.2.3
-I/tmp/openpkg-2.20060824/bzip2-1.0.3
-I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -DOPENPKG -DOPENPKG_AIX
-I/tmp/openpkg-2.20060824/zlib-1.2.3
-I/tmp/openpkg-2.20060824/bzip2-1.0.3
-I/tmp/openpkg-2.20060824/beecrypt-4.1.2 -O2 -D_GNU_SOURCE -D_REENTRANT
-MT rpmrpc.lo -MD -MP -MF .deps/rpmrpc.Tpo -c rpmrpc.c -o rpmrpc.o
In file included from /usr/include/sys/pri.h:29,
                 from /usr/include/sys/sched.h:38,
                 from /usr/include/sched.h:52,
                 from /usr/include/pthread.h:43,
                 from rpmrpc.c:8:
/usr/include/sys/proc.h:203: error: parse error before "crid_t"
/usr/include/sys/proc.h:212: error: parse error before "p_class"
/usr/include/sys/proc.h:355: error: parse error before '}' token
rpmrpc.c: In function `ftpOpendir':
rpmrpc.c:1249: warning: assignment makes pointer from integer without a cast
rpmrpc.c: In function `Glob':
rpmrpc.c:1457: warning: assignment from incompatible pointer type
rpmrpc.c:1458: warning: assignment from incompatible pointer type
rpmrpc.c:1459: warning: assignment from incompatible pointer type
make[2]: *** [rpmrpc.lo] Error 1

As a blind guess I would say there is something like a "#include
<sys/types.h>" missing somewhere...

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

I checked the proc.h file on AIX 5.3 & AIX 4.3.3, same on both machines (only the one reference):

#ifndef _H_PROC
#define _H_PROC

#ifdef __cplusplus
extern "C" {
#endif

#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/timer.h>
#include <sys/resource.h>
#include <sys/m_param.h>
#include <sys/pri.h>
#include <sys/lockl.h>
#include <sys/limits.h>
#include <sys/var.h>
#include <sys/thread.h>
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to