The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 05-04-2008
fabtagon fabtagon is offline
Registered User
 

Join Date: Apr 2008
Location: European Union/Germany
Posts: 183
Code:
[marcin@zet c1_menu(0)]$ gcc -o menu_item_data.o -c menu_item_data.c 
menu_item_data.c: In function 'main':
menu_item_data.c:29: warning: incompatible implicit declaration of built-in function 'calloc'
Have a look at this file. I assume you use calloc(number,size) in an improper way. While gcc tries to link your binary it therefore does not resolve your call for calloc to the function calloc in libc/stdlib.h.

Maybe it'll help if you try to create and compile a minimum (standalone) example with calloc to check whether you use it properly.
Reply With Quote