[Adium-devl] Fwd: Building msn_pecan statically

Evan Schoenberg evan at adiumx.com
Mon Jun 16 00:31:12 UTC 2008


On Jun 15, 2008, at 8:08 AM, Felipe Contreras wrote:

> On Sun, Jun 15, 2008 at 9:51 AM, Evan Schoenberg <evan at adiumx.com>  
> wrote:
>> Felipe,
>>
>> What's the intended use of the msn_pecan static prpl entry in the
>> libpurple makefile? Should msn-pecan be put somewhere within the
>> pidgin tree before building?
>
> Yes, libpurple/protocols/msn_pecan.

After a couple iterations of changes, I've got the build process going.
Changes as follows:
Created the attached Makefile.am:  as we need automake to produce our  
Makefile in the right place
Applied the following libpurple_static_for_msn_pecan.diff, which  
expands the patch you sent originally to add msn_pecan to the  
AC_OUTPUT list in the configure.ac and to let the libpurple/protocols/ 
Makefile.am know about msn_pecan:

However, the following error occurs while building:

----
gcc -DHAVE_CONFIG_H -I. -I../../.. -I/Users/evands/pidgin-for-adium/ 
libpurple/protocols/msn_pecan  -I/Users/evands/pidgin-for-adium/ 
libpurple -I../../../libpurple -D_REENTRANT -I/Users/evands/adium/ 
Utilities/dep-build-scripts/build/root-ppc/include/glib-2.0 -I/Users/ 
evands/adium/Utilities/dep-build-scripts/build/root-ppc/lib/glib-2.0/ 
include   -Wall   -DPURPLE_STATIC_PRPL -g -mmacosx-version-min=10.4 - 
isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch ppc -I/Users/evands/ 
adium/Utilities/dep-build-scripts/build/root-ppc/include -I/Developer/ 
SDKs/MacOSX10.4u.sdk/usr/include/kerberosIV -DHAVE_SSL -DHAVE_OPENSSL - 
fno-common -gdwarf-2 -g3 -MT libmsn_pecan_a-pecan_stream.o -MD -MP - 
MF .deps/libmsn_pecan_a-pecan_stream.Tpo -c -o libmsn_pecan_a- 
pecan_stream.o `test -f 'io/pecan_stream.c' || echo '/Users/evands/ 
pidgin-for-adium/libpurple/protocols/msn_pecan/'`io/pecan_stream.c
/Users/evands/pidgin-for-adium/libpurple/protocols/msn_pecan/ab/ 
pecan_contactlist.c: In function ‘get_store_name’:
/Users/evands/pidgin-for-adium/libpurple/protocols/msn_pecan/ab/ 
pecan_contactlist.c:167: error: dereferencing pointer to incomplete type
----

Thoughts?

The full build log, which includes some other warnings you might also  
want to look at, is at http://paste.lisp.org/display/62298

Cheers,
Evan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080615/dd576d65/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.am
Type: application/octet-stream
Size: 1236 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080615/dd576d65/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080615/dd576d65/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libpurple_static_for_msn_pecan.diff
Type: application/octet-stream
Size: 2139 bytes
Desc: not available
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080615/dd576d65/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20080615/dd576d65/attachment-0005.html>


More information about the devel mailing list