There are build problems with OGDI 3.2.0-beta1 on OSF1 5.1 (Alpha) and SunOS 5.8. On Alpha, the file "vpflib/include/machine.h" includes a references to types "int32_t" and "uint32_t" which are not defined, on lines 38 and 39. It also appears that the symbol _ALPHA isn't defined. The compile-line definitions are:
gcc -I.. -I/usr/users/csbruce/ogdi-3.2.0.beta1/include/OSF1 -I/usr/users/csbruce/ogdi-3.2.0.beta1/vpflib/include -I/usr/users/csbruce/ogdi-3.2.0.beta1/vpflib -O -Wall -DUNIX=1 -Dunix -DSYS_BIG_ENDIAN=0 -c -o vpfselec.o ../vpfselec.c
On Alpha and SunOS, it is necessary to copy the "include/Linux/ogdi_macro.h" file to "include/OSF1/ogdi_macro.h" (and SunOS). Perhaps there should be a generic one of these for Unices.
Also on Alpha, the "vpflib/musedir.h" file includes a reference to type "int32_t" on line 73 which isn't defined.
On SunOS, the build stops on undefined symbols when attempting to build "libexpat_ogdi32.so":
Making dynamic library: /disk1/home/csbruce/ogdi-3.2.0.beta1/bin/SunOS/libexpat_ogdi32.so
gcc -shared -O -O -Wall -DUNIX=1 -o /disk1/home/csbruce/ogdi-3.2.0.beta1/bin/SunOS/libexpat_ogdi32.so xmlrole.o xmlparse.o xmltok.o
Text relocation remains referenced
against symbol offset in file
<unknown> 0xcc xmlrole.o
<unknown> 0xd0 xmlrole.o
[...]
On my production build, I use an external expat library which doesn't run into this problem.