[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#5957: 23.1.95; [PATCH] Build failure on FreeBSD

From: Dan Nicolaescu
Subject: bug#5957: 23.1.95; [PATCH] Build failure on FreeBSD
Date: Fri, 16 Apr 2010 13:26:46 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Naohiro Aota <address@hidden> writes:

> Please describe exactly what actions triggered the bug
> and the precise symptoms of the bug.  If you can, give
> a recipe starting from `emacs -Q':
> Emacs trunk cannot to be build on FreeBSD with the follwing error. 
> /usr/lib/gcc/i686-gentoo-freebsd7.2/4.4.3/../../../../i686-gentoo-freebsd7.2/bin/ld:
>  cannot find -ltermcap
> collect2: ld returned 1 exit status
> gmake[1]: *** [temacs] Error 1
> gmake[1]: Leaving directory `/usr/local/src/bzr-src/emacs-trunk/src'
> gmake: *** [src] Error 2
> Rev 99699 removed "#include <osreldate.h>", but this line is necessary
> to define __FreeBSD_version. Without the line, "#if __FreeBSD_version
> < 400000" always succeeds and cause "#define LIBS_TERMCAP -ltermcap"
> which is not adequate library.
> With the attached patch, I was able to build emacs on FreeBSD again.

Thanks, I restored the osreldate.h include.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]