c++

  1. D

    C pthreads error: 'PTHREAD_RWLOCK_PREFER_WRITER_NONRECURSIVE_NP' was not declared in this scope

    Hello, I'm trying to switch from Linux to FreeBSD, but am unable to compile one of our custom software. After compiling many files, it eventually halts when trying to compile a file containing some pthread code: Building file: ../feedProcessor.cpp Invoking: GCC C++ Compiler g++7...
  2. R

    C setreuid() returns "operation not permitted" even it was sudo'ed

    Hello, I was testing one of my software on FreeBSD ,Where in the software i've been trying to replace the Real/Effective UID and GID of the process using below two functions setregid(),setreuid(). But these both functions return -1 as a result(when i got the errno to print it ssys "operations...
  3. spmzt

    Solved How to port my software?

    Hello, How can I create a port for my software?
  4. mseqs

    Other Best language for a database server

    Hello everyone. So, I'm writing a little database server/manager (I know, don't reinvent the wheel, but is a research project and I got a good idea, innovative, I hope) and from the beginning I thought to write it in Java, but after some researching about "performance and memory issues" I'm not...
  5. jrm@

    dlopen error

    I'm working on porting a C++ application to FreeBSD. It's compiling, but a call to dlopen() is failing. Here's a code snippet. static void *lib=NULL; lib=dlopen(filename,RTLD_NOW); const char* blah; if(blah=dlerror()) { info(filename); cout << blah << "\n"; } The output is...
  6. fender0107401

    Solved FreeBSD and CMake: compilation is fine but end up with linking errors.

    System info: uname -a FreeBSD vm-freebsd 10.2-RELEASE-p7 FreeBSD 10.2-RELEASE-p7 #0: Mon Nov 2 14:19:39 UTC 2015 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 % cmake --version cmake version 3.4.1 CMake suite maintained and supported by Kitware (kitware.com/cmake)...
Back
Top