Date: Fri, 1 Dec 1995 01:23:30 -0500 From: Mikhail Teterin <mi@ALDAN.star89.galstar.com> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/857: elm port does not compile after straightforward config Message-ID: <199512010623.BAA12694@aldan> Resent-Message-ID: <199512010630.WAA18030@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 857
>Category: ports
>Synopsis: Need ANSI_C define to not declare some functions
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Nov 30 22:30:02 PST 1995
>Last-Modified:
>Originator: &khail Teterin
>Organization:
>Release: FreeBSD 2.1-STABLE i386
>Environment:
>Description:
lding for elm-2.4m8a
cd lib; /usr/bin/make - all
gcc -fpcc-struct-return -traditional -O2 -fno-strength-reduce -m486 -I../hdrs -c add_site.c
In file included from ../hdrs/headers.h:93,
from add_site.c:27:
../hdrs/defs.h:670: conflicting types for `lseek'
/usr/include/sys/types.h:84: previous declaration of `lseek'
*** Error code 1
>How-To-Repeat:
su
cd /usr/ports/mail/elm
make configure
do not add -DANSI_C when asked for additional CC options
>Fix:
Add -DANSI_C into the list of default extra options (in config.sh?)
With it, non needed declarations will be removed by C-preprocessor.
>Audit-Trail:
>Unformatted:
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512010623.BAA12694>
