This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Accessing custom built driver functions in eCos.


I?ve had some trouble with accessing original device driver functions written for eCos v2.0. Whenever the application source attempts to access a function in the device driver, the function source is not recognised. E.g. a simple function such as modem_wait_incoming_call(void*); written as a device driver with an associated prototype included in a header file produces the error: ?undefined reference to modem_wait_incoming_call(&input))?. This problem is solved if the driver file is included within the application code, however if it is possible I would like to avoid this. Do I need to modify devtab.h?
If anyone has any input on what may resolve this issue, I would be very grateful.
Thanks, John.


_________________________________________________________________
Need a new job? Check out XtraMSN Careers http://xtramsn.co.nz/careers


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]