Skip to contentSkip to conversation

Sysprof build error

DISCUSSION Jack Mitchell 4 participants 6 messages Oct 20, 2011 – Oct 24, 2011

lore
Share & tools
lore
#0 lore raw

I have been sucessfully compiling using the git master branch of poky for the past month or so. I switched branches to Edison yesterday so I would be working with the stable branch instead and now I cannot compile my build.

I am currently getting errors with sysprof, however if I clean the shared state of sysprof I then get errors with Avahi, so I then clean shared state of Avahi and it goes back to sysprof errors. Anyway, my error log is as shown below:

http://pastebin.com/j5vf6wzj

I have tried cleaning and recompiling glib-2.0 due to this error:

| mnt/yocto/poky/qemuarm-toolchain/tmp/sysroots/qemuarm/usr/lib/libgtk-x11-2.0.so: undefined reference to `g_datalist_get_data'

Which I believe is glib related, however this might not be the fundamental error?

Anyway, any help would be appreciated!

Cheers,
Jack.

#1 lore raw
Quoted 10 lines · Jack Mitchell

http://pastebin.com/j5vf6wzj

I have tried cleaning and recompiling glib-2.0 due to this error:

| mnt/yocto/poky/qemuarm-toolchain/tmp/sysroots/qemuarm/usr/lib/libgtk-x11-2.0.so:
undefined reference to `g_datalist_get_data'

Which I believe is glib related, however this might not be the fundamental error?

Just a comment, sysprof builds for powerpc and powerpc64 on the edison branch.

-M

#2 lore raw
In reply to Jack Mitchell
Quoted 8 lines · Jack Mitchell

I have been sucessfully compiling using the git master branch of poky for the past month or so. I switched branches to Edison yesterday so I would be working with the stable branch instead and now I cannot compile my build.

I am currently getting errors with sysprof, however if I clean the shared state of sysprof I then get errors with Avahi, so I then clean shared state of Avahi and it goes back to sysprof errors. Anyway, my error log is as shown below:

http://pastebin.com/j5vf6wzj

Quoted 7 lines

I have tried cleaning and recompiling glib-2.0 due to this error:

| mnt/yocto/poky/qemuarm-toolchain/tmp/sysroots/qemuarm/usr/lib/libgtk-x11-2.0.so: undefined reference to `g_datalist_get_data'

Which I believe is glib related, however this might not be the fundamental error?

Anyway, any help would be appreciated!

Did you try a totally clean build?

Signature · 4 lines
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
#3 lore raw
Quoted 11 lines · Gary Thomas
Quoted 10 lines · Jack Mitchell

I have been sucessfully compiling using the git master branch of poky for the past month or so. I switched branches to Edison yesterday so I would be working with the stable branch instead and now I cannot compile my build.

I am currently getting errors with sysprof, however if I clean the shared state of sysprof I then get errors with Avahi, so I then clean shared state of Avahi and it goes back to sysprof errors. Anyway, my error log is as shown below:

http://pastebin.com/j5vf6wzj

I have tried cleaning and recompiling glib-2.0 due to this error:

Quoted 7 lines
Quoted 5 lines

| mnt/yocto/poky/qemuarm-toolchain/tmp/sysroots/qemuarm/usr/lib/libgtk-x11-2.0.so: undefined reference to `g_datalist_get_data'

Which I believe is glib related, however this might not be the fundamental error?

Anyway, any help would be appreciated!

Did you try a totally clean build?

I have left a full clean build to run overnight, it ran into race condition early on which was overcome by setting it going a second time and it was still running about 2/3 complete when I left work. I will update tomorrow.

I am building the core-image-rt-sdk with dropbear, lighttpd and php, I believe the race condition is something to do with the error that I receive at the start stating that two kernels have been defined a non-rt and the rt - this might be something someone wants to check on?

#4 lore raw
In reply to Jack Mitchell
Quoted 9 lines · Jack Mitchell

I have tried cleaning and recompiling glib-2.0 due to this error:

| mnt/yocto/poky/qemuarm-toolchain/tmp/sysroots/qemuarm/usr/lib/libgtk-x11-2.0.so:
undefined reference to `g_datalist_get_data'

Which I believe is glib related, however this might not be the fundamental error?

This means you need to rebuild glib-2.0 along with libgtk-x11 bitbake -ccleansstate glib-2.0
bitbake sysprof

#5 lore raw
Quoted 7 lines · Khem Raj
Quoted 6 lines · Jack Mitchell

I have tried cleaning and recompiling glib-2.0 due to this error:

| mnt/yocto/poky/qemuarm-toolchain/tmp/sysroots/qemuarm/usr/lib/libgtk-x11-2.0.so:
undefined reference to `g_datalist_get_data'

Quoted 6 lines
Quoted 3 lines

Which I believe is glib related, however this might not be the fundamental error?

This means you need to rebuild glib-2.0 along with libgtk-x11 bitbake -ccleansstate glib-2.0
bitbake sysprof

This was my first point of call, which didn't fix it. I re-build with a fresh build directory and it built fine.