From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Burton Samograd Newsgroups: gmane.emacs.devel Subject: Build problem: Error: symbol `pread64' is already defined Date: Sun, 04 Nov 2012 10:44:35 -0700 Message-ID: <5096A983.5080807@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352051086 29007 80.91.229.3 (4 Nov 2012 17:44:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 Nov 2012 17:44:46 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 04 18:44:56 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TV4Fk-0002oy-0t for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 18:44:56 +0100 Original-Received: from localhost ([::1]:34099 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV4Fb-0005FY-6d for ged-emacs-devel@m.gmane.org; Sun, 04 Nov 2012 12:44:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV4FY-0005EQ-4b for emacs-devel@gnu.org; Sun, 04 Nov 2012 12:44:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TV4FX-0000XM-4f for emacs-devel@gnu.org; Sun, 04 Nov 2012 12:44:44 -0500 Original-Received: from mail-ia0-f169.google.com ([209.85.210.169]:48397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TV4FW-0000Wk-Vt for emacs-devel@gnu.org; Sun, 04 Nov 2012 12:44:43 -0500 Original-Received: by mail-ia0-f169.google.com with SMTP id h37so4623773iak.0 for ; Sun, 04 Nov 2012 09:44:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=9mvUc+YlurKjKMG5Biaay9qI4Mt2R7yZ/vuwttfeY04=; b=u32gYhGUWsLnr8afUaUsjsUQqs64LCkzhJ/0BA58anHqDy2jscNJ9GrYOj0VpSly1l laqBKkiOiPH9y/HAd+l2CXRGPIQaSAO0TtmHfg9Lo5I+7MiR6syZDpSBuV48mbNY9Tdk /UK5Bg7QPy7XUKckzqGltFHZpC5AH1Yb3lzTkOOZPEzO4pyysnyZ1XEjYwImuV+Gr8aa idPeEw2ToimW6EsDrG2aJHnLG1CsCuRM0tl8WiHJ4w1SOaYNzuunMyuX1b59cxkCbruR Btyck4OcSDJlFx337Rn3CXeGF2hkek80ZN24X5uL+jgDWpFj8g5yI73IYItbWsdsXQ/W xa4g== Original-Received: by 10.50.159.229 with SMTP id xf5mr2595310igb.0.1352051082085; Sun, 04 Nov 2012 09:44:42 -0800 (PST) Original-Received: from [192.168.0.194] (d50-99-109-246.abhsia.telus.net. [50.99.109.246]) by mx.google.com with ESMTPS id c3sm3953603igj.1.2012.11.04.09.44.41 (version=SSLv3 cipher=OTHER); Sun, 04 Nov 2012 09:44:41 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154670 Archived-At: Hello, I'm trying to build the current emacs git HEAD on one of my machines (Centos 5.8 on a VM host so I can't update it to a newer version) and I keep getting the following error: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/root/src/emacs-git/lib -I../src -I/root/src/emacs-git/src -g3 -O2 -MT careadlinkat.o -MD -MP -MF .deps/careadlinkat.Tpo -c -o careadlinkat.o careadlinkat.c /tmp/cc2jQqUg.s: Assembler messages: /tmp/cc2jQqUg.s:122: Error: symbol `pread64' is already defined >From what I can see this looks to be an issue with my libc headers (unistd.h most directly I think) . The glibc on this system is 2.5.81.el5_8.7 and I've recently done a 'yum update' to the current release for this Centos version. I've done a side by side comparison of the section of unistd.h on two machines, one a current Ubuntu and the Centos one that is having problems; they are almost close to identical with only a 'if defined' guard that should have nothing to do with with the systems I am running on (I hope). I've also updated my gcc to 4.7.2, the current release. Any ideas on what might be causing this build problem on this specific machine and not others? This isn't just with the current HEAD, but it's been going on for a few weeks now; I'm just finally getting around to reporting it. -- Burton Samograd