rit@killdeer.Stanford.EDU (Jean-Francois Rit) (07/26/90)
I have some problems installing Epoch 3.2b on a DECstation 3100 (with R4). Any help would be welcome, including an address where to send installation problem reports. Here is the problem: In the compilation of xutil.c, I get the following error message: cc -O -Demacs -DBUTTON -DCB -c xutil.c ccom: Error: xutil.c, line 168: slot undefined *( (int *) (ap->slot) ) = (cvalue); -------------------------------------------^ ccom: Error: xutil.c, line 168: member of structure or union required *( (int *) (ap->slot) ) = (cvalue); -------------------------------------------^ ccom: Error: xutil.c, line 173: member of structure or union required *( (unsigned char **) (ap->slot) ) [etc.] I must add that my compiler didn't like "VOID" declarations and I replaced them with "void". I doubt this caused the problem, but one never knows. JF
dana@dino.bellcore.com (Dana A. Chee) (07/26/90)
In article <1990Jul25.210438.20327@Neon.Stanford.EDU>, rit@killdeer.Stanford.EDU (Jean-Francois Rit) writes: |> I have some problems installing Epoch 3.2b on a DECstation 3100 (with R4). |> |> Any help would be welcome, including an address where to send |> installation problem reports. |> |> Here is the problem: |> |> In the compilation of xutil.c, I get the following error message: |> |> cc -O -Demacs -DBUTTON -DCB -c xutil.c |> ccom: Error: xutil.c, line 168: slot undefined |> *( (int *) (ap->slot) ) = (cvalue); |> -------------------------------------------^ |> ccom: Error: xutil.c, line 168: member of structure or union required |> *( (int *) (ap->slot) ) = (cvalue); |> -------------------------------------------^ |> ccom: Error: xutil.c, line 173: member of structure or union required |> *( (unsigned char **) (ap->slot) ) |> [etc.] |> |> I must add that my compiler didn't like "VOID" declarations and I |> replaced them with "void". I doubt this caused the problem, but one |> never knows. |> |> JF In xutil.c, just before the definition of Alist_Entry, add the lines: #ifdef mips #undef VOID #define VOID int #endif The 3100's doesn't like things the way they are. +*************************************************************************+ * Dana Chee (201) 829-4488 * * Bellcore * * Room 2Q-250 * * 445 South Street ARPA: dana@bellcore.com * * Morristown, NJ 07960-1910 UUCP: {gateways}!bellcore!dana * +*************************************************************************+