Code Monkey home page Code Monkey logo

Comments (6)

freefirex avatar freefirex commented on September 21, 2024

I'm able to currently build the master branches sc_enum / sc_qtriggerinfo without changes. Yes those fields come from the windows headers

If I had to guess kali likely ships with an outdated version of mingw. Mine is listed below
image

The table on this page shows gcc -> mingw version mappings, with the mingw verison mapping making the difference for header includes
https://www.mingw-w64.org/downloads/

Can you validate that the mingw version is 8.0 or newer, and if not we've found why it's not compiling on your system.

from cs-situational-awareness-bof.

nowhey2 avatar nowhey2 commented on September 21, 2024
Using built-in specs.                                                                                                                                                                                                                                                                                                       
COLLECT_GCC=x86_64-w64-mingw32-gcc                                                                                                                                                                                                                                                                                          
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-w64-mingw32/10-win32/lto-wrapper                                                                                                                                                                                                                                                    
Target: x86_64-w64-mingw32                                                                                                                                                                                                                                                                                                  
Configured with: ../../src/configure --build=x86_64-linux-gnu --prefix=/usr --includedir='/usr/include' --mandir='/usr/share/man' --infodir='/usr/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir='/usr/lib/x86_64-linux-gnu' --libexecdir='/usr/lib/x86_64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr --enable-shared --enable-static --disable-multilib --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --libdir=/usr/lib --enable-libstdcxx-time=yes --with-tune=generic --with-headers --enable-version-specific-runtime-libs --enable-fully-dynamic-string --enable-libgomp --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-lto --enable-threads=win32 --program-suffix=-win32 --program-prefix=x86_64-w64-mingw32- --target=x86_64-w64-mingw32 --with-as=/usr/bin/x86_64-w64-mingw32-as --with-ld=/usr/bin/x86_64-w64-mingw32-ld --enable-libatomic --enable-libstdcxx-filesystem-ts=yes --enable-dependency-tracking SED=/bin/sed                                                                                                                                                                                                                                      
Thread model: win32                                                                                                                                                                                                                                                                                                         
Supported LTO compression algorithms: zlib                                                                                                                                                                                                                                                                                  
gcc version 10-win32 20220324 (GCC)                                                                                                                                                                                                                                                                                         ```

from cs-situational-awareness-bof.

nowhey2 avatar nowhey2 commented on September 21, 2024
Package: mingw-w64                                                                                                                                                                                                                                                                                                          
Version: 10.0.0-2                                                                                                                                                                                                                                                                                                           
Priority: optional                                                                                                                                                                                                                                                                                                          
Section: devel                                                                                                                                                                                                                                                                                                              
Maintainer: Stephen Kitt <[email protected]>                                                                                                                                                                                                                                                                                 
Installed-Size: 48.1 kB                                                                                                                                                                                                                                                                                                     
Depends: gcc-mingw-w64, g++-mingw-w64                                                                                                                                                                                                                                                                                       
Homepage: http://mingw-w64.sf.net                                                                                                                                                                                                                                                                                           
Tag: devel::buildtools, role::metapackage                                                                                                                                                                                                                                                                                   
Download-Size: 13.9 kB                                                                                                                                                                                                                                                                                                      
APT-Manual-Installed: yes                                                                                                                                                                                                                                                                                                   
APT-Sources: http://http.kali.org/kali kali-rolling/main amd64 Packages                                                                                                                                                                                                                                                     
Description: Development environment targeting 32- and 64-bit Windows                                                                                                                                                                                                                                                       
 MinGW-w64 provides a development and runtime environment for 32- and                                                                                                                                                                                                                                                       
 64-bit (x86 and x64) Windows applications using the Windows API and                                                                                                                                                                                                                                                        
 the GNU Compiler Collection (gcc).                                                                                                                                                                                                                                                                                         
 .                                                                                                                                                                                                                                                                                                                          
 This metapackage provides the MinGW-w64 development environment,                                                                                                                                                                                                                                                           
 including C and C++ compilers. Ada, Fortran, Objective-C and                                                                                                                                                                                                                                                               
 Objective-C++ compilers are available respectively in the                                                                                                                                                                                                                                                                  
 gnat-mingw-w64, gfortran-mingw-w64, gobjc-mingw-w64 and                                                                                                                                                                                                                                                                    
 gojbc++-mingw-w64 packages.                                                                                                                                                                                                                                                                                                

from cs-situational-awareness-bof.

freefirex avatar freefirex commented on September 21, 2024

Went on a wild goose chase, but now I fully understand what's going on.

So yes actually your version of mingw is newer then mine and now defines SEVICE_CONFIG_TRIGGER_INFO as you stated, and it's mine that's older and does not.

I'll look into a better way to fix this, thanks for pointing it out!

from cs-situational-awareness-bof.

freefirex avatar freefirex commented on September 21, 2024

I just pushed a fix, feel free to re-open if it doesn't work for you.

Thanks again!

from cs-situational-awareness-bof.

nowhey2 avatar nowhey2 commented on September 21, 2024

TY!

from cs-situational-awareness-bof.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.