=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/biology/fastDNAml", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for fastDNAml-1.2.2 --- fastDNAml.o --- cc -O -c fastDNAml.c In file included from fastDNAml.c:207: fastDNAml.h:217:7: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 217 | void exit(); | ^~~~ fastDNAml.h:1:1: note: 'exit' is declared in header '' +++ |+#include 1 | /* fastDNAml.h */ fastDNAml.h:222:10: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 222 | char *malloc(); | ^~~~~~ fastDNAml.h:222:10: note: 'malloc' is declared in header '' fastDNAml.c: In function 'setupTopol': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:313:28: note: in expansion of macro 'Malloc' 313 | if (! (tpl = (topol *) Malloc(sizeof(topol))) || | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:314:35: note: in expansion of macro 'Malloc' 314 | ! (tpl->links = (connptr) Malloc((2*maxtips-3) * sizeof(connect))) || | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:316:30: note: in expansion of macro 'Malloc' 316 | = (double *) Malloc(nsites * sizeof(double))))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c: In function 'freeTopol': fastDNAml.h:228:28: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:342:5: note: in expansion of macro 'Free' 342 | Free(tpl->links); | ^~~~ fastDNAml.c:208:1: note: include '' or provide a declaration of 'free' 207 | #include "fastDNAml.h" /* Requires version 1.2 */ +++ |+#include 208 | fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:342:5: note: in expansion of macro 'Free' 342 | Free(tpl->links); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:342:5: note: in expansion of macro 'Free' 342 | Free(tpl->links); | ^~~~ fastDNAml.c: In function 'restoreTree': fastDNAml.c:522:7: error: too many arguments to function 'hookup'; expected 0, have 3 522 | hookup(r->p, r->q, r->z); | ^~~~~~ ~~~~ fastDNAml.c:501:11: note: declared here 501 | void hookup(); | ^~~~~~ fastDNAml.c:542:13: error: too many arguments to function 'initrav'; expected 0, have 2 542 | return (initrav(tr, tr->start) && initrav(tr, tr->start->back)); | ^~~~~~~ ~~ fastDNAml.c:502:14: note: declared here 502 | boolean initrav(); | ^~~~~~~ fastDNAml.c:542:39: error: too many arguments to function 'initrav'; expected 0, have 2 542 | return (initrav(tr, tr->start) && initrav(tr, tr->start->back)); | ^~~~~~~ ~~ fastDNAml.c:502:14: note: declared here 502 | boolean initrav(); | ^~~~~~~ fastDNAml.c: In function 'initBestTree': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:560:32: note: in expansion of macro 'Malloc' 560 | bt->byScore = (topol **) Malloc((newkeep+1) * sizeof(topol *)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:561:32: note: in expansion of macro 'Malloc' 561 | bt->byTopol = (topol **) Malloc((newkeep+1) * sizeof(topol *)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c: In function 'findInList': fastDNAml.c:689:14: error: too many arguments to function 'cmpFunc'; expected 0, have 2 689 | cmp = (* cmpFunc)(item, list[mid-1]); | ~^~~~~~~~~~ ~~~~ fastDNAml.c:698:15: error: too many arguments to function 'cmpFunc'; expected 0, have 2 698 | cmp = (* cmpFunc)(item, list[lo-1]); | ~^~~~~~~~~~ ~~~~ fastDNAml.c: In function 'findTreeInList': fastDNAml.c:714:36: error: passing argument 4 of 'findInList' from incompatible pointer type [-Wincompatible-pointer-types] 714 | bt->nvalid, cmpTopol); | ^~~~~~~~ | | | int (*)(void *, void *) fastDNAml.c:678:58: note: expected 'int (*)(void)' but argument is of type 'int (*)(void *, void *)' 678 | int findInList (void *item, void *list[], int n, int (* cmpFunc)()) | ~~~~~~~^~~~~~~~~~ fastDNAml.c:648:6: note: 'cmpTopol' declared here 648 | int cmpTopol (void *tpl1, void *tpl2) | ^~~~~~~~ fastDNAml.c: In function 'saveBestTree': fastDNAml.c:746:36: error: passing argument 4 of 'findInList' from incompatible pointer type [-Wincompatible-pointer-types] 746 | oldValid, cmpTplScore); | ^~~~~~~~~~~ | | | int (*)(void *, void *) fastDNAml.c:678:58: note: expected 'int (*)(void)' but argument is of type 'int (*)(void *, void *)' 678 | int findInList (void *item, void *list[], int n, int (* cmpFunc)()) | ~~~~~~~^~~~~~~~~~ fastDNAml.c:662:6: note: 'cmpTplScore' declared here 662 | int cmpTplScore (void *tpl1, void *tpl2) | ^~~~~~~~~~~ fastDNAml.c: In function 'setOptLevel': fastDNAml.c:806:37: error: passing argument 4 of 'findInList' from incompatible pointer type [-Wincompatible-pointer-types] 806 | bt->nvalid, cmpTopol); | ^~~~~~~~ | | | int (*)(void *, void *) fastDNAml.c:678:58: note: expected 'int (*)(void)' but argument is of type 'int (*)(void *, void *)' 678 | int findInList (void *item, void *list[], int n, int (* cmpFunc)()) | ~~~~~~~^~~~~~~~~~ fastDNAml.c:648:6: note: 'cmpTopol' declared here 648 | int cmpTopol (void *tpl1, void *tpl2) | ^~~~~~~~ fastDNAml.c: In function 'getoptions': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1293:33: note: in expansion of macro 'Malloc' 1293 | rdta->wgt = (int *) Malloc((rdta->sites + 1) * sizeof(int)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1294:33: note: in expansion of macro 'Malloc' 1294 | rdta->wgt2 = (int *) Malloc((rdta->sites + 1) * sizeof(int)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1295:33: note: in expansion of macro 'Malloc' 1295 | rdta->sitecat = (int *) Malloc((rdta->sites + 1) * sizeof(int)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1296:33: note: in expansion of macro 'Malloc' 1296 | cdta->alias = (int *) Malloc((rdta->sites + 1) * sizeof(int)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1297:33: note: in expansion of macro 'Malloc' 1297 | cdta->aliaswgt = (int *) Malloc((rdta->sites + 1) * sizeof(int)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1298:33: note: in expansion of macro 'Malloc' 1298 | cdta->patcat = (int *) Malloc((rdta->sites + 1) * sizeof(int)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1299:33: note: in expansion of macro 'Malloc' 1299 | cdta->patrat = (double *) Malloc((rdta->sites + 1) * sizeof(double)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1300:33: note: in expansion of macro 'Malloc' 1300 | cdta->wr = (double *) Malloc((rdta->sites + 1) * sizeof(double)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1301:33: note: in expansion of macro 'Malloc' 1301 | cdta->wr2 = (double *) Malloc((rdta->sites + 1) * sizeof(double)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c: In function 'getyspace': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1443:33: note: in expansion of macro 'Malloc' 1443 | if (! (rdta->y = (yType **) Malloc((rdta->numsp + 1) * sizeof(yType *)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1449:27: note: in expansion of macro 'Malloc' 1449 | if (! (y0 = (yType *) Malloc((rdta->numsp + 1) * size * sizeof(yType)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c: In function 'setupTree': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1471:26: note: in expansion of macro 'Malloc' 1471 | if (!(p0 = (nodeptr) Malloc((tips + 3*inter) * sizeof(node)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1476:35: note: in expansion of macro 'Malloc' 1476 | if (!(tr->nodep = (nodeptr *) Malloc((2*tr->mxtips) * sizeof(nodeptr)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:1519:28: note: in expansion of macro 'Malloc' 1519 | tr->log_f = (double *) Malloc(nsites * sizeof(double)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c: In function 'freeTreeNode': fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:1533:23: note: in expansion of macro 'Free' 1533 | if (p->x->lv) Free(p->x->lv); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:1533:23: note: in expansion of macro 'Free' 1533 | if (p->x->lv) Free(p->x->lv); | ^~~~ fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:1534:9: note: in expansion of macro 'Free' 1534 | Free(p->x); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:1534:9: note: in expansion of macro 'Free' 1534 | Free(p->x); | ^~~~ fastDNAml.c: In function 'freeTree': fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:1560:5: note: in expansion of macro 'Free' 1560 | Free(tr->nodep[1]); /* Free the actual nodes */ | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:1560:5: note: in expansion of macro 'Free' 1560 | Free(tr->nodep[1]); /* Free the actual nodes */ | ^~~~ fastDNAml.c: In function 'makeboot': fastDNAml.c:1779:37: error: too many arguments to function 'randum'; expected 0, have 1 1779 | cdta->aliaswgt[(int) (nonzero*randum(& adef->boot)) + 1]++; | ^~~~~~ ~~~~~~~~~~~~ fastDNAml.c:1772:13: note: declared here 1772 | double randum(); | ^~~~~~ fastDNAml.c: In function 'setupxarray': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:2019:20: note: in expansion of macro 'Malloc' 2019 | x = (xarray *) Malloc(sizeof(xarray)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:2021:31: note: in expansion of macro 'Malloc' 2021 | data = (likelivector *) Malloc(npat * sizeof(likelivector)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:2028:9: note: in expansion of macro 'Free' 2028 | Free(x); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:2028:9: note: in expansion of macro 'Free' 2028 | Free(x); | ^~~~ fastDNAml.c: In function 'getxnode': fastDNAml.c:2166:9: error: too many arguments to function 'exit'; expected 0, have 1 2166 | exit(1); | ^~~~ ~ fastDNAml.h:217:7: note: declared here 217 | void exit(); | ^~~~ fastDNAml.c: In function 'makenewz': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:2500:31: note: in expansion of macro 'Malloc' 2500 | if ((abi = (double *) Malloc(scratch_size)) && | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:2501:31: note: in expansion of macro 'Malloc' 2501 | (bci = (double *) Malloc(scratch_size)) && | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:2502:31: note: in expansion of macro 'Malloc' 2502 | (sumci = (double *) Malloc(scratch_size))) ; | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:2604:5: note: in expansion of macro 'Free' 2604 | Free(abi); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:2604:5: note: in expansion of macro 'Free' 2604 | Free(abi); | ^~~~ fastDNAml.c: At top level: fastDNAml.c:2693:6: error: conflicting types for 'hookup'; have 'void(struct noderec *, struct noderec *, double)' 2693 | void hookup (nodeptr p, nodeptr q, double z) | ^~~~~~ fastDNAml.c:501:11: note: previous declaration of 'hookup' with type 'void(void)' 501 | void hookup(); | ^~~~~~ fastDNAml.c:2811:9: error: conflicting types for 'initrav'; have 'boolean(tree *, struct noderec *)' {aka 'int(tree *, struct noderec *)'} 2811 | boolean initrav (tree *tr, nodeptr p) | ^~~~~~~ fastDNAml.c:502:14: note: previous declaration of 'initrav' with type 'boolean(void)' {aka 'int(void)'} 502 | boolean initrav(); | ^~~~~~~ fastDNAml.c: In function 'readKeyValue': fastDNAml.c:2886:15: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 2886 | string += strlen(key); | ^~~~~~ fastDNAml.c:208:1: note: include '' or provide a declaration of 'strlen' 207 | #include "fastDNAml.h" /* Requires version 1.2 */ +++ |+#include 208 | fastDNAml.c:2886:15: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 2886 | string += strlen(key); | ^~~~~~ fastDNAml.c:2886:15: note: include '' or provide a declaration of 'strlen' fastDNAml.c: In function 'fopen_pid': fastDNAml.c:3231:47: error: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 3231 | (void) sprintf(name_pid, "%s.%d", filenm, getpid()); | ^~~~~~ fastDNAml.c: In function 'writeCheckpoint': fastDNAml.c:3255:7: error: too many arguments to function 'treeOut'; expected 0, have 3 3255 | treeOut(checkpointf, tr, treeNewick); | ^~~~~~~ ~~~~~~~~~~~ fastDNAml.c:3251:12: note: declared here 3251 | void treeOut(); | ^~~~~~~ fastDNAml.c: At top level: fastDNAml.c:3667:6: error: conflicting types for 'treeOut'; have 'void(FILE *, tree *, int)' 3667 | void treeOut (FILE *treefile, tree *tr, int form) | ^~~~~~~ fastDNAml.c:3251:12: note: previous declaration of 'treeOut' with type 'void(void)' 3251 | void treeOut(); | ^~~~~~~ fastDNAml.c: In function 'treeOut': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:3673:24: note: in expansion of macro 'Malloc' 3673 | treestr = (char *) Malloc((tr->ntips * (nmlngth+32)) + 256); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c:3676:7: error: too many arguments to function 'exit'; expected 0, have 1 3676 | exit(1); | ^~~~ ~ fastDNAml.h:217:7: note: declared here 217 | void exit(); | ^~~~ fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:3683:5: note: in expansion of macro 'Free' 3683 | Free(treestr); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:3683:5: note: in expansion of macro 'Free' 3683 | Free(treestr); | ^~~~ fastDNAml.c: In function 'cmpBestTrees': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4493:32: note: in expansion of macro 'Malloc' 4493 | if (! (log_f0 = (double *) Malloc(sizeof(double) * tr->cdta->endsite))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:4535:5: note: in expansion of macro 'Free' 4535 | Free(log_f0); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:4535:5: note: in expansion of macro 'Free' 4535 | Free(log_f0); | ^~~~ fastDNAml.c: At top level: fastDNAml.c:4611:8: error: conflicting types for 'randum'; have 'double(long int *)' 4611 | double randum (long *seed) | ^~~~~~ fastDNAml.c:1772:13: note: previous declaration of 'randum' with type 'double(void)' 1772 | double randum(); | ^~~~~~ fastDNAml.c: In function 'makeDenovoTree': fastDNAml.c:4645:12: error: conflicting types for 'randum'; have 'double(void)' 4645 | double randum(); | ^~~~~~ fastDNAml.c:4611:8: note: previous definition of 'randum' with type 'double(long int *)' 4611 | double randum (long *seed) | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4648:26: note: in expansion of macro 'Malloc' 4648 | enterorder = (int *) Malloc(sizeof(int) * (tr->mxtips + 1)); | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.c:4683:11: error: too many arguments to function 'randum'; expected 0, have 1 4683 | j = randum(&(adef->jumble))*(tr->mxtips - tr->ntips) + tr->ntips + 1; | ^~~~~~ ~~~~~~~~~~~~~~~ fastDNAml.c:4645:12: note: declared here 4645 | double randum(); | ^~~~~~ fastDNAml.h:228:28: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:4765:5: note: in expansion of macro 'Free' 4765 | Free(enterorder); | ^~~~ fastDNAml.h:228:28: note: include '' or provide a declaration of 'free' 228 | #define Free(x) (void) free((char *) (x)) /* BSD */ | ^~~~ fastDNAml.c:4765:5: note: in expansion of macro 'Free' 4765 | Free(enterorder); | ^~~~ fastDNAml.c: At top level: fastDNAml.c:4775:3: error: return type defaults to 'int' [-Wimplicit-int] 4775 | main () | ^~~~ fastDNAml.c: In function 'main': fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4863:31: note: in expansion of macro 'Malloc' 4863 | if (! (adef = (analdef *) Malloc(sizeof(analdef)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4868:31: note: in expansion of macro 'Malloc' 4868 | if (! (rdta = (rawdata *) Malloc(sizeof(rawdata)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4873:36: note: in expansion of macro 'Malloc' 4873 | if (! (cdta = (cruncheddata *) Malloc(sizeof(cruncheddata)))) { | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4878:28: note: in expansion of macro 'Malloc' 4878 | if ((tr = (tree *) Malloc(sizeof(tree))) && | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ fastDNAml.h:225:21: error: too many arguments to function 'malloc'; expected 0, have 1 225 | #define Malloc(x) malloc((unsigned) (x)) /* BSD */ | ^~~~~~ ~~~~~~~~~~~~~~ fastDNAml.c:4879:28: note: in expansion of macro 'Malloc' 4879 | (bt = (bestlist *) Malloc(sizeof(bestlist)))) ; | ^~~~~~ fastDNAml.h:222:10: note: declared here 222 | char *malloc(); | ^~~~~~ *** [fastDNAml.o] Error code 1 bmake: stopped making "all" in /tmp/work/biology/fastDNAml/work/fastDNAml_1.2.2/source bmake: 1 error bmake: stopped making "all" in /tmp/work/biology/fastDNAml/work/fastDNAml_1.2.2/source *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/biology/fastDNAml *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/biology/fastDNAml