Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compile issues under AIX 4.3.3 and AIX 5.1.0

Status
Not open for further replies.

petenealy

Programmer
Apr 7, 2003
3
0
0
US
I am trying to compile a very basic gtk app but keep recieving this error:

~> g++ -g gtkdemo.C -o test `gtk-config --cflags` \ `gtk-config --libs`
g++: -L/usr/contrib/gimp/lib: No such file or directory
In file included from /usr/include/sys/m_types.h:26,
from /usr/contrib/gnu/lib/gcc-lib/powerpc-ibm-aix4.3.0.0/2.8.1/include/sys/types.h:346,
from /usr/contrib/gnu/lib/gcc-lib/powerpc-ibm-aix4.3.0.0/2.8.1/include/sys/wait.h:40,
from /usr/contrib/gnu/lib/gcc-lib/powerpc-ibm-aix4.3.0.0/2.8.1/include/stdlib.h:228,
from /usr/contrib/gimp/include/gtk/gtkcolorsel.h:22,
from /usr/contrib/gimp/include/gtk/gtk.h:36,
from gtkdemo.C:3:
/usr/include/sys/vm_types.h:76: syntax error before `;'
/usr/include/sys/vm_types.h:90: syntax error before `;'
/usr/include/sys/vm_types.h:91: syntax error before `;'
gtkdemo.C: In function `int main(int, char **)':
gtkdemo.C:67: warning: implicit declaration of function `int gtk_container_set_border_width(...)'


I checked the file vm_types.h, and on the lines where the syntax error is found, a "typedef quad somevariable" is done. It is barfing on the typedef quad, but I'm not even sure what that is.

part if its contents are as follows:
#ifdef __64BIT__
typedef signed long rpn64_t;
typedef signed long cnt64_t; /* 64-bit count */
#else /* ILP32 */
#ifdef _LONG_LONG
typedef signed long long rpn64_t;
typedef signed long long cnt64_t; /* 64-bit count */
#else /* no long long */
#ifdef _ALL_SOURCE
typedef quad rpn64_t;
typedef quad cnt64_t; /* 64-bit count */
#endif /* _ALL_SOURCE */
#endif /* _LONG_LONG */
#endif /* __64BIT__ */


------------------------------

It seems like _LONG_LONG isn't defined which surprised me. I'm not root on these servers so I'm not srue waht I can do. Can anyone spread some light on this or ask what else you'd need to help?

Thanks a bunch.

Pete
 
Yes glib 1.2.8.3 is installed. Maybe incorrectly?

Like I said, i don't have root. Is there something i can check for?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top