From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2486 invoked by alias); 11 Sep 2004 15:35:41 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 2452 invoked from network); 11 Sep 2004 15:35:38 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (216.148.227.85) by sourceware.org with SMTP; 11 Sep 2004 15:35:38 -0000 Received: from zippo01 (c-24-125-113-235.va.client2.attbi.com[24.125.113.235]) by comcast.net (rwcrmhc12) with SMTP id <2004091115353701400meg78e>; Sat, 11 Sep 2004 15:35:37 +0000 Date: Sat, 11 Sep 2004 15:35:00 -0000 From: zippo To: gcc-help@gcc.gnu.org Subject: undefined reference Message-Id: <20040911113310.5e277b7f.zippo752001@comcast.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SW-Source: 2004-09/txt/msg00094.txt.bz2 I am getting a undefined reference error to this code. I don't see why. Any help would be great. #include #include #include #include #include #include #include #include int main() { ifo_handle_t *vmg_file; dvd_reader_t *dvd; vmg_file = ifoOpen( dvd, 0 ); //printf ("YAY %s", vmg_file); ifoClose( vmg_file ); } $ gcc main.c -o rip /tmp/cc8cLKIQ.o(.text+0x2b): In function `main': : undefined reference to `ifoOpen' /tmp/cc8cLKIQ.o(.text+0x39): In function `main': : undefined reference to `ifoClose' collect2: ld returned 1 exit status