public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: zippo <zippo752001@comcast.net>
To: gcc-help@gcc.gnu.org
Subject: undefined reference
Date: Sat, 11 Sep 2004 15:35:00 -0000	[thread overview]
Message-ID: <20040911113310.5e277b7f.zippo752001@comcast.net> (raw)

I am getting a undefined reference error to this code. I don't see why. Any help would be great.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <dvdread/dvd_reader.h>
#include <dvdread/ifo_types.h>
#include <dvdread/ifo_read.h>
#include <dvdread/nav_read.h>
#include <dvdread/nav_print.h>

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


             reply	other threads:[~2004-09-11 15:35 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-11 15:35 zippo [this message]
2004-09-11 15:58 ` Eljay Love-Jensen
2004-09-11 20:00   ` zippo
2004-09-11 23:35     ` Eljay Love-Jensen
     [not found] <CA+JCqFYCePkAWFyUv5gp4rZbMUL8j71hBxY6=-4ju2DduhpCGA@mail.gmail.com>
2022-06-05 13:03 ` renwang101
2022-06-05 22:07   ` fedor_qd
2022-06-05 22:54     ` renwang101
  -- strict thread matches above, loose matches on Subject: below --
2002-10-29 17:22 Undefined Reference Vincent Lee
2002-10-30  1:06 ` bjorn rohde jensen
2000-02-04  8:18 undefined reference Andre Heidenreich
2000-02-06 19:06 ` Alexandre Oliva
2000-04-01  0:00   ` Alexandre Oliva
2000-04-01  0:00 ` Andre Heidenreich

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

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

  git send-email \
    --in-reply-to=20040911113310.5e277b7f.zippo752001@comcast.net \
    --to=zippo752001@comcast.net \
    --cc=gcc-help@gcc.gnu.org \
    /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.
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).