Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


DBVM Question

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source -> DBVM
View previous topic :: View next topic  
Author Message
cody11102
Newbie cheater
Reputation: 1

Joined: 03 Sep 2017
Posts: 12

PostPosted: Fri Sep 08, 2017 5:20 pm    Post subject: DBVM Question Reply with quote

Hi, i have two Questions about DBVM.

1. Which Software do i need to compile "vmdisk.img"?
2. How do i use this Software to compile "vmdisk.img"?

Info:
Im using Windows 10 x64
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 341

Joined: 09 May 2003
Posts: 19986
Location: The netherlands

PostPosted: Fri Sep 08, 2017 5:54 pm    Post subject: Reply with quote

1: I use linux mint with gcc, yasm and nasm
2: execute 'make clean install' in the root folder of dbvm

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
cody11102
Newbie cheater
Reputation: 1

Joined: 03 Sep 2017
Posts: 12

PostPosted: Sat Sep 09, 2017 2:48 am    Post subject: Reply with quote

Hi Dark Byte

After Installing...

-Linux Mint (linuxmint-18.2-cinnamon-64bit)
-GCC (4:5.3.1-1ubuntu1)
-Yasm (1.3.0-2)
-Nasm (2.11.08-1)

...this is the Result:

Code:
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/imagemaker'
imagemaker cleaned
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/imagemaker'
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/parsevmloadermap'
parsevmloadermap cleaned
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/parsevmloadermap'
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/parsevmmmap'
parsevmmmap cleaned
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/parsevmmmap'
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/bootsector'
bootloader cleaned
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/bootsector'
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmloader'
vmloader cleaned
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmloader'
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm'
make[2]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/distorm64'
make[2]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/distorm64'
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm'
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/common'
common cleaned
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/common'
make -C vmm   all SERIALPORT=0
make[1]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm'
vmma.asm:65: warning: value does not fit in 32 bit field
vmma.asm:507: warning: value does not fit in 32 bit field
vmma.asm:1298: warning: value does not fit in 32 bit field
main.c: In function ‘vmm_entry’:
main.c:1358:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       PGDT_ENTRY tgdt=&testgdt[0x40];
                       ^
main.c:1393:33: warning: passing argument 1 of ‘getSegmentBaseEx’ from incompatible pointer type [-Wincompatible-pointer-types]
       testbase=getSegmentBaseEx(testgdt, 0, 0x40, 1);
                                 ^
In file included from main.c:16:0:
vmeventhandler.h:55:8: note: expected ‘PGDT_ENTRY {aka struct <anonymous> *}’ but argument is of type ‘unsigned char *’
 UINT64 getSegmentBaseEx(PGDT_ENTRY gdt, PGDT_ENTRY ldt, ULONG selector, int exp
        ^
main.c:1423:23: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       PGDT_ENTRY tgdt=&testgdt[0];
                       ^
main.c: In function ‘vmcalltest’:
main.c:1498:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
   currentcpuinfo->OnInterrupt.RIP=(volatile void *)&&InterruptFired; //set inte
                                  ^
main.c: In function ‘reboot’:
main.c:1528:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
   for (i=1; i<cpucount; i++) //disable all AP cpu's first (in vmm mode this wil
              ^
main.c: In function ‘menu2’:
main.c:1721:20: warning: passing argument 1 of ‘setDR0’ makes integer from pointer without a cast [-Wint-conversion]
             setDR0(getCR0);
                    ^
In file included from main.c:8:0:
main.h:38:15: note: expected ‘long long unsigned int’ but argument is of type ‘long long unsigned int (*)(void)’
 extern UINT64 setDR0(UINT64 newdr0);
               ^
main.c:1729:20: warning: passing argument 1 of ‘setDR0’ makes integer from pointer without a cast [-Wint-conversion]
             setDR0(&isAP);
                    ^
In file included from main.c:8:0:
main.h:38:15: note: expected ‘long long unsigned int’ but argument is of type ‘unsigned int *’
 extern UINT64 setDR0(UINT64 newdr0);
               ^
main.c:1773:19: warning: unused variable ‘err1’ [-Wunused-variable]
               int err1,err2,err3;
                   ^
main.c:1770:19: warning: unused variable ‘bits’ [-Wunused-variable]
               int bits;
                   ^
In file included from main.c:7:0:
main.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from neward.h:1:0,
                 from neward.c:1:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
vmmhelper.c: In function ‘isDebugFault’:
vmmhelper.c:84:10: warning: unused variable ‘rf’ [-Wunused-variable]
   RFLAGS rf;
          ^
vmmhelper.c: In function ‘StoreVirtualMachineState’:
vmmhelper.c:308:40: warning: unused parameter ‘currentcpuinfo’ [-Wunused-parameter]
 void StoreVirtualMachineState(pcpuinfo currentcpuinfo, VMRegisters *registers)
                                        ^
vmmhelper.c:308:69: warning: unused parameter ‘registers’ [-Wunused-parameter]
 void StoreVirtualMachineState(pcpuinfo currentcpuinfo, VMRegisters *registers)
                                                                     ^
vmmhelper.c: In function ‘sendvmstate’:
vmmhelper.c:389:27: warning: unused parameter ‘currentcpuinfo’ [-Wunused-parameter]
 void sendvmstate(pcpuinfo currentcpuinfo, VMRegisters *registers)
                           ^
vmmhelper.c:389:56: warning: unused parameter ‘registers’ [-Wunused-parameter]
 void sendvmstate(pcpuinfo currentcpuinfo, VMRegisters *registers)
                                                        ^
vmmhelper.c: In function ‘vmexit’:
vmmhelper.c:719:12: warning: implicit declaration of function ‘raiseInvalidOpcodeException’ [-Wimplicit-function-declaration]
     return raiseInvalidOpcodeException(currentcpuinfo);
            ^
vmmhelper.c:1460:51: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
       sendstringf("(physical=%6)\n\r", ripaddress);
                                                   ^
vmmhelper.c:1452:12: warning: unused variable ‘ripaddress’ [-Wunused-variable]
     UINT64 ripaddress=vmread(vm_guest_cs_base)+vmread(vm_guest_rip);
            ^
vmmhelper.c:731:10: warning: variable ‘initialcount’ set but not used [-Wunused-but-set-variable]
   UINT64 initialcount;
          ^
vmmhelper.c: In function ‘setupVMX_AMD’:
vmmhelper.c:1871:35: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   currentcpuinfo->vmcb->gdtr_limit, 0x50;
                                   ^
vmmhelper.c:1872:35: warning: right-hand operand of comma expression has no effect [-Wunused-value]
   currentcpuinfo->vmcb->idtr_limit, 8*256;
                                   ^
vmmhelper.c:2059:13: warning: variable ‘ldtlimit’ set but not used [-Wunused-but-set-variable]
       ULONG ldtlimit;
             ^
vmmhelper.c:1962:12: warning: unused variable ‘rflags’ [-Wunused-variable]
     RFLAGS rflags;
            ^
vmmhelper.c:1826:19: warning: variable ‘reg_traccessrights’ set but not used [-Wunused-but-set-variable]
   Segment_Attribs reg_traccessrights;
                   ^
vmmhelper.c: In function ‘setupVMX’:
vmmhelper.c:2465:26: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     sendstring("Fail1\n");
                          ^
vmmhelper.c:2470:28: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
       sendstring("Fail2\n");
                            ^
vmmhelper.c:2475:26: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     sendstring("Fail3\n");
                          ^
vmmhelper.c:2480:26: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     sendstring("Fail4\n");
                          ^
vmmhelper.c:2485:26: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     sendstring("Fail5\n");
                          ^
vmmhelper.c:2490:42: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     sendstring("CR3 load exiting fail\n");
                                          ^
vmmhelper.c:2495:43: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
     sendstring("CR3 store exiting fail\n");
                                           ^
vmmhelper.c:2552:94: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 "<<<<<<WARNING: This system does not support HOST_ADDRESS_SPACE_SIZE>>>>>>\n");
                                                                               ^
vmmhelper.c:2559:100: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 <WARNING: This system does not support acknowledge interrupt on exit>>>>>>\n");
                                                                               ^
vmmhelper.c:2564:92: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 g("<<<<<<WARNING: This system does not support saving debug controls>>>>>>\n");
                                                                               ^
vmmhelper.c:2760:13: warning: variable ‘ldtlimit’ set but not used [-Wunused-but-set-variable]
       ULONG ldtlimit;
             ^
vmmhelper.c:2887:86: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  sendstring("<<<<<<WARNING: This system does not support HLT_EXITING>>>>>>\n");
                                                                               ^
vmmhelper.c:2892:89: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 ndstring("<<<<<<WARNING: This system does not support INVLPG_EXITING>>>>>>\n");
                                                                               ^
vmmhelper.c:2903:90: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 dstring("<<<<<<WARNING: This system does not support USE_MSR_BITMAPS>>>>>>\n");
                                                                               ^
vmmhelper.c:2928:91: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
 string("<<<<<<WARNING: This system does not support IA32E_MODE_GUEST>>>>>>\n");
                                                                               ^
vmmhelper.c:2933:125: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
  does not support the RESTORE_DEBUG_CONTROLS vm_entry control option>>>>>>\n");
                                                                               ^
vmmhelper.c: In function ‘launchVMX’:
vmmhelper.c:3260:11: warning: unused variable ‘ctrl_exit’ [-Wunused-variable]
     DWORD ctrl_exit=vmread(vm_exit_controls);
           ^
vmmhelper.c:3257:11: warning: unused variable ‘ctrl_entry’ [-Wunused-variable]
     DWORD ctrl_entry=vmread(vm_entry_controls);
           ^
vmmhelper.c:3254:11: warning: unused variable ‘ctrl_cpu’ [-Wunused-variable]
     DWORD ctrl_cpu=vmread(vm_execution_controls_cpu);
           ^
vmmhelper.c:3251:11: warning: unused variable ‘ctrl_pin’ [-Wunused-variable]
     DWORD ctrl_pin=vmread(vm_execution_controls_pin);
           ^
vmmhelper.c:3249:11: warning: unused variable ‘VMX_MISC’ [-Wunused-variable]
     QWORD VMX_MISC=readMSR(IA32_VMX_MISC_CTLS_MSR);
           ^
vmmhelper.c:3248:11: warning: unused variable ‘VMX_ENTRY_CTLS’ [-Wunused-variable]
     QWORD VMX_ENTRY_CTLS=readMSR(IA32_VMX_ENTRY_CTLS_MSR);
           ^
vmmhelper.c:3247:11: warning: unused variable ‘VMX_EXIT_CTLS’ [-Wunused-variable]
     QWORD VMX_EXIT_CTLS=readMSR(IA32_VMX_EXIT_CTLS_MSR);
           ^
vmmhelper.c:3245:11: warning: unused variable ‘VMX_PROCBASED_CTLS’ [-Wunused-variable]
     QWORD VMX_PROCBASED_CTLS=readMSR(IA32_VMX_PROCBASED_CTLS_MSR);
           ^
vmmhelper.c:3244:11: warning: unused variable ‘VMX_PINBASED_CTLS’ [-Wunused-variable]
     QWORD VMX_PINBASED_CTLS=readMSR(IA32_VMX_PINBASED_CTLS_MSR);
           ^
vmmhelper.c:3243:11: warning: unused variable ‘VMX_BASIC’ [-Wunused-variable]
     QWORD VMX_BASIC=readMSR(IA32_VMX_BASIC_MSR);
           ^
vmmhelper.c: In function ‘ShowCurrentInstruction’:
vmmhelper.c:3696:18: warning: unused variable ‘i’ [-Wunused-variable]
     unsigned int i;
                  ^
vmmhelper.c:3737:41: warning: suggest braces around empty body in an ‘else’ statement [-Wempty-body]
   else sendstring("Unreadable memory\n");
                                         ^
vmmhelper.c: In function ‘displayPhysicalMemory’:
vmmhelper.c:3886:24: warning: variable ‘bt’ set but not used [-Wunused-but-set-variable]
         unsigned char *bt;
                        ^
In file included from vmmhelper.c:1:0:
vmmhelper.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from multicore.c:7:0:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
mm.c: In function ‘printMMregions’:
mm.c:348:18: warning: variable ‘b’ set but not used [-Wunused-but-set-variable]
     unsigned int b=NULL;
                  ^
mm.c: In function ‘SetPageToWriteThrough’:
mm.c:435:14: warning: unused variable ‘Offset2’ [-Wunused-variable]
       UINT64 Offset2=address & 0xfff;
              ^
mm.c:412:10: warning: unused variable ‘result’ [-Wunused-variable]
   UINT64 result=0xffffffffffffffffULL;
          ^
mm.c:411:10: warning: unused variable ‘Offset’ [-Wunused-variable]
   UINT64 Offset=address & 0x1fffff;
          ^
In file included from vmmhelper.h:4:0,
                 from mm.h:4,
                 from mm.c:8:
mm.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
vmpaging.c: In function ‘allocateVirtualTLB’:
vmpaging.c:78:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     for (i=0; i<cpucount; i++)
                ^
vmpaging.c: In function ‘mapVMmemory’:
vmpaging.c:445:14: warning: return makes pointer from integer without a cast [-Wint-conversion]
       return VirtualAddress+(address & 0xfff);
              ^
vmpaging.c: In function ‘emulatePaging’:
vmpaging.c:2275:10: warning: variable ‘fakeCR4’ set but not used [-Wunused-but-set-variable]
   regCR4 fakeCR4;
          ^
vmpaging.c:2274:10: warning: variable ‘fakeCR0’ set but not used [-Wunused-but-set-variable]
   regCR0 fakeCR0;
          ^
In file included from vmmhelper.h:4:0,
                 from vmpaging.h:4,
                 from vmpaging.c:1:
vmpaging.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
vmcall.c: In function ‘readMSRSafe’:
vmcall.c:20:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
   currentcpuinfo->OnInterrupt.RIP=(volatile void *)&&InterruptFired; //set inte
                                  ^
vmcall.c: In function ‘change_selectors’:
vmcall.c:200:10: warning: variable ‘ldtlimit’ set but not used [-Wunused-but-set-variable]
     WORD ldtlimit;
          ^
vmcall.c: In function ‘_handleVMCall’:
vmcall.c:1042:32: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
       PULTIMAPDEBUGINFO Output=&vmcall_instruction[3];
                                ^
vmcall.c:370:7: warning: unused variable ‘i’ [-Wunused-variable]
   int i;
       ^
In file included from main.h:4:0,
                 from vmcall.c:1:
vmcall.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from vmevent_invalidstate.h:4:0,
                 from vmevent_invalidstate.c:1:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
vmeventhandler.c: In function ‘emulateExceptionInterrupt’:
vmeventhandler.c:115:11: warning: variable ‘ldtlimit’ set but not used [-Wunused-but-set-variable]
     ULONG ldtlimit;
           ^
vmeventhandler.c:57:19: warning: variable ‘old_csattribs’ set but not used [-Wunused-but-set-variable]
   Segment_Attribs old_csattribs, new_csattribs; //amd
                   ^
vmeventhandler.c: In function ‘handle_cr3_callback’:
vmeventhandler.c:706:11: warning: variable ‘ldtlimit’ set but not used [-Wunused-but-set-variable]
     ULONG ldtlimit;
           ^
vmeventhandler.c: In function ‘getSegmentBaseEx’:
vmeventhandler.c:883:12: warning: unused variable ‘temp2’ [-Wunused-variable]
     UINT64 temp2;
            ^
vmeventhandler.c: In function ‘handleTaskswitch’:
vmeventhandler.c:1117:11: warning: variable ‘ldtlimit’ set but not used [-Wunused-but-set-variable]
     ULONG ldtlimit;
           ^
vmeventhandler.c: In function ‘handleIOAccess’:
vmeventhandler.c:1208:33: warning: unused parameter ‘vmregisters’ [-Wunused-parameter]
 int handleIOAccess(VMRegisters *vmregisters)
                                 ^
vmeventhandler.c: In function ‘handleInterruptRealMode’:
vmeventhandler.c:2602:35: warning: variable ‘intinfo’ set but not used [-Wunused-but-set-variable]
   VMExit_interruption_information intinfo;
                                   ^
vmeventhandler.c:2601:22: warning: variable ‘idtvectorerrorcode’ set but not used [-Wunused-but-set-variable]
   ULONG interrorcode,idtvectorerrorcode;
                      ^
vmeventhandler.c:2601:9: warning: variable ‘interrorcode’ set but not used [-Wunused-but-set-variable]
   ULONG interrorcode,idtvectorerrorcode;
         ^
vmeventhandler.c:2597:17: warning: variable ‘reg_csaccessrights’ set but not used [-Wunused-but-set-variable]
   Access_Rights reg_csaccessrights;
                 ^
vmeventhandler.c: In function ‘handleInterruptProtectedMode’:
vmeventhandler.c:3327:9: warning: unused variable ‘originalnosendchar’ [-Wunused-variable]
     int originalnosendchar=nosendchar[getAPICID()];
         ^
vmeventhandler.c:2838:22: warning: variable ‘idtvectorerrorcode’ set but not used [-Wunused-but-set-variable]
   ULONG interrorcode,idtvectorerrorcode;
                      ^
vmeventhandler.c:2838:9: warning: variable ‘interrorcode’ set but not used [-Wunused-but-set-variable]
   ULONG interrorcode,idtvectorerrorcode;
         ^
vmeventhandler.c:2835:10: warning: unused variable ‘fakeCR0’ [-Wunused-variable]
   UINT64 fakeCR0=vmread(vm_cr0_fakeread); //guestCR0
          ^
vmeventhandler.c: In function ‘handleInterrupt’:
vmeventhandler.c:3390:7: warning: unused variable ‘doublefault’ [-Wunused-variable]
   int doublefault=0;
       ^
vmeventhandler.c:3388:33: warning: variable ‘idtvectorinfo’ set but not used [-Wunused-but-set-variable]
   VMExit_idt_vector_information idtvectorinfo;
                                 ^
vmeventhandler.c:3387:35: warning: variable ‘intinfo’ set but not used [-Wunused-but-set-variable]
   VMExit_interruption_information intinfo;
                                   ^
vmeventhandler.c:3386:22: warning: variable ‘idtvectorerrorcode’ set but not used [-Wunused-but-set-variable]
   ULONG interrorcode,idtvectorerrorcode;
                      ^
vmeventhandler.c:3386:9: warning: variable ‘interrorcode’ set but not used [-Wunused-but-set-variable]
   ULONG interrorcode,idtvectorerrorcode;
         ^
vmeventhandler.c:3381:7: warning: unused variable ‘origsc’ [-Wunused-variable]
   int origsc;
       ^
vmeventhandler.c: In function ‘handleXSETBV’:
vmeventhandler.c:3417:34: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
   currentcpuinfo->OnInterrupt.RIP=(volatile void *)&&InterruptFired; //set inte
                                  ^
In file included from vmmhelper.h:4:0,
                 from vmpaging.h:4,
                 from vmeventhandler.c:5:
vmeventhandler.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
realmodeemu.c: In function ‘opcode_JMPE9’:
realmodeemu.c:97:27: warning: unused parameter ‘currentcpuinfo’ [-Wunused-parameter]
 int opcode_JMPE9(pcpuinfo currentcpuinfo, PINSTRUCTIONDATA id)
                           ^
realmodeemu.c: In function ‘opcode_JMPEB’:
realmodeemu.c:160:11: warning: unused variable ‘pguestrflags’ [-Wunused-variable]
   PRFLAGS pguestrflags=(PRFLAGS)&guestrflags;
           ^
realmodeemu.c: In function ‘opcode_POPSegment’:
realmodeemu.c:1179:61: warning: unused parameter ‘vmregisters’ [-Wunused-parameter]
 int opcode_POPSegment(pcpuinfo currentcpuinfo, VMRegisters *vmregisters, PINSTR
                                                             ^
realmodeemu.c: In function ‘opcode_PUSHSegment’:
realmodeemu.c:1321:17: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
     WORD *stack=(DWORD *)mapVMmemory(currentcpuinfo, vmread(vm_guest_ss_base)+s
                 ^
realmodeemu.c:1310:62: warning: unused parameter ‘vmregisters’ [-Wunused-parameter]
 int opcode_PUSHSegment(pcpuinfo currentcpuinfo, VMRegisters *vmregisters, PINST
                                                              ^
realmodeemu.c: In function ‘opcode_PUSH68’:
realmodeemu.c:1341:57: warning: unused parameter ‘vmregisters’ [-Wunused-parameter]
 int opcode_PUSH68(pcpuinfo currentcpuinfo, VMRegisters *vmregisters, PINSTRUCTI
                                                         ^
realmodeemu.c: In function ‘opcode_CLD’:
realmodeemu.c:1470:25: warning: unused parameter ‘currentcpuinfo’ [-Wunused-parameter]
 int opcode_CLD(pcpuinfo currentcpuinfo)
                         ^
realmodeemu.c: In function ‘emulateRMinterrupt’:
realmodeemu.c:1690:62: warning: unused parameter ‘vmregisters’ [-Wunused-parameter]
 int emulateRMinterrupt(pcpuinfo currentcpuinfo, VMRegisters *vmregisters, int i
                                                              ^
realmodeemu.c: In function ‘emulateRMinstruction’:
realmodeemu.c:2395:217: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
 old_vm_guest_interruptability_state, vmread(vm_guest_interruptability_state) );
                                                                               ^
realmodeemu.c: In function ‘emulateHLT’:
realmodeemu.c:2419:35: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
    currentcpuinfo->OnInterrupt.RIP=(volatile void *)&&InterruptFired; //set int
                                   ^
realmodeemu.c: In function ‘testRMinterrupt’:
realmodeemu.c:2472:38: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
       currentcpuinfo->OnInterrupt.RIP=(volatile void *)&&InterruptFired; //set
                                      ^
In file included from realmodeemu.c:6:0:
realmodeemu.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
pmodeemu.c: In function ‘emulateProtectedMode’:
pmodeemu.c:19:9: warning: variable ‘address’ set but not used [-Wunused-but-set-variable]
   QWORD address;
         ^
In file included from pmodeemu.c:7:0:
pmodeemu.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
common.c: In function ‘sendstring’:
common.c:313:23: warning: unused parameter ‘s’ [-Wunused-parameter]
 void sendstring(char *s)
                       ^
common.c: In function ‘sendstringf’:
common.c:331:24: warning: unused parameter ‘string’ [-Wunused-parameter]
 void sendstringf(char *string, ...)
                        ^
common.c: In function ‘memcpy’:
common.c:438:10: warning: return discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   return copymem(dest,src,size);
          ^
common.c: In function ‘memset’:
common.c:448:10: warning: return discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   return dest;
          ^
common.c: In function ‘strcat’:
common.c:467:10: warning: return discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   return dest;
          ^
common.c: In function ‘strcpy’:
common.c:479:10: warning: return discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
   return dest;
          ^
common.c: In function ‘sendchar’:
common.c:652:20: warning: unused parameter ‘c’ [-Wunused-parameter]
 void sendchar(char c)
                    ^
In file included from keyboard.c:1:0:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from vmmhelper.h:4:0,
                 from osspecific.h:4,
                 from osspecific.c:6:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
pci.c: In function ‘pciConfigEnumPci’:
pci.c:73:16: warning: variable ‘Header’ set but not used [-Wunused-but-set-variable]
           BYTE Header;
                ^
pci.c:72:26: warning: variable ‘DeviceID’ set but not used [-Wunused-but-set-variable]
           WORD VendorID, DeviceID;
                          ^
In file included from pci.c:8:0:
pci.c: At top level:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from main.h:4:0,
                 from apic.c:9:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ultimap.c:8:0:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
ultimap.c: In function ‘ultimap_handleMSRRead’:
ultimap.c:195:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
In file included from test.c:8:0:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from vmmhelper.h:4:0,
                 from vmeventhandler_amd.h:11,
                 from vmeventhandler_amd.c:8:
common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
make[2]: Entering directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/distorm64'
In file included from ../config.h:30:0,
                 from decoder.h:12,
                 from decoder.c:9:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from distorm.c:10:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from instructions.h:12,
                 from instructions.c:8:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from insts.c:9:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
operands.c: In function ‘extract_sib’:
operands.c:115:32: warning: implicit declaration of function ‘abs’ [-Wimplicit-function-declaration]
      str_code_hdw(operandText, abs(RLONG(code0)));
                                ^
In file included from ../config.h:30:0,
                 from operands.c:9:
operands.c: At top level:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from prefix.h:12,
                 from prefix.c:9:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from textdefs.h:12,
                 from textdefs.c:9:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from wstring.h:12,
                 from wstring.c:9:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
In file included from ../config.h:30:0,
                 from x86defs.h:12,
                 from x86defs.c:9:
../common.h:72:13: warning: inline function ‘outportd’ declared but never defined
 inline void outportd(unsigned int port,unsigned long value);
             ^
../common.h:71:22: warning: inline function ‘inportd’ declared but never defined
 inline unsigned long inportd(unsigned int port);
                      ^
../common.h:69:13: warning: inline function ‘outportb’ declared but never defined
 inline void outportb(unsigned int port,unsigned char value);
             ^
../common.h:68:22: warning: inline function ‘inportb’ declared but never defined
 inline unsigned char inportb(unsigned int port);
                      ^
../common.h:67:13: warning: inline function ‘bochsbp’ declared but never defined
 inline void bochsbp(void);
             ^
distorm done
make[2]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/distorm64'
main.o: In function `testexception':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/main.c:1475: undefined reference to `bochsbp'
common.o: In function `setCursorPos':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/common.c:788: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/common.c:789: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/common.c:790: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/common.c:791: undefined reference to `outportb'
vmpaging.o: In function `mapVMmemory':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/vmpaging.c:472: undefined reference to `bochsbp'
realmodeemu.o: In function `testRMinterrupt':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/realmodeemu.c:2470: undefined reference to `bochsbp'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/realmodeemu.c:2491: undefined reference to `bochsbp'
keyboard.o: In function `kdb_readycommand':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:9: undefined reference to `inportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:12: undefined reference to `inportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:13: undefined reference to `inportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:16: undefined reference to `inportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:19: undefined reference to `inportb'
keyboard.o:/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:20: more undefined references to `inportb' follow
keyboard.o: In function `kdb_getoutputport':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:32: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:33: undefined reference to `inportb'
keyboard.o: In function `kdb_setoutputport':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:39: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:40: undefined reference to `outportb'
keyboard.o: In function `kdb_getinputport':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:46: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:47: undefined reference to `inportb'
keyboard.o: In function `kdb_getcommandbyte':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:53: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:54: undefined reference to `inportb'
keyboard.o: In function `kdb_setcommandbyte':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:60: undefined reference to `outportb'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:61: undefined reference to `outportb'
keyboard.o: In function `kdb_iskeypressed':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:66: undefined reference to `inportb'
keyboard.o: In function `kbd_getkey':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/keyboard.c:79: undefined reference to `inportb'
pci.o: In function `pciConfigReadDWord':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/pci.c:24: undefined reference to `outportd'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/pci.c:26: undefined reference to `inportd'
pci.o: In function `pciConfigReadWord':
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/pci.c:41: undefined reference to `outportd'
/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/pci.c:43: undefined reference to `inportd'
Makefile:11: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm'
Makefile:11: recipe for target 'all' failed
make: *** [all] Error 2


Any Idea what could be wrong?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 341

Joined: 09 May 2003
Posts: 19986
Location: The netherlands

PostPosted: Sat Sep 09, 2017 4:17 am    Post subject: Reply with quote

not really sure. the inport and outport functions don't seem to be declared, but they are in common.c ( /home/hyhrrthrt/Desktop/CE6-7/dbvm/vmm/common.c )

perhaps it's a gcc version issue. ( https://gcc.gnu.org/gcc-5/porting_to.html seems to describe it )

try removing the inline parts of the functions or find someway to fix that issue

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
mgr.inz.Player
I post too much
Reputation: 148

Joined: 07 Nov 2008
Posts: 4184
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Sep 09, 2017 4:23 am    Post subject: Reply with quote

@cody11102, try:
- VMware Workstation 12 Player
- linuxmint-17.2-cinnamon-64bit.iso
- install it on virtual machine

- when you have above done, install those packages:
- rar, svn
- autoconf, automake
- binutils, gcc, yasm, nasm

_________________
Back to top
View user's profile Send private message MSN Messenger
cody11102
Newbie cheater
Reputation: 1

Joined: 03 Sep 2017
Posts: 12

PostPosted: Sat Sep 09, 2017 2:42 pm    Post subject: Reply with quote

@Dark Byte
It was probably a Version Issue.

@mgr.inz.Player
Works!

Thanks, @Dark Byte and @mgr.inz.Player
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Source -> DBVM All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites