FVWM: fvwm-2.3.30 not able to compile on SUNOS

From: Thomas Bark <t.bark_at_alcatel.de>
Date: Fri, 30 Mar 2001 13:08:58 +0200

Hello,
compiling fvwm2 om SunOS with gcc( version 2.7.2)
gives following errors:
############
Making all in FvwmCpp
cd ../.. \
  && CONFIG_FILES=modules/FvwmCpp/Makefile CONFIG_HEADERS= /bin/sh
./config.status
creating modules/FvwmCpp/Makefile
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I/usr/openwin/include
-DFVWM_MODULEDIR=\"/home/ls21fnk/fvwm2/libexec/fvwm/2.3.30\"
-DFVWM_DATADIR=\"/home/ls21fnk/fvwm2/share/fvwm\"
-DFVWM_CPP='"/usr/ccs/lib/cpp"' -g -O2 -c FvwmCpp.c
In file included from FvwmCpp.c:38:
/tools/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2pl6/include/sys/param.h:187:
warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the
previous definition
In file included from /usr/include/sys/stream.h:26,
                 from /usr/include/netinet/in.h:38,
                 from /usr/include/netdb.h:96,
                 from FvwmCpp.c:41:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `FvwmCpp.o'
###############

content of model.h:

#if defined(_LP64)
#define DATAMODEL_NATIVE DATAMODEL_LP64
#elif defined(_ILP32)
#define DATAMODEL_NATIVE DATAMODEL_ILP32
#else
#error "No DATAMODEL_NATIVE specified"
#endif /* _LP64 || _ILP32 */
#############

Does anybody knows, where this _LP64 or _ILP32 should be defined?
configure runs successfully, AFAIK.
The same error hapens with fvwm-2.2.5.

regards
Thomas
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri Mar 30 2001 - 05:14:06 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:51 BST