Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile UnixBench for AIX #5

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 3 comments
Open

Can't compile UnixBench for AIX #5

GoogleCodeExporter opened this issue Mar 17, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Hi,

I'm trying to get UnixBench running on AIX.
As make does not work on AIX, I used gmake.

Now, I'm getting the following error.
Checking distribution of files
./pgms  exists
./src  exists
./testdir  exists
./tmp  exists
./results  exists
gcc -o ./pgms/syscall -DTIME -Wall -pedantic -ansi -O2 -fomit-frame-pointer 
-fforce-addr -ffast-math -Wall ./src/syscall.c
In file included from ./src/syscall.c:31:
./src/timeit.c: In function 'wake_me':
./src/timeit.c:39: warning: implicit declaration of function 'alarm'
./src/syscall.c: In function 'main':
./src/syscall.c:67: warning: implicit declaration of function 'close'
./src/syscall.c:67: warning: implicit declaration of function 'dup'
./src/syscall.c:68: warning: implicit declaration of function 'getpid'
./src/syscall.c:69: warning: implicit declaration of function 'getuid'
./src/syscall.c:70: warning: implicit declaration of function 'umask'
./src/syscall.c:88: error: 'pid_t' undeclared (first use in this function)
./src/syscall.c:88: error: (Each undeclared identifier is reported only once
./src/syscall.c:88: error: for each function it appears in.)
./src/syscall.c:88: error: expected ';' before 'pid'
./src/syscall.c:89: error: 'pid' undeclared (first use in this function)
./src/syscall.c:93: warning: implicit declaration of function 'execl'
./src/syscall.c:97: warning: implicit declaration of function 'waitpid'
gmake: *** [pgms/syscall] Error 1

The system is AIX.

If someone could help, that'd be great.

Jean-Louis

Original issue reported on code.google.com by [email protected] on 23 May 2011 at 11:09

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant