Hi all, Here is the error I am getting when I try to make the CDK module. I think part of the problem is that I installed two different versions of CDK. Does this make sense? [root@koha Cdk]# ls blib Cdk.c demos fulldemo Makefile.PL README BUGS Cdk.pm examples Makefile NOTES typemap Cdk Cdk.xs FILES Makefile.old pm_to_blib [root@koha Cdk]# perl Makefile.PL Writing Makefile for Cdk [root@koha Cdk]# make cc -c -I/usr/include/ncurses -I/usr/local/include/cdk -fno-strict-aliasing - I/us r/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\ "4.9 .6\" -DXS_VERSION=\"4.9.6\" -fpic -I/usr/local/lib/perl5/5.6.1/i686-linux/CO RE - DHAVE_USLEEP -DHAVE_NCURSES -DHAVE_COLOR -DCDK_PERL_EXT Cdk.c Cdk.xs: In function `sv2chtype': Cdk.xs:302: `na' undeclared (first use in this function) Cdk.xs:302: (Each undeclared identifier is reported only once Cdk.xs:302: for each function it appears in.) Cdk.xs: In function `sv2cdktype': Cdk.xs:611: `na' undeclared (first use in this function) Cdk.xs: In function `sv2dtype': Cdk.xs:649: `na' undeclared (first use in this function) Cdk.xs: In function `sv2int': Cdk.xs:700: `na' undeclared (first use in this function) Cdk.xs: In function `sv2CharPtr': Cdk.xs:739: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Label_New': Cdk.xs:961: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Label_SetMessage': Cdk.xs:989: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Dialog_New': Cdk.xs:1167: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Dialog_Bind': Cdk.xs:1243: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Scroll_New': Cdk.xs:1452: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Scroll_Bind': Cdk.xs:1547: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Scroll_SetItems': Cdk.xs:1613: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Scale_New': Cdk.xs:1775: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Scale_Bind': Cdk.xs:1850: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Histogram_New': Cdk.xs:2055: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Menu_New': Cdk.xs:2292: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Menu_Bind': Cdk.xs:2360: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Entry_New': Cdk.xs:2495: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Entry_Bind': Cdk.xs:2570: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Mentry_New': Cdk.xs:2824: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Mentry_Bind': Cdk.xs:2901: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Matrix_New': Cdk.xs:3153: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Matrix_Bind': Cdk.xs:3270: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Matrix_Set': Cdk.xs:3333: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Marquee_Bind': Cdk.xs:3635: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Selection_New': Cdk.xs:3720: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Selection_Bind': Cdk.xs:3800: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Viewer_New': Cdk.xs:4044: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Viewer_SetInfo': Cdk.xs:4091: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Viewer_Bind': Cdk.xs:4213: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Graph_New': Cdk.xs:4293: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Radio_New': Cdk.xs:4515: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Radio_Bind': Cdk.xs:4593: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Template_New': Cdk.xs:4815: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Template_Bind': Cdk.xs:4890: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Swindow_New': Cdk.xs:5119: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Swindow_Bind': Cdk.xs:5182: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Swindow_SetContents': Cdk.xs:5218: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Itemlist_New': Cdk.xs:5471: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Itemlist_Bind': Cdk.xs:5546: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Itemlist_SetValues': Cdk.xs:5582: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Fselect_New': Cdk.xs:5780: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Fselect_Bind': Cdk.xs:6001: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Slider_New': Cdk.xs:6110: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Slider_Bind': Cdk.xs:6288: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Alphalist_New': Cdk.xs:6397: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Alphalist_Activate': Cdk.xs:6427: `sv_undef' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Alphalist_SetContents': Cdk.xs:6476: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Alphalist_Bind': Cdk.xs:6599: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Calendar_New': Cdk.xs:6708: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Calendar_Bind': Cdk.xs:6836: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type Cdk.xs: In function `XS_Cdk__Buttonbox_New': Cdk.xs:6963: `na' undeclared (first use in this function) Cdk.xs: In function `XS_Cdk__Buttonbox_Bind': Cdk.xs:7039: warning: passing arg 4 of `bindCDKObject' from incompatible pointer type make: *** [Cdk.o] Error 1 [root@koha Cdk]#
On Thu, 2002-03-14 at 14:14, Joshua Ferraro wrote:
Hi all,
Here is the error I am getting when I try to make the CDK module. I think part of the problem is that I installed two different versions of CDK. Does this make sense?
Hi Joshua Im not too sure whats causing the problem. I know that getting the CDK modules up and running when I did it took a lot of monkeying around. Are you quite keen on running the cdk based circulation system? Because the web based one works quite a bit better. The main bonus is it doesnt segfault and core dump. Which the CDK libraries seem to do under heavy load. I started awhiles back rewriting the circulation section to be slang based rather than CDK. If there is still demand for a console based circulation module I can resurrect that project. Chris
[root@koha Cdk]# ls blib Cdk.c demos fulldemo Makefile.PL README BUGS Cdk.pm examples Makefile NOTES typemap Cdk Cdk.xs FILES Makefile.old pm_to_blib [root@koha Cdk]# perl Makefile.PL Writing Makefile for Cdk [root@koha Cdk]# make cc -c -I/usr/include/ncurses -I/usr/local/include/cdk -fno-strict-aliasing - I/us
<snipped lots of compile errors> -- Chris Cormack Programmer 025 500 789 Katipo Communications Ltd chris@katipo.co.nz www.katipo.co.nz
participants (2)
-
Chris Cormack -
Joshua Ferraro