GNU bug report logs -
#5957
23.1.95; [PATCH] Build failure on FreeBSD
Previous Next
Reported by: Naohiro Aota <naota <at> elisp.net>
Date: Fri, 16 Apr 2010 12:14:01 UTC
Severity: normal
Tags: patch
Done: Dan Nicolaescu <dann <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #10 received at 5957-done <at> debbugs.gnu.org (full text, mbox):
Naohiro Aota <naota <at> elisp.net> 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.
This bug report was last modified 15 years and 42 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.