Welcome to MacForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

compilation error Mach-O

 
   Macintosh computer (Home) -> Programmer Code RSS
Next:  post link shell tool wierdness  
Author Message
maxime

External


Since: Mar 31, 2004
Posts: 4



(Msg. 1) Posted: Wed Apr 28, 2004 5:08 am
Post subject: compilation error Mach-O
Archived from groups: comp>sys>mac>programmer>codewarrior (more info?)

Hi I have a library that compile and work fine in PEF format under
codewarrior IDE 5.5 but now I have to compile that library in Mach-O
format (Linker Mac OS X PowerPC Mach-O).
In my project settings, I put these Access Paths:
{ Compiler}MacOS X Support
usr/include
usr/lib
{ Compiler}MSL/MSL_C
{ Compiler}MSL/MSL_C++

here the error I've got in compilation that I don't understand

Error : undefined identifier '__gnuc_va_list'
(included from:
expanding macro '__P'
streambuf.h:36
iostream.h:31
stl_alloc.h:49
alloc.h:21
std/bastring.h:39
string:6
DXOPropertyItem.h:9
DXOExif.h:8
LibDXOImage/DXOImage.h:9
LibDXOImageTools/DXOImageTools_Copy_Clear.h:5
LibDXOImageTools/DXOImageTools.h:6
LibMesureBruit/MesureBruit.h:121
LibClipping/Clipping.h:165
Clipping.cpp:4)
libio.h line 363 extern int _IO_vfscanf O_FILE *, char *,
__gnuc_va_list, int *);

Thanks for help

 >> Stay informed about: compilation error Mach-O 
Back to top
Login to vote
MW Ron

External


Since: Aug 04, 2003
Posts: 1662



(Msg. 2) Posted: Wed Apr 28, 2004 3:34 pm
Post subject: Re: compilation error Mach-O [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <4cc9a89e.0404280108.6628e88.RemoveThis@posting.google.com>,
maxime_phan.RemoveThis@hotmail.com (maxime) wrote:

 >Hi I have a library that compile and work fine in PEF format under
 >codewarrior IDE 5.5 but now I have to compile that library in Mach-O
 >format (Linker Mac OS X PowerPC Mach-O).
 >In my project settings, I put these Access Paths:
 >{ Compiler}MacOS X Support
 >usr/include
 >usr/lib
 >{ Compiler}MSL/MSL_C
 >{ Compiler}MSL/MSL_C++
 >
 >here the error I've got in compilation that I don't understand

What prefix file are you using? You are using the BSD C library so you
need to have a corresponding prefix file.

Ron

 >Error : undefined identifier '__gnuc_va_list'
 >(included from:
 > expanding macro '__P'
 > streambuf.h:36
 > iostream.h:31
 > stl_alloc.h:49
 > alloc.h:21
 > std/bastring.h:39
 > string:6
 > DXOPropertyItem.h:9
 > DXOExif.h:8
 > LibDXOImage/DXOImage.h:9
 > LibDXOImageTools/DXOImageTools_Copy_Clear.h:5
 > LibDXOImageTools/DXOImageTools.h:6
 > LibMesureBruit/MesureBruit.h:121
 > LibClipping/Clipping.h:165
 > Clipping.cpp:4)
 >libio.h line 363 extern int _IO_vfscanf O_FILE *, char *,
 >__gnuc_va_list, int *);
 >
 >Thanks for help

--
Free Download - New Version Released
CodeWarrior Development Studio for HC(S)12 Microcontrollers v3.1
offers "emulator-like" debugging support for HCS12 derivatives
<a style='text-decoration: underline;' href="http://www.metrowerks.com/MW/Develop/Embedded/HC12/Default.htm" target="_blank">http://www.metrowerks.com/MW/Develop/Embedded/HC12/Default.htm</a>

Ron Liechty - MWRon.RemoveThis@metrowerks.com - <a style='text-decoration: underline;' href="http://www.metrowerks.com" target="_blank">http://www.metrowerks.com</a><!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: compilation error Mach-O 
Back to top
Login to vote
Display posts from previous:   
   Macintosh computer (Home) -> Programmer Code All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]