Merhaba, bugün Pop!_OS dağıtımını kurdum ve Omnetpp kurmam gerekiyordu. Yeni bir Linux kullanıcısıyım. Kurulumda ChatGPT’nin yardımıyla ilerledim ancak sürekli hata aldım. Yapay zeka ile birlikte kütüphane indirme, yeniden yol belirtme işlemlerini tekrar tekrar yaptım ama aynı hata devam etti. Uygulama açılıyor ancak hata verdiği için kafayı taktım, gerçekten çalışıp çalışmadığını bilmiyorum. Hata logunu metin belgesi olarak kaydettim. Anlayan biri varsa yardımcı olabilir mi?
Building release and debug mode executables. Type 'make help' for further options.
***** Configuration: MODE=release, TOOLCHAIN_NAME=gcc, SHARED_LIBS=yes, LIB_SUFFIX=.so ****
===== Checking environment =====
===== Compiling utils ====
===== Compiling common ====
YACC: expression.y
LEX: expression.lex
YACC: matchexpression.y
sqlite3.c
yxml.c
lcgrandom.cc
filelock.cc
filereader.cc
linetokenizer.cc
stringpool.cc
pooledstring.cc
stringtokenizer.cc
fnamelisttokenizer.cc
expression.cc
expression.lex.cc
expression.tab.cc
quantityformatter.cc
matchexpression.cc
matchexpressionlexer.cc
matchexpression.tab.cc
patternmatcher.cc
unitconversion.cc
fileglobber.cc
fileutil.cc
stringutil.cc
commonutil.cc
exception.cc
bigdecimal.cc
enumstr.cc
colorutil.cc
statistics.cc
formattedprinter.cc
csvwriter.cc
jsonwriter.cc
sqliteresultfileschema.cc
stringutil.cc: In function ‘std::string omnetpp::common::opp_makedatetimestring()’:
stringutil.cc:1003:64: warning: ‘%02d’ directive output may be truncated writing between 2 and 11 bytes into a region of size between 0 and 17 [-Wformat-truncation=]
1003 | snprintf(timestr, sizeof(timestr), "%04d%02d%02d-%02d:%02d:%02d",
| ^~~~
In file included from /usr/include/stdio.h:894,
from /usr/include/c++/11/cstdio:42,
from stringutil.cc:15:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:71:35: note: ‘__builtin___snprintf_chk’ output between 18 and 70 bytes into a destination of size 32
71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
sqlitescalarfilewriter.cc
sqlitevectorfilewriter.cc
omnetppscalarfilewriter.cc
omnetppvectorfilewriter.cc
exprnode.cc
exprnodes.cc
exprvalue.cc
intutil.cc
any_ptr.cc
saxparser_default.cc
saxparser_libxml.cc
saxparser_yxml.cc
backward.cc
Creating shared library: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/common/liboppcommon.so
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppcommon.so
===== Compiling layout ====
===== Compiling eventlog ====
===== Compiling nedxml ====
===== Compiling scave ====
Generating eventlogentries.csv eventlogentries.h eventlogentries.cc eventlogentryfactory.cc from eventlogentries.txt
YACC: ned2.y
graphcomponent.cc
LEX: ned2.lex
geometry.cc
heapembedding.cc
startreeembedding.cc
YACC: msg2.y
LEX: msg2.lex
idlist.cc
omnetppresultfileloader.cc
sqliteresultfileloader.cc
resultfilemanager.cc
STRINGIFY: ../sim/sim_std.msg
resultitems.cc
forcedirectedparametersbase.cc
forcedirectedparameters.cc
ievent.cc
indexedvectorfilereader.cc
forcedirectedembedding.cc
ieventlog.cc
vectorfileindexer.cc
graphlayouter.cc
basicspringembedderlayout.cc
forcedirectedgraphlayouter.cc
eventlog.cc
resultitems.cc:26:29: warning: ‘visibility’ attribute ignored [-Wattributes]
26 | const SCAVE_API std::string NULLSTRING = "";
| ^~~~~~~~~~
vectorfileindex.cc
indexfileutils.cc
eventlogindex.cc
messagedependency.cc
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/bin/opp_msgc
indexfilereader.cc
indexfilewriter.cc
eventlogentry.cc
event.cc
eventlogentries.cc
filteredevent.cc
filefingerprint.cc
scaveutils.cc
indexfileutils.cc: In static member function ‘static bool omnetpp::scave::IndexFileUtils::isExistingVectorFile(const char*)’:
indexfileutils.cc:57:10: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
57 | fgets(buf, 20, f);
| ~~~~~^~~~~~~~~~~~
filteredeventlog.cc
scaveexception.cc
eventlogentryfactory.cc
enumtype.cc
Creating shared library: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/layout/libopplayout.so
xyarray.cc
eventlogentrycache.cc
fields.cc
vectorutils.cc
memoryutils.cc
index.cc
sqliteresultfileutils.cc
snapshot.cc
sqlitevectordatareader.cc
exporter.cc
exportutils.cc
csvrecexporter.cc
csvspreadexporter.cc
jsonexporter.cc
omnetppscalarfileexporter.cc
sqlitescalarfileexporter.cc
omnetppvectorfileexporter.cc
sqlitevectorfileexporter.cc
Creating shared library: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/scave/liboppscave.so
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/lib/libopplayout.so
Creating shared library: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/eventlog/liboppeventlog.so
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppscave.so
Creating executable: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/scave/opp_scavetool
scave_bindings.cc
3rdparty/nanobind/src/common.cpp
3rdparty/nanobind/src/implicit.cpp
3rdparty/nanobind/src/nb_func.cpp
3rdparty/nanobind/src/nb_ndarray.cpp
3rdparty/nanobind/src/nb_static_property.cpp
3rdparty/nanobind/src/trampoline.cpp
3rdparty/nanobind/src/error.cpp
3rdparty/nanobind/src/nb_enum.cpp
3rdparty/nanobind/src/nb_internals.cpp
3rdparty/nanobind/src/nb_type.cpp
astnode.cc
sourcedocument.cc
errorstore.cc
exception.cc
nedelements.cc
nedvalidator.cc
neddtdvalidator.cc
dtdvalidationutils.cc
msgelements.cc
msgvalidator.cc
msgdtdvalidator.cc
nedsyntaxvalidator.cc
nedcrossvalidator.cc
nedparser.cc
Creating shared library: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/scave/python/scave_bindings.cpython-310-x86_64-linux-gnu.so
msgparser.cc
nedyyutil.cc
msgyyutil.cc
yyutil.cc
ned2.tab.cc
ned2.lex.cc
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppeventlog.so
nedtools.cc
nedutil.cc
nedgenerator.cc
msggenerator.cc
xmlgenerator.cc
xmlastparser.cc
astbuilder.cc
msg2.tab.cc
msg2.lex.cc
msgcompiler.cc
msgtypetable.cc
msganalyzer.cc
Creating executable: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/eventlog/opp_eventlogtool
msgcodegenerator.cc
sim_std_msg.cc
nedresourcecache.cc
nedtypeinfo.cc
Creating shared library: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/nedxml/liboppnedxml.so
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppnedxml.so
Creating executable: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/nedxml/opp_nedtool
Creating executable: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/nedxml/opp_msgtool
Copying to: /home/meliheren/İndirilenler/omnetpp-6.1/python/omnetpp/scave/scave_bindings.cpython-310-x86_64-linux-gnu.so
/usr/bin/ld: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppcommon.so: undefined reference to `dwarf_filesrc'
/usr/bin/ld: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppcommon.so: undefined reference to `dwarf_lowpc'
/usr/bin/ld: /home/meliheren/İndirilenler/omnetpp-6.1/lib/liboppcommon.so: undefined reference to `dwfl_linux_proc_report'
... (Hata mesajları devam ediyor) ...
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:120: /home/meliheren/İndirilenler/omnetpp-6.1/out/gcc-release/src/scave/opp_scavetool] Error 1
make[1]: *** [Makefile:137: scave] Error 2
make: *** [Makefile:35: allmodes] Error 2
Son düzenleyen: @wise 2025-03-17T06:10:27Z