help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Re : Re : Problem to compile gst-objc


From: Mathieu Suen
Subject: [Help-smalltalk] Re : Re : Problem to compile gst-objc
Date: Fri, 8 Jul 2011 12:30:38 +0100 (BST)

Hi Germán 


----- Message d'origine ----
> De : Germán Arias <address@hidden>
> 
> 
> With make I get:
> 
> gst-objc-ext.m: In function  'gst_boxValue':
> gst-objc-ext.m:268:7: warning: passing argument 1  of
> 'gst_proxy->cObjectToOOP' discards 'const' qualifier from pointer  target
> type [enabled by default]
> gst-objc-ext.m:268:7: note: expected  'void *' but argument is of type
> 'SEL'
> gst-objc-ext.m:268:13: warning:  assignment from incompatible pointer
> type [enabled by  default]
> gst-objc-ext.m:281:4: warning: no '-stObject' method found [enabled  by
> default]
> gst-objc-ext.m:281:4: warning: (Messages without a matching  method
> signature [enabled by default]
> gst-objc-ext.m:281:4: warning: will  be assumed to return 'id' and accept
> [enabled by  default]
> gst-objc-ext.m:281:4: warning: '...' as arguments.) [enabled by  default]
> gst-objc-ext.m:281:10: warning: assignment from incompatible  pointer
> type [enabled by default]
> gst-objc-ext.m: In function  'gst_sendMessage':
> gst-objc-ext.m:494:14: error: variable 'sup' has  initializer but
> incomplete typegst-objc-ext.m:494:14: warning: excess  elements in struct
> initializer [enabled by default]

It look like you are not using the libobjc2 runtime.
You should. You can fetch it from:
http://svn.gna.org/svn/gnustep/libs/libobjc2/trunk

> gst-objc-ext.m:494:14:  warning: (near initialization for 'sup') [enabled
> by  default]
> gst-objc-ext.m:494:14: warning: excess elements in struct  initializer
> [enabled by default]
> gst-objc-ext.m:494:14: warning: (near  initialization for 'sup') [enabled
> by default]
> gst-objc-ext.m:494:25:  error: storage size of 'sup' isn't known
> gst-objc-ext.m:494:25: warning:  unused variable
> 'sup' [-Wunused-variable]
> gst-objc-ext.m: In function  'gst_trampolineGetStObject':
> gst-objc-ext.m:613:26: warning: initialization  discards 'const'
> qualifier from pointer target type [enabled by  default]
> gst-objc-ext.m:621:17: warning: comparison of distinct pointer  types
> lacks a cast [enabled by default]
> gst-objc-ext.m: In function  'gst_trampolineMethod':
> gst-objc-ext.m:656:3: warning: no '-stObjectAccess'  method found
> [enabled by default]
> gst-objc-ext.m:656:3: warning: passing  argument 1 of
> 'gst_proxy->vmsgSend' from
> incompatible pointer type  [enabled by default]
> gst-objc-ext.m:656:3: note: expected 'OOP' but argument  is of type 'id'
> gst-objc-ext.m: In function  'gst_addMethod':
> gst-objc-ext.m:737:7: warning: implicit declaration of  function
> 'sel_copyTypes_np'  [-Wimplicit-function-declaration]
> gst-objc-ext.m:725:22: warning: variable  'sig' set but not used
> [-Wunused-but-set-variable]
> gst-objc-ext.m: In  function 'gst_installEventLoop':
> gst-objc-ext.m:899:12: error: 'VMProxy' has  no member named
> 'setEventLoopHandlers'

Seems that you did not switch to the v0.01 tags. This function is only access 
after v0.01.
Alternatively you can download it from:
https://github.com/mathk/gst-objc/tree/v0.01


> make: *** [gst-objc-ext.lo] Error  1
> 
> 
> 

HTH

--
Mathieu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]