Re: win32 build blues 1.0 && cvs
| From: | firepages.org | Date: | Sat, 10 Jan 2004 03:09:16 +0000 |
| Subject: | Re: win32 build blues 1.0 && cvs | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-4354@lists.php.net to get a copy of this message | ||
Cheers , I did try commenting out some stuff as per your rely and got a bit
further but not too far
,gonna try cvs from PHP_GTK_1 and hopefully that will be it (yes I believe
in santa as well :D)
Regards,
Simon.
"Dimitri Giardina" <dimitri@cdinformatica.it> wrote in message
news:CPEOJJPHHPANOFDEBPLFCEDCCMAA.dimitri@cdinformatica.it...
> >
> > Hi , trying to build from cvs on win32 I get asked for
> > zend_object_API.h and
> > zend_default_classes.h none of which appear to exist in my 4.3.4 build.
> >
> > ..so grabbed the 1.0 src @gtk.php.net and after adding ..
> > PHP_GTK_API extern PHP_GTK_EXPORT_CE(gdk_rectangle_ce);
> > to php_gtk+.h (a total guess but got me a bit closer) as that was
> > giving an
> > error ,
> >
> > but maybe ***sing in the wind just makes it worse ;) as I end up
with....
> >
> > Creating library Release_TS/php_gtk.lib and object
Release_TS/php_gtk.exp
> > gen_gtk.obj : error LNK2001: unresolved external symbol
> > _php_gdk_rectangle_get
> > gen_gtk.obj : error LNK2001: unresolved external symbol
_gdk_rectangle_ce
> > gen_gtk.obj : error LNK2001: unresolved external symbol
> > _php_gdk_rectangle_new
> > php_gtk+_types.obj : error LNK2001: unresolved external symbol
> > _php_gdk_rectangle_new
> > php_gtk+.obj : error LNK2001: unresolved external symbol
> > _php_gdk_register_classes
> > php_gtk+.obj : error LNK2001: unresolved external symbol
> > _php_gdk_register_constants
> > ../../win32/Release_TS/php_gtk.dll : fatal error LNK1120: 5 unresolved
> > externals
> >
> > and an empty gen_gdk.c if thats relevant?
> >
> > any pointers appreciated
> > Regards,
> > Simon.
> >
> i've got some similar errors under slackware-9.1 compiling with the php
from
> the distro cd.
>
> for errors like "*_ce" i think you can comment that line (overriding the
> "holy codelines").
> for errors like "register_classes",i found it replicated into all
generated
> code inside gen_* files inside the packages (like gtk+ gtkextras, etc.
etc.)
>
> commenting the register_classes functions clones in that files, and
> commenting the understandeable gtk_object_ce, i've reached to compile
> php-gtk-1.0 into slackware-9.1 without recompiling php from scratch. but i
> don't know if i can package it and send it to linuxpackages.net.
>
> Dimitri Giardina