"External" object files
From: Doru-Catalin Togea (doru-cat_at_ifi.uio.no)
Date: 06/18/04
- Next message: Matt Palmer: "Re: "External" object files"
- Previous message: Måns Rullgård: "Re: new to programming in Linux"
- Next in thread: Matt Palmer: "Re: "External" object files"
- Reply: Matt Palmer: "Re: "External" object files"
- Reply: Owen Jacobson: "Re: "External" object files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Jun 2004 15:48:44 +0200
Hi!
I am runing RedHat 9.0 with gcc 3.2.2.
I am writting a webcam module for an aapplication of mine. I want to use
as a starting point the code of xawtv, and call functiones implemented
there.
My problem is that my application is located some other place then the
xawtx code and I do not know how to refere to (#include) the relevant
xawtv code. It is not reasible to relocate my code into xawtv's source
tree.
Most of the code relevant to me is implemented into the
../xawtv-3.93/console/webcam.c file with no corresponding header file.
There is also a .../webcam.o file from the compilation of xawtv.
Is it possible to somehow link against webcam.o and make use of the
functionality of that object file?
Generalizing, this is a question of linking from "external" object files
too. How do I do that?
Thanks if anyone can help.
Catalin
--
<<<< ================================== >>>>
<< We are what we repeatedly do. >>
<< Excellence, therefore, is not an act >>
<< but a habit. >>
<<<< ================================== >>>>
- Next message: Matt Palmer: "Re: "External" object files"
- Previous message: Måns Rullgård: "Re: new to programming in Linux"
- Next in thread: Matt Palmer: "Re: "External" object files"
- Reply: Matt Palmer: "Re: "External" object files"
- Reply: Owen Jacobson: "Re: "External" object files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]