Click here to Skip to main content
15,894,825 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCArray Pin
cuteee15-Feb-06 14:38
cuteee15-Feb-06 14:38 
AnswerRe: CArray Pin
Nish Nishant15-Feb-06 14:50
sitebuilderNish Nishant15-Feb-06 14:50 
AnswerRe: CArray Pin
Ganesh_T15-Feb-06 16:49
Ganesh_T15-Feb-06 16:49 
AnswerRe: CArray Pin
ThatsAlok16-Feb-06 3:00
ThatsAlok16-Feb-06 3:00 
GeneralRe: CArray Pin
cuteee16-Feb-06 5:56
cuteee16-Feb-06 5:56 
GeneralRe: CArray Pin
ThatsAlok16-Feb-06 17:17
ThatsAlok16-Feb-06 17:17 
QuestionWhere is 'this'? Pin
CodyDaemon15-Feb-06 13:02
CodyDaemon15-Feb-06 13:02 
QuestionUndefined symbol when compiling for Picotux Pin
Ed.Poore15-Feb-06 11:23
Ed.Poore15-Feb-06 11:23 
Firstly I'd like to warn you all that this is a "Linux C" question and not anyway CLI related.

I've been doing some work on the PicoTux 100 module for a work project.

The background is that I've been porting an I2C driver for a Mitsubishi EEPROM to the PicoTux. The original file was a bit of a mess and everything was in one source file.

I've been moving various routines into seperate source files to tidy things up, between each move I build the entire project. Once I'd completed moving all routines to their various files I get messages similar to the ones below:

Error: symbol _Z10gpio_writeP13gpio_handle_tjj is undefined
Error: symbol _Z10gpio_writeP13gpio_handle_tjj is undefined
Error: symbol _Z16gpio_set_dir_outP13gpio_handle_tj is undefined
Error: symbol _Z10gpio_writeP13gpio_handle_tjj is undefined
Error: symbol _Z10gpio_writeP13gpio_handle_tjj is undefined
Error: symbol _Z10gpio_writeP13gpio_handle_tjj is undefined

The source compiles ok, this is in the linking stage.

There are routines called gpio_write in the source (well actually they're pre-compiled and I'm linking them in).

Does anyone have any ideas on how to track down where these bugs are?

This compilation is being done on Fedora Core 4 using the gcc compiler provided by PicoTux. I've setup MinGW Dev Studio to use the picotux compilers and created a project with two headers files (one has GPIO (General Purpose IO) definitions and the other has function prototypes & a few other I2C definitions). There are then several source files for the various functions.

Thanks in advance for any help

Ed

-- modified at 17:21 Wednesday 15th February, 2006

Ed
AnswerRe: Undefined symbol when compiling for Picotux Pin
Stephen Hewitt15-Feb-06 11:46
Stephen Hewitt15-Feb-06 11:46 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Ed.Poore15-Feb-06 11:54
Ed.Poore15-Feb-06 11:54 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Stephen Hewitt15-Feb-06 12:02
Stephen Hewitt15-Feb-06 12:02 
AnswerRe: Undefined symbol when compiling for Picotux Pin
Dan McCormick15-Feb-06 12:58
Dan McCormick15-Feb-06 12:58 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Ryan Binns15-Feb-06 17:47
Ryan Binns15-Feb-06 17:47 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Ed.Poore15-Feb-06 20:08
Ed.Poore15-Feb-06 20:08 
AnswerRe: Undefined symbol when compiling for Picotux Pin
Ryan Binns15-Feb-06 17:46
Ryan Binns15-Feb-06 17:46 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Ed.Poore15-Feb-06 20:11
Ed.Poore15-Feb-06 20:11 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Ryan Binns15-Feb-06 21:55
Ryan Binns15-Feb-06 21:55 
GeneralRe: Undefined symbol when compiling for Picotux Pin
Ed.Poore16-Feb-06 11:55
Ed.Poore16-Feb-06 11:55 
QuestionWin32 worth it? Pin
Zanathel15-Feb-06 10:58
Zanathel15-Feb-06 10:58 
AnswerRe: Win32 worth it? Pin
Michael Dunn15-Feb-06 12:03
sitebuilderMichael Dunn15-Feb-06 12:03 
GeneralRe: Win32 worth it? Pin
Ed K15-Feb-06 15:10
Ed K15-Feb-06 15:10 
GeneralRe: Win32 worth it? Pin
ThatsAlok16-Feb-06 2:46
ThatsAlok16-Feb-06 2:46 
GeneralRe: Win32 worth it? Pin
Blake Miller16-Feb-06 12:21
Blake Miller16-Feb-06 12:21 
GeneralRe: Win32 worth it? Pin
Blake Miller16-Feb-06 12:19
Blake Miller16-Feb-06 12:19 
AnswerRe: Win32 worth it? Pin
Ashutosh_shashi15-Feb-06 17:42
Ashutosh_shashi15-Feb-06 17:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.