Kdev-go runtime error
Hugues
morisset.hugues at gmail.com
Tue Sep 19 11:59:26 UTC 2017
I did a git clean -fdx and git pull on both repositories, and the
following environment variable are defined:
export KDEVELOP_INSTALL=/usr
export KDEDIRS=$KDEVELOP_INSTALL:/usr
export QTDIR=/usr/lib/x86_64-linux-gnu/qt5
export
QT_PLUGIN_PATH=$KDEVELOP_INSTALL/lib/x86_64-linux-gnu/plugins:$QTDIR/plugins:$QT_PLUGIN_PATH
export
QML2_IMPORT_PATH=$KDEVELOP_INSTALL/lib/x86_64-linux-gnu/qml:$QTDIR/qml
export XDG_DATA_DIRS=$KDEVELOP_INSTALL/share/:$XDG_DATA_DIRS
export XDG_CONFIG_DIRS=$KDEVELOP_INSTALL/etc/xdg:/etc/xdg
The cmake command:
cmake -DCMAKE_PREFIX_PATH=${KDEVELOP_INSTALL}
-DCMAKE_INSTALL_PREFIX=${KDEVELOP_INSTALL} ..
But I still got the same issue, what I'm doing wrong ?
Thanks,
Hugues
On 09/14/2017 02:50 PM, Pavel Petrushkov wrote:
> Hi,
>
> I just compiled kdevelop & kdev-go and cannot reproduce this issue. Have
> you already tried building everything in a clean separate path? It looks
> to me like a version conflict or bad environment error.
>
> Best,
> Pavel.
>
> On Wed, Sep 13, 2017 at 4:03 PM, Kevin Funk <kfunk at kde.org
> <mailto:kfunk at kde.org>> wrote:
>
> On Wednesday, 13 September 2017 11:40:18 CEST Hugues wrote:
> > Hello,
> > I'm using Pavel Petrushkov excellent GSoC plugin for golang integration
> > in kdevelop, but I'm having trouble using it with the last version of
> > kdevelop (2002bc2f0bc470ad1897dd0e5b64c5000625ff50), it compile fine but
> > I got this error at runtime when opening a golang project:
>
> +Pavel, +Mikhail
>
> Any idea? :)
>
> Regards,
> Kevin
>
> > kdev-go-duchain: DeclarationBuilder start
> > kdev-go-duchain: Running prebuilder
> > kdev-go-duchain: DeclarationBuilder start
> > kdev-go-duchain: Running prebuilder
> > kdev-go-duchain: DeclarationBuilder start
> > kdev-go-duchain: DeclarationBuilder start
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/toolstash
> <http://golang.org/x/tools/cmd/toolstash>" import:
> > "golang.org/x/tools/cmd/toolstash
> <http://golang.org/x/tools/cmd/toolstash>"
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/stringer
> <http://golang.org/x/tools/cmd/stringer>" import:
> > "golang.org/x/tools/cmd/stringer
> <http://golang.org/x/tools/cmd/stringer>"
> > kdev-go-duchain: DeclarationBuilder start
> > kdev-go-duchain: Running prebuilder
> > kdev-go-duchain: DeclarationBuilder start
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/html2article
> <http://golang.org/x/tools/cmd/html2article>" import:
> > "golang.org/x/tools/cmd/html2article
> <http://golang.org/x/tools/cmd/html2article>"
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/eg
> <http://golang.org/x/tools/cmd/eg>" import:
> > "golang.org/x/tools/cmd/eg <http://golang.org/x/tools/cmd/eg>"
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/gorename
> <http://golang.org/x/tools/cmd/gorename>" import:
> > "golang.org/x/tools/cmd/gorename
> <http://golang.org/x/tools/cmd/gorename>"
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/ssadump
> <http://golang.org/x/tools/cmd/ssadump>" import:
> > "golang.org/x/tools/cmd/ssadump
> <http://golang.org/x/tools/cmd/ssadump>"
> > kdev-go: Found canonical import for package
> > "/home//go/src/golang.org/x/tools/cmd/benchcmp
> <http://golang.org/x/tools/cmd/benchcmp>" import:
> > "golang.org/x/tools/cmd/benchcmp
> <http://golang.org/x/tools/cmd/benchcmp>"
> > kdevelop: symbol lookup error:
> > /lib/x86_64-linux-gnu/libkdevgoduchain.so: undefined symbol:
> >
> _ZN8KDevelop12FunctionType11addArgumentENS_7TypePtrINS_12AbstractTypeEEEi
> >
> > I tried coming back some commit on kdevelop without success.
> > Does someone know how I could fix the issue?
> >
> > Regards,
> > Hugues Morisset
>
>
> --
> Kevin Funk | kfunk at kde.org <mailto:kfunk at kde.org> | http://kfunk.org
>
>
More information about the KDevelop-devel
mailing list