unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Naohiro Aota <naota@elisp.net>
Cc: 5957-done@debbugs.gnu.org
Subject: bug#5957: 23.1.95; [PATCH] Build failure on FreeBSD
Date: Fri, 16 Apr 2010 13:26:46 -0400	[thread overview]
Message-ID: <yxq7ho7fgvd.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <20100416.154621.1898092761212240086.naota@elisp.net> (Naohiro Aota's message of "Fri\, 16 Apr 2010 15\:46\:21 +0900 \(JST\)")

Naohiro Aota <naota@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.






      reply	other threads:[~2010-04-16 17:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-16  6:46 bug#5957: 23.1.95; [PATCH] Build failure on FreeBSD Naohiro Aota
2010-04-16 17:26 ` Dan Nicolaescu [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yxq7ho7fgvd.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=5957-done@debbugs.gnu.org \
    --cc=naota@elisp.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).