Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/16/08 14:22
Read: times


 
#149558 - just a declaration - also need the definition
Responding to: ???'s previous message
Lionel Woon said:
errors. The error says "Reference made fo unresolved external" But the header file that contains FIFO_Read_xdata and FIFO_Write_xdata are inside too.

Basic 'C' textbook time again:

You need to understand the difference between a definition and a declaration:

A header should just provide a declaration - that simply informs the current compilation that the symbol will be defined "elsewhere"

You have failed to provide that definition - it would normally come from another source file or a library...




List of 16 messages in thread
TopicAuthorDate
USB connection between 8051 and mobile phone            01/01/70 00:00      
   Cross Post            01/01/70 00:00      
      Cross Post            01/01/70 00:00      
   Impossible - needs a host (or OTG?)            01/01/70 00:00      
   OTG mobile phone            01/01/70 00:00      
       OTG mobile phone            01/01/70 00:00      
         E65 seems just a USB device            01/01/70 00:00      
             E65 seems just a USB device            01/01/70 00:00      
               Nokia 7900 should have host function            01/01/70 00:00      
                  CDC ACM            01/01/70 00:00      
                     CDC ACM            01/01/70 00:00      
                        Did you port it to nRF24LU1?            01/01/70 00:00      
                            Did you port it to nRF24LU1?            01/01/70 00:00      
                              Did you port it to nRF24LU1?            01/01/70 00:00      
                                 header - linker            01/01/70 00:00      
                                 just a declaration - also need the definition            01/01/70 00:00      

Back to Subject List