Thread View: news.software.nntp
2 messages
2 total messages
Started by Huzefa Mohamedali
Mon, 27 Apr 1998 00:00
Problem compiling inn 1.7.2 news server
Author: Huzefa Mohamedali
Date: Mon, 27 Apr 1998 00:00
Date: Mon, 27 Apr 1998 00:00
115 lines
4092 bytes
4092 bytes
Hello
I recently acquired inn news server software from isc but I am having
some problems compiling the source code. I am writing this in the hope
that one of you out there will be able to show me the light. I am using
a Sparc 5 - solaris 2.6.
Below is an explanation of what the problem is :
I tried compiling as directed by the Install.txt file that came with the
source code and got the following error:
# make world
cd config ; make subst quiet ; cd ..
`subst' is up to date.
chmod u+w `grep -v '^;' <files.list`
./subst -f config.data `grep -v '^;' <files.list`
Fixing interpreter paths.
perl fixinterps.pl -v -d ../samples inncheck innlog.pl pgpverify
scanspool innmail
inncheck: no change
innlog.pl: no change
pgpverify: no change
scanspool: no change
innmail: no change
cd lib ; make lint ; cd ..
gcc -I../include -DSUNOS5 -DPOLL_BUG -g
-I/opt/LWperl5/lib/perl5/sun4-solaris/CORE -c getfqdn.c
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from /usr/include/sys/stream.h:21,
from /usr/include/netinet/in.h:38,
from /usr/include/netdb.h:96,
from getfqdn.c:8:
/opt/GCC2721/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2.1/include/sys/param.h:185:
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 getfqdn.c:8:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `getfqdn.o'
Current working directory /tmp/inn-1.7.2/lib
*** Error code 1
make: Fatal error: Command failed for target `world'
And the following is the /usr/include/sys/model.h file
/*
* Copyright (c) 1996 Sun Microsystems, Inc.
* All rights reserved.
*/
#ifndef _SYS_MODEL_H
#define _SYS_MODEL_H
#pragma ident "@(#)model.h 1.1 96/09/24 SMI"
#ifdef __cplusplus
extern "C" {
#endif
/*
* These bits are used in various places to specify the data model
* of the originator (and/or consumer) of data items. See
<sys/conf.h>
* <sys/file.h>, <sys/stream.h> and <sys/sunddi.h>.
*/
#define DATAMODEL_MASK 0x0FF00000
#define DATAMODEL_ILP32 0x00100000
#define DATAMODEL_LP64 0x00200000
#define DATAMODEL_NONE 0
#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 */
#ifdef __cplusplus
}
#endif
#endif /* _SYS_MODEL_H */
I am not a guru in neither C so I have no idea what the problem is
especially if the problem arises from an include file that comes with
the OS installation software. If there's anybody out there who has
experienced the same problems or knows what I am not doing right please
help me.
Thank you in advance.
If possible please reply to huzefa@ti.com
--
Its Not Where You Start, But Where You Finish That Counts!!!
Mohamedali
Re: Problem compiling inn 1.7.2 news server
Author: Casper H.S. Dik - Network Securi...
Date: Tue, 28 Apr 1998 00:00
Date: Tue, 28 Apr 1998 00:00
22 lines
1395 bytes
1395 bytes
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]] Huzefa Mohamedali <huzefa@ti.com> writes: >/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified" >*** Error code 1 You need to reinstall your gcc compiler; you have one that was compiled on a older release than Solaris 2.6. (And upgrade to gcc 2.8.1; it will survive OS upgrades much better) Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads