Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2024 02:21:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 276182] qt5-imageformats-5.15.12p12 won't build from source
Message-ID:  <bug-276182-7788-kcpT21qCC4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276182-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276182-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276182

--- Comment #9 from dennis <drac7ft@gmail.com> ---
Still getting the same undefined symbols while trying to link.

fbsdhost# pkg create qt5-imageformats
pkg: No installed package matching "qt5-imageformats" found

fbsdhost# pkg delete -yf qt5-imageformats
Updating database digests format: 100%
No packages matched for pattern 'qt5-imageformats'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing

I did a "make clean", then "make install".  It does the configure as noted
earlier and then starts building.  There are no compiler warnings, except f=
or
one about jasper.  It occurs a few steps before the unresolved symbol error.

---

main.o main.cpp
--- sub-jp2-all ---
--- .obj/qjp2handler.o ---
In file included from qjp2handler.cpp:49:
In file included from /usr/local/include/jasper/jasper.h:73:
/usr/local/include/jasper/jas_config.h:117:2: warning: "Your code is being
built against an older version of the C standard than JasPer was.  Although
this is supported, this may require some extra preprocessor defines when
building." [-W#warnings]
#warning "Your code is being built against an older version of the C standa=
rd
than JasPer was.  Although this is supported, this may require some extra
preprocessor defines when building."
 ^
 --- sub-tga-all ---
 --- ../../../../plugins/imageformats/libqtga.so ---
 rm -f libqtga.so
 c++ -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong
-Wl,--no-undefined -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -o libqtg=
a.so
.obj/qtgahandler.o  .obj/qtgafile.o  .obj/main.o=20
-L/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/l=
ib
-L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so
/usr/local/lib/qt5/libQt5Core.so -lGL=20
 --- sub-wbmp-all ---
 --- ../../../../plugins/imageformats/libqwbmp.so ---
 rm -f libqwbmp.so
 c++ -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong
-Wl,--no-undefined -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -o
libqwbmp.so .obj/qwbmphandler.o  .obj/main.o=20
-L/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/l=
ib
-L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so
/usr/local/lib/qt5/libQt5Core.so -lGL=20
 --- sub-mng-all ---
 --- ../../../../plugins/imageformats/libqmng.so ---
 rm -f libqmng.so
 c++ -Wl,--undefined-version -Wl,--as-needed -fstack-protector-strong
-Wl,--no-undefined -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -o libqmn=
g.so
.obj/main.o  .obj/qmnghandler.o=20
-L/usr/ports/graphics/qt5-imageformats/work/kde-qtimageformats-5.15.12p12/l=
ib
-L/usr/local/lib /usr/local/lib/qt5/libQt5Gui.so
/usr/local/lib/qt5/libQt5Core.so -lGL -lmng=20
--- sub-tga-all ---
mv -f libqtga.so ../../../../plugins/imageformats/libqtga.so
--- sub-wbmp-all ---
mv -f libqwbmp.so ../../../../plugins/imageformats/libqwbmp.so
--- sub-mng-all ---
ld: error: undefined symbol: mng_setcb_writedata
>>> referenced by qmnghandler.cpp
>>>               .obj/qmnghandler.o:(QMngHandlerPrivate::QMngHandlerPrivat=
e(QMngHandler*))

ld: error: undefined symbol: mng_create

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-276182-7788-kcpT21qCC4>