it0819 / ConverterICStoCSV

0 stars 0 forks source link

c++ compile of icalToCsv.cpp on FreeBSD fail #14

Open fncbm opened 4 years ago

fncbm commented 4 years ago

8 $ c++ -Wall -ansi -pedantic -o icalToCsv icalToCsv.cpp 9 $ file icalToCsv icalToCsv: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), dynamically linked, interpreter /libexec/ld-

elf.so.1, for FreeBSD 12.1, FreeBSD-style, with debug_info, not stripped 10 $ ./icalToCsv Segmentation fault (core dumped) 11 $

fncbm commented 4 years ago

Debugger run of programm as follows:

33 $ gdb icalToCsv GNU gdb (GDB) 9.2 [GDB v9.2 for FreeBSD] Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd12.1". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from icalToCsv... (gdb) run Starting program: /usr/home/sag-023/prj.git/ConverterICStoCSV/icalToCsv warning: Could not trace the inferior process. warning: ptrace: Operation not permitted During startup program exited with code 127. (gdb)