Yes. You're missing a semicolon on line 15 of your program.
In other words, show us your code, and we can help a lot more.
You have a variable or expression which contains the number 1, and
you're trying to use that expression as if it were a pointer.
Here is the code -
#include <stdio.h>
#include "minto.h"
void
main ()
{
appl_mps();
minto ("CAPbdgt", "-x -o3 -h -c -i -k -g -f");
}
unsigned
appl_mps (id, vcnt, ccnt, nzcnt, vobj, vlb, vub, vtype, csense, crhs,
vfirst, vind, vcoef,
vstorsz, vstore, vname, cstorsz, cstore, cname)
int id; /* identification of active minto */
int *vcnt; /* number of variables */
int *ccnt; /* number of constraints */
int *nzcnt; /* number of nonzero’s */
double **vobj; /* objective coefficients of the variables */
double **vlb; /* lower bounds on the variables */
double **vub; /* upper bounds on the variables */
char **vtype; /* types of the variables, i.e., ’C’, ’B’, or
’I’ */
char **csense; /* senses of the constraints, i.e., ’L’, ’E’,
or ’G’ */
double **crhs; /* right hand sides of the constraints */
int **vfirst; /* starting positions of the columns of the
variables */
int **vind; /* indices of the nonzero coefficients */
double **vcoef; /* nonzero coefficients */
int *vstorsz; /* total number of characters in the names of
the variables */
char **vstore; /* names of the variables */
char ***vname; /* starting positions of the names of the
variables */
int *cstorsz; /* total number of characters in the names of
the constraints */
char **cstore; /* names of the constraints */
char ***cname; /* starting positions of the names of the
constraints */
{
int i, j;
double *_vobj;
double *_vlb;
double *_vub;
char *_vtype;
char *_csense;
double *_crhs;
int *_vfirst;
int *_vind;
double *_vcoef;
char *_vstore;
char **_vname;
char *_cstore;
char **_cname;
*vcnt = 10;
*ccnt = 10;
*nzcnt = 10;
_vobj = (double *) calloc (*vcnt, sizeof (double));
_vlb = (double *) calloc (*vcnt, sizeof (double));
_vub = (double *) calloc (*vcnt, sizeof (double));
_vtype = (char *) calloc (*vcnt, sizeof (char));
_csense = (char *) calloc (*ccnt, sizeof (char));
_crhs = (double *) calloc (*ccnt, sizeof (double));
_vfirst = (int *) calloc (*vcnt+1, sizeof (int));
_vind = (int *) calloc (*nzcnt, sizeof (int));
_vcoef = (double *) calloc (*nzcnt, sizeof (double));
for (_vfirst[0] = 0, j = 0; j < *vcnt; j++) {
_vobj[j] = 1.0;
_vlb[j] = 0.0;
_vub[j] = 1.0;
_vtype[j] = 'B';
_vfirst[j+1] = j+1;
_vind[j] = j;
_vcoef[j] = 1.0;
}
for (i = 0; i < *ccnt; i++) {
_csense
= 'L';
_crhs = 1.0;
}
*vstorsz = *vcnt;
*cstorsz = *ccnt;
_vstore = (char *) calloc (*vstorsz, sizeof (char));
_cstore = (char *) calloc (*cstorsz, sizeof (char));
_vname = (char **) calloc (*vcnt, sizeof (char *));
_cname = (char **) calloc (*ccnt, sizeof (char *));
for (j = 0; j < *vcnt; j++) {
_vstore[j] = '\0';
_vname[j] = &(_vstore[j]);
}
for (i = 0; i < *ccnt; i++) {
_cstore = '\0';
_cname = &(_cstore);
}
*vobj = _vobj;
*vlb = _vlb;
*vub = _vub;
*vtype = _vtype;
*csense = _csense;
*crhs = _crhs;
*vfirst = _vfirst;
*vind = _vind;
*vcoef = _vcoef;
*vstore = _vstore;
*vname = _vname;
*cstore = _cstore;
*cname = _cname;
return (NO);
}