Problem running gnu tools on AIX

Venkatakrishnan, V V.Venkatakrishnan@channels.usa.xerox.com
Fri Nov 23 01:46:00 GMT 2001


Hi,
	I've downloaded the gnu tools binaries...
gnu c (gcc, c++, g++) AIX 4.3 Version 2.95.2
gnu make AIX 4.3 Version 3.79.1
gnu debugger AIX 4.3 Version 5.0
	from http://aixpdslib.seas.ucla.edu/aixpdslib.html
	but when I try to run make as follows...
/usr/local/bin/make ALL...I get these errors.....
	0509-037 System error - error data is: /usr/local/bin/make
	0509-023 Symbol fopen64 in ksh is not defined
	0509-023 Symbol open64 in ksh is not defined
	0509-023 Symbol lseek64 in ksh is not defined
	0509-023 Symbol fstat64 in ksh is not defined
	0509-023 Symbol stat64 in ksh is not defined
	0509-023 Symbol vfork in ksh is not defined
	0509-023 Symbol __mod_init in ksh is not defined
	0509-023 Symbol __crt0v in ksh is not defined
	0509-026 System error: Cannot runa file that does not have a valid
format.

similarly running gcc
/usr/local/bin/gcc source.c results in the following errors...
	0509-037 System error - error data is: /usr/local/bin/gcc
	0509-023 Symbol putc_unlocked in ksh is not defined
	0509-023 Symbol vfork in ksh is not defined
	0509-023 Symbol __mod_init in ksh is not defined
	0509-023 Symbol __crt0v in ksh is not defined
	0509-026 System error: Cannot run a file that dodes not have a valid
format.

	Could this be because I've downloaded the wrong version for my OS?
What is the command on AIX to exactly know the version of OS running
(something similar to "ver" command on Windows).
	Can someone give me a pointer here?

Regards,
Venky
	








More information about the Gcc-help mailing list