Make.mingw for nullclient?

Joanna Chopard (jchopard) jchopard at
Mon Sep 3 11:18:27 EDT 2007

Hi everyone,

I've tried to create the Make.mingw for nullclient myself, but I'm
battling it!
I must be doing something stupid, as it's been a while since I've
written a makefile myself.

Basically, I think it has problem linking, even though I specify the
LIB_PATHS.  I've tried to include and give lib_paths to everything
possible!!!  And it's driving me mad.
I get undefined errors like the following:

gcc.exe -o nullclient.exe -I../../libpurple -I../../libpurple/win32
-I../.. -I..
-I../../../win32-dev/gtk_2_0/include/glib-2.0 -
I../../../win32-dev/gtk_2_0/lib/glib-2.0/include -I/usr/include
in32/IdleTracker -I../../pidgin -I../../pidgin/win32
0/include/gtk-2.0 -I../../../win32-dev/gtk_2_0/include/pango-1.0
2-dev/gtk_2_0/include/atk-1.0 -I../../../win32-dev/gtk_2_0/include/cairo
-I../../../win32-dev/gtkspell-2.0.6 -I
-L../../libpurple -L../../pidgin -L../../pidgin/win32/IdleTracker
32-dev/aspell-dev-0-50-3-3/lib -L -L  -lintl -lglib-2.0 -lgthread-2.0
2.0 -lgmodule-2.0 -lws2_32 -lpurple -lz -lidletrack -lgtk-win32-2.0
-latk-1.0 -l
pango-1.0 -lgdk-win32-2.0 -lgdk_pixbuf-2.0 -lgdi32 -lwinmm nullclient.o
nullclient.o:nullclient.c:(.text+0x3b): undefined reference to
nullclient.o:nullclient.c:(.text+0x7c): undefined reference to
nullclient.o:nullclient.c:(.text+0xa6): undefined reference to
nullclient.o:nullclient.c:(.text+0xd0): undefined reference to
nullclient.o:nullclient.c:(.text+0xdb): undefined reference to
nullclient.o:nullclient.c:(.text+0x12d): undefined reference to
nullclient.o:nullclient.c:(.text+0x13a): undefined reference to
nullclient.o:nullclient.c:(.text+0x17e): undefined reference to
nullclient.o:nullclient.c:(.text+0x19d): undefined reference to
nullclient.o:nullclient.c:(.text+0x1f4): undefined reference to
nullclient.o:nullclient.c:(.text+0x206): undefined reference to
nullclient.o:nullclient.c:(.text+0x212): undefined reference to
nullclient.o:nullclient.c:(.text+0x21e): undefined reference to

I've attached a copy of Makefile.mingw...
If you could take a quick look, I would really appreciate it!!!


-----Original Message-----
From: devel-bounces at [mailto:devel-bounces at] On Behalf
Of Joanna Chopard (jchopard)
Sent: Monday, September 03, 2007 2:09 PM
To: Etan Reisner
Cc: devel at
Subject: RE: Make.mingw for nullclient?

Thanks Etan, for the feedback. 

Does anyone have the Makefile.mingw for nullclient example that they'd
like to share?
I'd really appreciate it if someone could...


-----Original Message-----
From: Etan Reisner [mailto:pidgin at]
Sent: Saturday, September 01, 2007 7:38 PM
To: Joanna Chopard (jchopard)
Cc: devel at
Subject: Re: Make.mingw for nullclient?

On Sat, Sep 01, 2007 at 11:48:23AM +0200, Joanna Chopard (jchopard)
> Hello,
> I've just managed to build pidgin and now want to understand
> I looked under libpurple/example which has the nullclient.c, but 
> didn't see Make.mingw for it.
> I'm still not clear what all the different makefile types are for:
>,, Makefile.mingw, and why the latter is 
> missing in the example folder...

The are what we write to control the build process, the are generated (from the by the
script at distribution time, the Makefile.mingw:s are hand-written files
for use when building pidgin on Windows.

On non-Windows systems the configure script would generate the final
Makefile:s from the when run.

> Do I need to run the configure script at the top level to have it 
> generated?

When building pidgin for Windows you don't use the configure script.

> I'd appreciate if you could just take a few seconds and clue me in so 
> I can get started:)

You will need to write an appropriate Makefile.mingw in order to build
the nullclient (which may or may not work on Windows I'm not sure) or
hope that the right pidgin people write one for you. =)

> Thanks,
> Joanna


Devel mailing list
Devel at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.mingw
Type: application/octet-stream
Size: 1553 bytes
Desc: Makefile.mingw
URL: <>

More information about the Devel mailing list