On 11/27/13 2:50 AM, Li Zhu wrote: > Hi, > > I am a newbie of fink, and I met a trouble when I install xcrysden. > > Will someone can help me ? > > Here are the error messages: > >
<snip> I'm not sure why, but there aren't actually any error messages in what you posted. Here is the output which triggers the errors: ... gcc-fsf-4.8 -funroll-loops -fPIC -DTOGL_USE_FONTS -DHAVE_NO_GETLINE -MD -I/sw/include -DUSE_FONTS -I/sw/include -I/sw/include -I/sw/include -I/sw/include/mesa -I/usr/X11R6/include -c xcAppInit.c xcAppInit.c: In function 'Xcrys_Init': xcAppInit.c:488:5: warning: initialization from incompatible pointer type [enabled by default] { CRY_gl2psPrintToglCb, "cry_gl2psPrintTogl" }, ^ xcAppInit.c:488:5: warning: (near initialization for 'custom_callback[0].proc') [enabled by default] xcAppInit.c:489:5: warning: initialization from incompatible pointer type [enabled by default] { CRY_Dump2PpmCb, "cry_dump2ppm" }, ^ xcAppInit.c:489:5: warning: (near initialization for 'custom_callback[1].proc') [enabled by default] xcAppInit.c:490:5: warning: initialization from incompatible pointer type [enabled by default] { CRY_ToglZoomCb, "cry_toglzoom" }, ^ xcAppInit.c:490:5: warning: (near initialization for 'custom_callback[2].proc') [enabled by default] xcAppInit.c:491:5: warning: initialization from incompatible pointer type [enabled by default] { CRY_RealTimeMovieCb, "xc_realtimemovie" }, ^ xcAppInit.c:491:5: warning: (near initialization for 'custom_callback[3].proc') [enabled by default] xcAppInit.c:492:5: warning: initialization from incompatible pointer type [enabled by default] { XC_SetFontCb, "xc_setfont" }, ^ xcAppInit.c:492:5: warning: (near initialization for 'custom_callback[4].proc') [enabled by default] xcAppInit.c:493:5: warning: initialization from incompatible pointer type [enabled by default] { XC_SetAtomLabelCb, "xc_setatomlabel" }, ^ xcAppInit.c:493:5: warning: (near initialization for 'custom_callback[5].proc') [enabled by default] xcAppInit.c:494:5: warning: initialization from incompatible pointer type [enabled by default] { XC_ClearAtomLabelCb, "xc_clearatomlabel" }, ^ xcAppInit.c:494:5: warning: (near initialization for 'custom_callback[6].proc') [enabled by default] xcAppInit.c:495:5: warning: initialization from incompatible pointer type [enabled by default] { XC_QueryFontCb, "xc_queryfont" }, ^ xcAppInit.c:495:5: warning: (near initialization for 'custom_callback[7].proc') [enabled by default] xcAppInit.c:514:23: warning: assignment from incompatible pointer type [enabled by default] atm.sqn = atm.sqnat = atm.col = NULL; ^ xcAppInit.c:726:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_rotate", XC_RotateCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c:728:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_translate", XC_TranslateCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c:730:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_B1motion", XC_B1MotionCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c:732:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_ShiftB1motion", XC_ShiftB1MotionCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c:734:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_B2motion", XC_B2MotionCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c:736:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_Brelease", XC_ButtonReleaseCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c:738:3: warning: passing argument 2 of 'Togl_CreateCommand' from incompatible pointer type [enabled by default] Togl_CreateCommand( "xc_dump2eps", XC_Dump2EpsCb ); ^ In file included from xcAppInit.c:23:0: togl.h:136:18: note: expected 'int (*)(struct Togl *, int, const char **)' but argument is of type 'int (*)(struct Togl *, int, char **)' TOGL_EXTERN void Togl_CreateCommand(char *cmd_name, Togl_CmdProc *cmd_proc); ^ xcAppInit.c: In function 'XC_OpenStrCmd': xcAppInit.c:786:11: error: 'Tcl_Interp' has no member named 'result' interp->result = "Usage: xc_openstr <fileformat> <file> <toglName> ?DisplayMode?"; ^ In file included from /usr/include/stdio.h:490:0, from /sw/include/tcl.h:138, from togl.h:48, from xcAppInit.c:23: xcAppInit.c:798:19: error: 'Tcl_Interp' has no member named 'result' sprintf(interp->result,"unknown format \"%s\", must be one of \"xcr\", \"xyz\", \"pdb\"", argv[1]); ^ In file included from /usr/include/secure/_stdio.h:31:0, from /usr/include/stdio.h:490, from /sw/include/tcl.h:138, from togl.h:48, from xcAppInit.c:23: ... -- Alexander Hansen, Ph.D. Fink User Liaison My package updates: http://finkakh.wordpress.com/ ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net List archive: http://news.gmane.org/gmane.os.macosx.fink.user Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users