TIP: Click on subject to list as thread! ANSI
echo: muffin
to: Wes Garland
from: Vince Coen
date: 2003-06-05 01:37:04
subject: MAximus on Linux

Hello Wes!

04 Jun 03 11:59, you wrote to me:

 WG> If you can give some details about the error messages, however, I can
 WG> try and help you get it built.

Here's the content of a second run of make squish in the error log


=== Cut ===
In file included from track.cc:30:
track.h:45: non-local function `int TRACKER::AddMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:46: non-local function `int TRACKER::UpdateMsg(TRK_MSG_NDX*, 
TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:47: non-local function `int TRACKER::DeleteMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:48: non-local function `static char* 
TRACKER::GetStatus(TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:49: non-local function `static char* 
TRACKER::GetPriority(TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:52: non-local function `int TRACKER::LookupMsg(char*, char*, char*, 
PALIST*, TRK_MSG_NDX*, unsigned int = )' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:295: non-local function `int TRACKER::AddMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:337: non-local function `int TRACKER::UpdateMsg(TRK_MSG_NDX*, 
TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:365: non-local function `int TRACKER::DeleteMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:392: non-local function `int TRACKER::LookupMsg(char*, char*, char*, 
PALIST*, TRK_MSG_NDX*, unsigned int)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:418: non-local function `char* TRACKER::GetPriority(TRK_MSG_NDX*)' 
uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:434: non-local function `char* TRACKER::GetStatus(TRK_MSG_NDX*)' 
uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
make[1]: *** [track.o] Error 1
/usr/bin/ld: cannot find -lmax
collect2: ld returned 1 exit status
make[1]: *** [squish] Error 1
=== Cut ===

Compiling for max is similar:


=== Cut ===
In file included from track.cc:30:
track.h:45: non-local function `int TRACKER::AddMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:46: non-local function `int TRACKER::UpdateMsg(TRK_MSG_NDX*, 
TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:47: non-local function `int TRACKER::DeleteMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:48: non-local function `static char* 
TRACKER::GetStatus(TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:49: non-local function `static char* 
TRACKER::GetPriority(TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.h:52: non-local function `int TRACKER::LookupMsg(char*, char*, char*, 
PALIST*, TRK_MSG_NDX*, unsigned int = )' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:295: non-local function `int TRACKER::AddMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:337: non-local function `int TRACKER::UpdateMsg(TRK_MSG_NDX*, 
TRK_MSG_NDX*)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:365: non-local function `int TRACKER::DeleteMsg(TRK_MSG_NDX*)' uses 
anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:392: non-local function `int TRACKER::LookupMsg(char*, char*, char*, 
PALIST*, TRK_MSG_NDX*, unsigned int)' uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:418: non-local function `char* TRACKER::GetPriority(TRK_MSG_NDX*)' 
uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
track.cc:434: non-local function `char* TRACKER::GetStatus(TRK_MSG_NDX*)' 
uses anonymous type
trackcom.h:107: `typedef struct  TRK_MSG_NDX' does not refer to 
the unqualified type, so it is not used for linkage
make[1]: *** [track.o] Error 1
/usr/bin/ld: cannot find -lmax
collect2: ld returned 1 exit status
make[1]: *** [squish] Error 1
mex_tab.y:635: warning: previous rule lacks an ending `;'
mex_tab.y contains 1 useless nonterminal and 2 useless rules
mex_tab.y contains 1 shift/reduce conflict.
vm_run.c:20: warning: ignoring #pragma off
vm_run.c:22: warning: ignoring #pragma on
In file included from vm_run.c:33:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_run.c:1:1: warning: this is the location of the previous definition
vm_run.c: In function `fetch':
vm_run.c:316: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_run.c:333: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_run.c:338: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_run.c: In function `store':
vm_run.c:361: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_run.c: In function `proc_instruction':
vm_run.c:605: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_run.c:535: warning: enumeration value `FormArray' not handled in switch
vm_run.c:535: warning: enumeration value `FormStruct' not handled in switch
vm_run.c:535: warning: enumeration value `FormAddr' not handled in switch
vm_run.c:535: warning: enumeration value `FormVoid' not handled in switch
vm_run.c:535: warning: enumeration value `FormEllipsis' not handled in switch
vm_run.c:587: warning: enumeration value `FormArray' not handled in switch
vm_run.c:587: warning: enumeration value `FormStruct' not handled in switch
vm_run.c:587: warning: enumeration value `FormAddr' not handled in switch
vm_run.c:587: warning: enumeration value `FormVoid' not handled in switch
vm_run.c:587: warning: enumeration value `FormEllipsis' not handled in switch
/usr/include/sys/stat.h: At top level:
vm_run.c:21: warning: `rcs_id' defined but not used
vm_heap.c:20: warning: ignoring #pragma off
vm_heap.c:22: warning: ignoring #pragma on
In file included from vm_heap.c:30:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_heap.c:1:1: warning: this is the location of the previous definition
vm_heap.c: In function `hpfree':
vm_heap.c:187: warning: long unsigned int format, VMADDR arg (arg 2)
vm_heap.c:187: warning: unsigned int format, long int arg (arg 3)
vm_heap.c: In function `hpdbug':
vm_heap.c:236: warning: unsigned int format, long int arg (arg 2)
/usr/include/sys/stat.h: At top level:
vm_heap.c:21: warning: `rcs_id' defined but not used
vm_symt.c:20: warning: ignoring #pragma off
vm_symt.c:22: warning: ignoring #pragma on
In file included from vm_symt.c:29:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_symt.c:1:1: warning: this is the location of the previous definition
vm_symt.c: In function `MexEnterSymtab':
vm_symt.c:67: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_symt.c:75: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_symt.c: In function `MexStoreString':
vm_symt.c:148: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_symt.c: In function `MexStoreHeapByteString':
vm_symt.c:182: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_symt.c: In function `MexStoreStringAt':
vm_symt.c:216: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_symt.c: In function `MexStoreByteStringAt':
vm_symt.c:249: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_symt.c:21: warning: `rcs_id' defined but not used
vm_read.c:20: warning: ignoring #pragma off
vm_read.c:22: warning: ignoring #pragma on
In file included from vm_read.c:29:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_read.c:1:1: warning: this is the location of the previous definition
vm_read.c:33: warning: static declaration for `NoMem' follows non-static
vm_read.c: In function `VmReadGlobDataRefs':
vm_read.c:169: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_read.c:21: warning: `rcs_id' defined but not used
vm_opcvt.c:20: warning: ignoring #pragma off
vm_opcvt.c:22: warning: ignoring #pragma on
In file included from vm_opcvt.c:26:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_opcvt.c:1:1: warning: this is the location of the previous definition
vm_opcvt.c:21: warning: `rcs_id' defined but not used
vm_opflo.c:20: warning: ignoring #pragma off
vm_opflo.c:22: warning: ignoring #pragma on
In file included from vm_opflo.c:26:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_opflo.c:1:1: warning: this is the location of the previous definition
vm_opflo.c: In function `op_jmp':
vm_opflo.c:58: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c: In function `op_logical':
vm_opflo.c:90: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c:105: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c:123: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c:138: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c:157: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c:172: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opflo.c:178: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_opflo.c:21: warning: `rcs_id' defined but not used
vm_opfun.c:20: warning: ignoring #pragma off
vm_opfun.c:22: warning: ignoring #pragma on
In file included from vm_opfun.c:27:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_opfun.c:1:1: warning: this is the location of the previous definition
vm_opfun.c: In function `op_arg_val':
vm_opfun.c:138: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opfun.c:150: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_opfun.c:21: warning: `rcs_id' defined but not used
vm_opmth.c:20: warning: ignoring #pragma off
vm_opmth.c:22: warning: ignoring #pragma on
In file included from vm_opmth.c:26:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_opmth.c:1:1: warning: this is the location of the previous definition
vm_opmth.c: In function `op_assign':
vm_opmth.c:39: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_add':
vm_opmth.c:91: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_subtract':
vm_opmth.c:146: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_multiply':
vm_opmth.c:174: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_shl':
vm_opmth.c:204: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_shr':
vm_opmth.c:249: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_band':
vm_opmth.c:280: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_bor':
vm_opmth.c:310: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_divide':
vm_opmth.c:329: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c:341: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c:353: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c:364: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c: In function `op_mod':
vm_opmth.c:383: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c:395: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c:407: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opmth.c:418: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_opmth.c:21: warning: `rcs_id' defined but not used
vm_opstk.c:20: warning: ignoring #pragma off
vm_opstk.c:22: warning: ignoring #pragma on
In file included from vm_opstk.c:26:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_opstk.c:1:1: warning: this is the location of the previous definition
vm_opstk.c: In function `op_push':
vm_opstk.c:37: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opstk.c: In function `op_pop':
vm_opstk.c:59: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_opstk.c:21: warning: `rcs_id' defined but not used
vm_opstr.c:20: warning: ignoring #pragma off
vm_opstr.c:22: warning: ignoring #pragma on
In file included from vm_opstr.c:27:
vm.h:31:1: warning: "DEBUGVM" redefined
vm_opstr.c:1:1: warning: this is the location of the previous definition
vm_opstr.c: In function `op_scopy':
vm_opstr.c:58: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opstr.c: In function `op_scat':
vm_opstr.c:147: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opstr.c: In function `op_slval':
vm_opstr.c:220: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
vm_opstr.c: In function `op_slogical':
vm_opstr.c:336: warning: passing arg 1 of `vm_err' makes pointer from integer 
without a cast
/usr/include/sys/stat.h: At top level:
vm_opstr.c:21: warning: `rcs_id' defined but not used
mex_tab.y:177: warning: ignoring #pragma off
mex_tab.y:179: warning: ignoring #pragma on
mex_tab.y:178: warning: `rcs_id' defined but not used
mex_main.c:20: warning: ignoring #pragma off
mex_main.c:22: warning: ignoring #pragma on
mex_main.c:21: warning: `rcs_id' defined but not used
mex_lex.c:20: warning: ignoring #pragma off
mex_lex.c:22: warning: ignoring #pragma on
mex_lex.c:21: warning: `rcs_id' defined but not used
mex_symt.c:20: warning: ignoring #pragma off
mex_symt.c:22: warning: ignoring #pragma on
mex_symt.c:21: warning: `rcs_id' defined but not used
sem_decl.c:20: warning: ignoring #pragma off
sem_decl.c:22: warning: ignoring #pragma on
sem_decl.c:21: warning: `rcs_id' defined but not used
sem_func.c:20: warning: ignoring #pragma off
sem_func.c:22: warning: ignoring #pragma on
sem_func.c:21: warning: `rcs_id' defined but not used
sem_scop.c:20: warning: ignoring #pragma off
sem_scop.c:22: warning: ignoring #pragma on
sem_scop.c:21: warning: `rcs_id' defined but not used
sem_expr.c:20: warning: ignoring #pragma off
sem_expr.c:22: warning: ignoring #pragma on
sem_expr.c: In function `EvalUnary':
sem_expr.c:567: warning: enumeration value `StringKind' not handled in switch
/usr/include/sys/stat.h: At top level:
sem_expr.c:21: warning: `rcs_id' defined but not used
sem_flow.c:20: warning: ignoring #pragma off
sem_flow.c:22: warning: ignoring #pragma on
sem_flow.c:21: warning: `rcs_id' defined but not used
sem_goto.c:20: warning: ignoring #pragma off
sem_goto.c:22: warning: ignoring #pragma on
sem_goto.c:21: warning: `rcs_id' defined but not used
sem_gen.c:20: warning: ignoring #pragma off
sem_gen.c:22: warning: ignoring #pragma on
sem_gen.c:21: warning: `rcs_id' defined but not used
sem_vm.c:20: warning: ignoring #pragma off
sem_vm.c:22: warning: ignoring #pragma on
In file included from sem_vm.c:29:
vm.h:31:1: warning: "DEBUGVM" redefined
sem_vm.c:1:1: warning: this is the location of the previous definition
sem_vm.c:21: warning: `rcs_id' defined but not used
mex_misc.c:20: warning: ignoring #pragma off
mex_misc.c:22: warning: ignoring #pragma on
mex_misc.c: In function `IsIntegral':
mex_misc.c:108: warning: enumeration value `FormString' not handled in switch
mex_misc.c:108: warning: enumeration value `FormArray' not handled in switch
mex_misc.c:108: warning: enumeration value `FormStruct' not handled in switch
mex_misc.c:108: warning: enumeration value `FormAddr' not handled in switch
mex_misc.c:108: warning: enumeration value `FormVoid' not handled in switch
mex_misc.c:108: warning: enumeration value `FormEllipsis' not handled in 
switch
/usr/include/sys/stat.h: At top level:
mex_misc.c:21: warning: `rcs_id' defined but not used
mex_err.c:20: warning: ignoring #pragma off
mex_err.c:22: warning: ignoring #pragma on
mex_err.c:21: warning: `rcs_id' defined but not used
/usr/bin/ld: cannot find -lmax
collect2: ld returned 1 exit status
make[1]: *** [mex] Error 1
make[1]: *** No rule to make target `all', needed by `top'.  Stop.
maid.c:20: warning: ignoring #pragma off
maid.c:22: warning: ignoring #pragma on
maid.c:21: warning: `rcs_id' defined but not used
/usr/bin/ld: cannot find -lmax
collect2: ld returned 1 exit status
make[1]: *** [maid] Error 1
make: *** [max] Error 2
=== Cut ===

Problem seems to be ld cannot find lib max (-lmax) ?


Vince

--- Linux/Mbse/GoldED+/LNX 1.1.5-20709
* Origin: Air Applewood, Linux Gateway for Essex (2:257/609)
SEEN-BY: 633/267 270
@PATH: 257/609 250/501 140/1 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.