From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30223 invoked by alias); 17 Dec 2009 09:10:55 -0000 Received: (qmail 30202 invoked by uid 22791); 17 Dec 2009 09:10:54 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f176.google.com (HELO mail-px0-f176.google.com) (209.85.216.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 17 Dec 2009 09:10:49 +0000 Received: by pxi6 with SMTP id 6so1271953pxi.0 for ; Thu, 17 Dec 2009 01:10:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.115.66.28 with SMTP id t28mr1491960wak.177.1261041047983; Thu, 17 Dec 2009 01:10:47 -0800 (PST) Date: Thu, 17 Dec 2009 09:33:00 -0000 Message-ID: Subject: modifying gcc files and getting error From: Wei Li To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2009-12/txt/msg00251.txt.bz2 Dear all: I am trying to change some source files in the GCC compiler and getting a compilation error. In the file "gimple.h", I am adding extern int x; // the x is global and should be accesable from other files as well. Then I called x in the "tree_into_ssa.c". However, when I compile the gcc compiler using the make command I get the following massage: undefined refernce to "x". Any comments??? Thanks, Abid -- Regards, Wei Li