Skip to contentSkip to conversation

net-snmp-svn-r7.0 do_compile failed

DISCUSSION Steffen Sledz 3 participants 12 messages Feb 23, 2011 – Mar 9, 2011 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#1 lore raw
Quoted 16 lines · Steffen Sledz

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"
Quoted 6 lines

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Does log.do_configure say anything about pthreads?

Signature · 2 lines
Tom Rini
Mentor Graphics Corporation
#3 lore raw
In reply to Steffen Sledz
Quoted 16 lines · Steffen Sledz

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION        = "1.12.0" METADATA_BRANCH   = "org.openembedded.dev" METADATA_REVISION = "8e4bd2f"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi" MACHINE           = "hipox"
DISTRO            = "angstrom" DISTRO_VERSION    = "2010.7-test-20110223" TARGET_FPU        = "soft"

Quoted 6 lines

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu  -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

confgure could have a test to use/not use libpthread to link and this test may be failing for some reason and disabling libpthread from getting into
linker commandline and resulting in this. look at config.log I would say and see what games it plays with libpthread tests if they are runtime
tests then they wont succeed for sure.

Quoted 15 lines

--
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058

_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#2 lore raw
In reply to Tom Rini
Quoted 33 lines · Tom Rini
Quoted 32 lines · Steffen Sledz

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te

(quoted diff) +0 -8
-mtune=arm926ej-s -Wl,-rpath-link
-Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb
-DNETSNMP_ENABLE_IPV6
-isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include
-fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
-ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd

.libs/snmpd.o -Wl,-rpath-link

(quoted diff) +0 -4
-Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu 
-L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs
-L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs
Quoted 15 lines
Quoted 5 lines
(quoted diff) +0 -4
-L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs
-L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib
-L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib
-L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers

./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so

Quoted 8 lines

./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl
./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Does log.do_configure say anything about pthreads?

Nothing special:

OE:hipox sledz@mobil-400-586:~/work/OE-testing> grep -u pthread /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure* /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure:checking pthread.h usability... yes /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure:checking pthread.h presence... yes /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure:checking for pthread.h... yes /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure.19195:checking pthread.h usability... yes /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure.19195:checking pthread.h presence... yes /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/temp/log.do_configure.19195:checking for pthread.h... yes

Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#4 lore raw
In reply to Khem Raj
Quoted 24 lines · Khem Raj
Quoted 16 lines · Steffen Sledz

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"
Quoted 6 lines

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Quoted 7 lines

confgure could have a test to use/not use libpthread to link and this test may be failing for some reason and disabling libpthread from getting into
linker commandline and resulting in this. look at config.log I would say and see what games it plays with libpthread tests if they are runtime
tests then they wont succeed for sure.

Nothing suspicios in config.log:

...
configure:27538: checking pthread.h usability
configure:27555: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -c -DNETSNMP_ENABLE_IPV6 -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux conftest.c >&5 configure:27562: $? = 0
configure:27576: result: yes
configure:27580: checking pthread.h presence
configure:27595: arm-angstrom-linux-gnueabi-gcc -E conftest.c
configure:27602: $? = 0
configure:27616: result: yes
configure:27649: checking for pthread.h
configure:27658: result: yes
...
ac_cv_header_pthread_h=yes
...
#define _POSIX_PTHREAD_SEMANTICS 1
...
#define HAVE_PTHREAD_H 1
...

Steffen

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#5 lore raw
In reply to Steffen Sledz

Am 23.02.2011 08:55, schrieb Steffen Sledz:

Quoted 16 lines

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"
Quoted 6 lines

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

I did some research in this. This is a bug fixed upstream with svn revision 18721[1].

How can we handle this? Should we increase the SRCREV to a newer version (which one)?

Or should we create a patch backporting the fix? Then we need someone who is more familiar with autotools (i failed here).

Steffen

[1] http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=revision&revision=18721

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#6 lore raw
Quoted 24 lines · Steffen Sledz

Am 23.02.2011 08:55, schrieb Steffen Sledz:

Quoted 16 lines

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION        = "1.12.0"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"

Quoted 6 lines

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu  -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Quoted 5 lines

I did some research in this. This is a bug fixed upstream with svn revision 18721[1].

How can we handle this? Should we increase the SRCREV to a newer version (which one)?

Or should we create a patch backporting the fix? Then we need someone who is more familiar with autotools (i failed here).

for svn recipe you can bump rev up and for others you can backport the fix and you can backport it as it is ideally that patch should have changed configure.ac and regenerated configure but they patched configure instead. but its ok to patch configure here since we do not regenerate configure for net-snmp recipe.

Quoted 19 lines

Steffen

[1] http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=revision&revision=18721

--
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058

_______________________________________________
Openembedded-devel mailing list [email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#7 lore raw

Am 02.03.2011 09:01, schrieb Khem Raj:

Quoted 25 lines · Steffen Sledz
Quoted 24 lines

Am 23.02.2011 08:55, schrieb Steffen Sledz:

Quoted 22 lines

Again a clean build:

OE:hipox sledz@mobil-400-586:~/work/openembedded> bitbake net-snmp
...

Build Configuration:
BB_VERSION = "1.12.0"
METADATA_BRANCH = "org.openembedded.dev"
METADATA_REVISION = "8e4bd2f"

TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "hipox"
DISTRO            = "angstrom"
DISTRO_VERSION    = "2010.7-test-20110223"
TARGET_FPU        = "soft"

...
libtool: link: arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -mthumb-interwork -mno-thumb -DNETSNMP_ENABLE_IPV6 -isystem/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -Ulinux -Dlinux=linux -Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual -Wno-char-subscripts -o .libs/snmpd .libs/snmpd.o -Wl,-rpath-link -Wl,/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs -L/home/sledz/work/OE-testing/tmp.6/sysroots/armv5te-angstrom-linux-gnueabi/usr/lib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib -L/home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/helpers/.libs/libnetsnmphelpers.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/agent/.libs/libnetsnmpagent.so /home/sledz/work/OE-testing/tmp.6/work/armv5te-angstrom-linux-gnueabi/net-snmp-svn-r7.0/net-snmp/snmplib/.libs/libnetsnmp.so -ldl ../snmplib/.libs/libnetsnmp.so -lcrypto -lssl ./.libs/libnetsnmpmibs.so: undefined reference to `pthread_create'
collect2: ld returned 1 exit status
make[1]: *** [snmpd] Error 1

Quoted 7 lines
Quoted 5 lines

I did some research in this. This is a bug fixed upstream with svn revision 18721[1].

How can we handle this? Should we increase the SRCREV to a newer version (which one)?

Or should we create a patch backporting the fix? Then we need someone who is more familiar with autotools (i failed here).

for svn recipe you can bump rev up

I tried to bump to some newer revs (19399/5.6, 19787/5.6.1, 20047/HEAD) but ended up in some undefined referrence errors (nl_handle_destroy and nl_handle_alloc) in all cases. :(

So this needs some more attention.

Jamie, you're listed as net-snmp maintainer. Can you look into this please.

Quoted 5 lines

and for others you can backport the
fix and you can backport it as it is ideally that patch should have changed configure.ac and regenerated configure but they patched configure instead. but its ok to patch configure here since we do not regenerate configure for net-snmp recipe.

As mentioned before i failed trying this. The patch does not apply without modifications. :(

Steffen

Quoted 1 line
Quoted 1 line

[1] http://net-snmp.svn.sourceforge.net/viewvc/net-snmp?view=revision&revision=18721

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#8 lore raw
Quoted 7 lines · Steffen Sledz

failed here).

Quoted 2 lines

for svn recipe you can bump rev up

I tried to bump to some newer revs (19399/5.6, 19787/5.6.1, 20047/HEAD) but ended up in some undefined referrence errors (nl_handle_destroy and nl_handle_alloc) in all cases. :(

So this needs some more attention.

--disable-nls in EXTRA_OECONF does that help ?

Quoted 11 lines

Jamie, you're listed as net-snmp maintainer. Can you look into this please.

Quoted 5 lines

and for others you can backport the
fix and you can backport it as it is ideally that patch should have changed configure.ac and regenerated configure but they patched configure instead. but its ok to patch configure here since we do not regenerate configure for net-snmp recipe.

As mentioned before i failed trying this. The patch does not apply without modifications. :(

hmmm I cant promise but if I have time I can look into it

#9 lore raw

Am 02.03.2011 21:45, schrieb Khem Raj:

Quoted 10 lines · Steffen Sledz
Quoted 7 lines

failed here).

Quoted 2 lines

for svn recipe you can bump rev up

I tried to bump to some newer revs (19399/5.6, 19787/5.6.1, 20047/HEAD) but ended up in some undefined referrence errors (nl_handle_destroy and nl_handle_alloc) in all cases. :(

So this needs some more attention.

--disable-nls in EXTRA_OECONF does that help ?

Nope.

Quoted 11 lines
Quoted 9 lines

Jamie, you're listed as net-snmp maintainer. Can you look into this please.

Quoted 5 lines

and for others you can backport the
fix and you can backport it as it is ideally that patch should have changed configure.ac and regenerated configure but they patched configure instead. but its ok to patch configure here since we do not regenerate configure for net-snmp recipe.

As mentioned before i failed trying this. The patch does not apply without modifications. :(

hmmm I cant promise but if I have time I can look into it

Would be really great.

Steffen

PS: And i'm willing to lern, so i'm looking forward excitedly to your solution. ;-)

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058
#11 lore raw
In reply to a message not in the archive
Quoted 7 lines · Steffen Sledz

Am 02.03.2011 21:45, schrieb Khem Raj:

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

and for others you can backport the
fix and you can backport it as it is ideally that patch should have changed configure.ac and regenerated configure but they patched configure instead. but its ok to patch configure here since we do not regenerate configure for net-snmp recipe.

Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

As mentioned before i failed trying this. The patch does not apply without modifications. :(

hmmm I cant promise but if I have time I can look into it

Hi Khem, any chance that you can work on it in the next days?

I thought you check git regularly I already fixed it with 3fac2c7d24b4c4c3cbdff2a6b303a4db47e089f4

Quoted 13 lines

Steffen

--
DResearch Fahrzeugelektronik GmbH Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle; Amtsgericht Berlin Charlottenburg; HRB 130120 B; Ust.-IDNr. DE273952058

#12 lore raw

Am 08.03.2011 19:21, schrieb Khem Raj:

Quoted 11 lines · Steffen Sledz
Quoted 10 lines

Am 02.03.2011 21:45, schrieb Khem Raj:

Quoted 9 lines
Quoted 8 lines
Quoted 5 lines

and for others you can backport the
fix and you can backport it as it is ideally that patch should have changed configure.ac and regenerated configure but they patched configure instead. but its ok to patch configure here since we do not regenerate configure for net-snmp recipe.

As mentioned before i failed trying this. The patch does not apply without modifications. :(

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

hmmm I cant promise but if I have time I can look into it

Hi Khem, any chance that you can work on it in the next days?

I thought you check git regularly I already fixed it with 3fac2c7d24b4c4c3cbdff2a6b303a4db47e089f4

Great, thanx.

Signature · 7 lines
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-237 mailto:[email protected]
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058