Let's keep this on -devel, as that is the appropriate list for packaging
questions, rather than cross-posting.

Please post some more of the output:  start with the last line of output
from the compiler before errors started to occur.  I'm not able to try
to reproduce your error due to the lack of a dependency:

...
checking for ccgnu2-config... no
checking for commoncpp2 version >= 1.6.0... not found
*** The ccgnu2-config script installed by commoncpp2 0.99
*** or later could not be found.
*** You need to install GNU Common C++ 2, whose later releases are
*** available from http://www.gnu.org/software/commoncpp/ and any
*** GNU mirror.
...

A couple of additional comments on the .info file:

Your CompileScript is what Fink uses by default, so it's not necessary.

Your InstallScript is the same as what Fink uses by default, so it's
also not necessary.  However, we generally prefer  'make install
DESTDIR=%d'  if a package will support that.  It's not the default for
historical reasons:  when Fink came out few packages could handle 'make
install DESTDIR='.

-- 
Alexander Hansen
Fink User Liaison



Nikhil Kulkarni wrote:
> Hello Team,
>  
> I'm trying to build Fink package of Twinkle VOIP/Softphone
> application. I'm getting the following errors. Can you please suggest
> me a solution for the same.
>  
> *In one of the source files audio_device.cpp, I'm getting the below
> errors. I'm attaching the .info file for your reference.*
>  
> audio_device.cpp: In static member function 'static bool
> t_audio_io::validate(const t_audio_device&, bool, bool)':
> audio_device.cpp:69: error: cannot convert 'const t_audio_device' to
> 'const char*' for argument '1' to 'int liboss_open(const char*, int,
> char*)'
> audio_device.cpp: In member function 'virtual bool
> t_oss_io::open(const std::string&, bool, bool, bool, int,
> t_audio_sampleformat, int, bool)':
> audio_device.cpp:193: error: cannot convert 'int*' to 'char*' for
> argument '3' to 'int liboss_ioctl(int, long unsigned int, char*)'
> audio_device.cpp:206: error: cannot convert 'int*' to 'char*' for
> argument '3' to 'int liboss_ioctl(int, long unsigned int, char*)'
> audio_device.cpp:254: error: cannot convert 'int*' to 'char*' for
> argument '3' to 'int liboss_ioctl(int, long unsigned int, char*)'
> audio_device.cpp:266: error: cannot convert 'int*' to 'char*' for
> argument '3' to 'int liboss_ioctl(int, long unsigned int, char*)'
> audio_device.cpp:279: error: cannot convert 'int*' to 'char*' for
> argument '3' to 'int liboss_ioctl(int, long unsigned int, char*)'
> audio_device.cpp: In member function 'virtual void
> t_oss_io::enable(bool, bool)':
> audio_device.cpp:301: error: cannot convert 'int*' to 'char*' for
> argument '3' to 'int liboss_ioctl(int, long unsigned int, char*)'
> audio_device.cpp: In member function 'virtual int
> t_oss_io::get_buffer_space(bool)':
> audio_device.cpp:330: error: cannot convert 'audio_buf_info*' to
> 'char*' for argument '3' to 'int liboss_ioctl(int, long unsigned int,
> char*)'
> make[4]: *** [audio_device.o] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> ### execution of make failed, exit code 2
> ### execution of /var/tmp/tmp.3.5gtpoq failed, exit code 2
> Removing runtime build-lock...
>  
> *///////////////////////////////.info file for
> Twinkle////////////////////////////////////////////////////////////*
> Package: twinkle 
> Version: 1.4.2
> Revision: 1
> Source: http://www.sfr-fresh.com/unix/privat/twinkle-%v.tar.gz
> Maintainer: Ankush Jain <ankush.j...@iiitb.net
> <mailto:ankush.j...@iiitb.net>>
> HomePage: http://www.twinklephone.com <http://www.twinklephone.com/>
> License: GPL
> Description: Mac OS 10.5 V.O.I.P. Tool 
> Source-MD5: d70c8972f296ffd998c7fb698774705b
> PatchScript: << 
> perl -pi -e 's,\#undef HAVE_SYS_SOUNDCARD_H,\#define
> HAVE_SYS_SOUNDCARD_H 1,g' %b/configure.in <http://configure.in/>
> perl -pi -e 's,sys/soundcard.h,liboss/soundcard.h,g' configure
> perl -pi -e 's,sys/soundcard.h,liboss/soundcard.h,g'
> %b/src/audio/audio_device.cpp
> perl -pi -e 's,LIBS = \...@libs\@,LIBS = \...@libs\@ -loss,g'
> %b/src/audio/Makefile.in
> perl -pi -e 's, open\(, liboss_open\(,g' %b/src/audio/audio_device.cpp 
> perl -pi -e 's, write\(, liboss_write(,g' %b/src/audio/audio_device.cpp
> perl -pi -e 's, ioctl\(, liboss_ioctl\(,g' %b/src/audio/audio_device.cpp
> perl -pi -e 's, close\(, liboss_close\(,g' %b/src/audio/audio_device.cpp
> <<
> ###
> #NoSetLDFLAGS: true
> SetLDFLAGS: -bind_at_load
> #SetCFLAGS: -fno-common
> SetLIBS: -L%p/lib
> SetCXXFLAGS: -DLIBOSS_INTERNAL
> #SetCPPFLAGS: -DLIBOSS_INTERNAL -l%p/include/liboss
>
> ###
>
> CompileScript: <<
> ./configure %c
> make
> <<
> InstallScript: <<
> #! /bin/sh -ev
> make install prefix=%i
> <<
>  
> Regards,
> Nikhil Kulkarni
> IIITB
>
>   


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to