Unsolved make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1
-
Basically i am the beginner for QT platform and my intention is to Develop a Basic QT application run on my BeagleBone Black("arm-linux-gnueabihf" based compiler) board that's why i am trying to build a make file by followed these Documents [http://thoughtwaves.com/](link url) and [http://thoughtwaves.com/?p=50](link url).
if you don't mind could you please suggest me the way how to developing and run a basic QT application on my BeagleBone Black board.
-
@Sekhar Here for example: https://wiki.qt.io/BeagleBone_Black_Beginners_Guide
It uses Qt5.7, but I suggest to use the current stable version (5.13.1). -
Error 1:
I will try to ofline-install QT5.5.1 on my Ubuntu12.04(32-bit) System. i tried to execute file it will shows
" bash: ./qt-opensource-linux-x64-5.5.1.run: cannot execute binary file "if i was used these below commands :
$ chmod +x qt-opensource-linux-x64-5.5.1.run
$ ./qt-opensource-linux-x64-5.5.1.runstill it will show's same error.
" bash: ./qt-opensource-linux-x64-5.5.1.run: cannot execute binary file "I doesn't understand why it will happens.
i was download from [https://mirrors.tuna.tsinghua.edu.cn/qt/archive/qt/5.5/5.5.1/qt-opensource-linux-x86-5.5.1.run](link url)Error 2:
I was followed what "BeagleBone_Black_Beginners_guide " suggest those steps
in
step 2. Copy bbb image to workstation:workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img
it will shows on every time.
I tried more that 5 times nearly 3 hours but same result on every time.
-
Ubuntu12.04(32-bit)
That is a pretty old OS - I can't guarantee that will work. And is the offline installer 32 bit too? Because you write both x86 and x64.
-
@Sekhar You're trying to execute a 64bit binary on a 32bit OS, this is not going to work. You need 32bit Qt version. Also, why such an old Ubuntu version and such an old Qt version?!
-
@jsulm Sorry i forgot it. Error 1 solved. can you please give me solution for Error 2.
-
@Sekhar You have issue two commands: one on your device and one on your workstation. Did you do both?
# This is done on workstation (host) workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img # This is done on device, adapt it to your environment don't just copy paste as is (device file name and IP could be different) root@Matilda:~# dd bs=1M if=/dev/mmcblk0|nc 192.168.7.1 19000
-
@jsulm said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:
This is done on workstation (host)
workstation@workstation:~/opt$ nc -l 19000|dd bs=1M of=bbb-with-ssl-and-icu-dev.img
I had a problem on workstation.
already i was upload a image on above conversation. -
@Sekhar But did you issue the second command on the device also? Because without it the command on your workstation will timeout.
-
i tried on both workstation and beaglebone also but didn't response. Ok i will try it once again.
Nearly How much space(Memory) for this operation is required in my workstation(system).
thank you. -
@Sekhar said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:
Nearly How much space(Memory) for this operation
Depends on the size of the device partition.
Did you make sure you're using correct IP address? -
@jsulm
Thanks for your vlauble time to spent with my problems solving.
that image file copied in my /opt/ folder.now I am trying to do next step: mount that image, but it shows an error message like
in my vertual system had remaing 2GB space only, after copied this image file. that image file takes nearly 16GB.
-
@Sekhar said in make[1]: *** [makefile:1624: obj/release/pcre_exec.o] Error 1:
in my vertual system had remaing 2GB
If it is a virtual system you can resize the virtual hard disk and then resize the partition in your virtual system.
Regarding mount issue: try to specify file system type using -t parameter (use same file system type used on your device).
-
As i was installed Ubuntu 19.04 and i would bi tried these steps mentioned in the document [https://wiki.qt.io/BeagleBone_Black_Beginners_Guide](link url)
but at the 3 point(Preparing workstation) i got an error.... like
and if i was followed another documentation [http://thoughtwaves.com/?p=50](link url) and i got an error like
i was struggled last 2 months for interfacing QT with Beaglebone Black.
my intention is to developing and run a basic QT application on my BeagleBone Black board.could you please tell me how can i slove this error.
-
Start by stopping mixing Qt 4 and Qt 5 instruction sets.
Follow the Qt wiki instructions and only these.
-
@SGaist
if i was followed QT wiki instructions i got an error at the time of mount an image.already asked is same query in the above conversation but some one told to specify the file system type using -t parameter
that's why i am using -o and -tis there any other way to mount that iso. file. for move on next steps...
-
@Sekhar If you would post your console output as text, we could easily modify it and send it back to you. But as pic, that's impossible.
So just a rought template, the syntax is:
mount -t <filesystem-type> -o loop,<other parameters> <file.img> </path/to/mountpoint>
Regards
-
@aha_1980
thank you... it will working... -
If i was tried to create a make file
by following the Qt-wiki document i got an error..... in
7.Compiling qtbase (Qt 5.7)In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
typedef struct x509_st X509;
^
ssl/qsslcertificate_openssl.cpp: In member function 'QByteArray QSslCertificate::version() const':
ssl/qsslcertificate_openssl.cpp:93:68: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
QByteArray::number(qlonglong(q_ASN1_INTEGER_get(d->x509->cert_info->version)) + 1);
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
typedef struct x509_st X509;
^
ssl/qsslcertificate_openssl.cpp: In member function 'QByteArray QSslCertificate::serialNumber() const':
ssl/qsslcertificate_openssl.cpp:102:45: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
ASN1_INTEGER *serialNumber = d->x509->cert_info->serialNumber;
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
typedef struct x509_st X509;
^
ssl/qsslcertificate_openssl.cpp: In member function 'QSslKey QSslCertificate::publicKey() const':
ssl/qsslcertificate_openssl.cpp:238:32: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
X509_PUBKEY *xkey = d->x509->cert_info->key;
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:119:16: error: forward declaration of 'X509 {aka struct x509_st}'
typedef struct x509_st X509;
^
ssl/qsslcertificate_openssl.cpp:242:29: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_RSA) {
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
typedef struct evp_pkey_st EVP_PKEY;
^
ssl/qsslcertificate_openssl.cpp:246:36: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DSA) {
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
typedef struct evp_pkey_st EVP_PKEY;
^
ssl/qsslcertificate_openssl.cpp:251:36: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_EC) {
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
typedef struct evp_pkey_st EVP_PKEY;
^
ssl/qsslcertificate_openssl.cpp:256:36: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
} else if (q_EVP_PKEY_type(pkey->type) == EVP_PKEY_DH) {
^
In file included from /mnt/bbb-rootfs/usr/include/openssl/crypto.h:31:0,
from /mnt/bbb-rootfs/usr/include/openssl/comp.h:16,
from /mnt/bbb-rootfs/usr/include/openssl/ssl.h:47,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/../../../../../src/network/ssl/qsslcontext_openssl_p.h:59,
from ../../include/QtNetwork/5.7.1/QtNetwork/private/qsslcontext_openssl_p.h:1,
from ssl/qsslsocket_p.h:61,
from ssl/qsslsocket_openssl_p.h:69,
from ssl/qsslsocket_openssl_symbols_p.h:70,
from ssl/qsslcertificate_openssl.cpp:41:
/mnt/bbb-rootfs/usr/include/openssl/ossl_typ.h:93:16: error: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
typedef struct evp_pkey_st EVP_PKEY;
^
ssl/qsslcertificate_openssl.cpp: In function 'uint qHash(const QSslCertificate&, uint)':
ssl/qsslcertificate_openssl.cpp:73:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
make[2]: *** [Makefile:20795: .obj/qsslcertificate_openssl.o] Error 1
make[2]: Leaving directory '/opt/qt5bbb/qt5/qtbase/src/network'
make[1]: *** [Makefile:236: sub-network-make_first] Error 2
make[1]: Leaving directory '/opt/qt5bbb/qt5/qtbase/src'
make: *** [Makefile:47: sub-src-make_first] Error 2could you please tell me how can i solve that errors.....
thank you -
Are you trying to build Qt 5.7 using OpenSSL 1.1 ?
If so that won't work. Either use OpenSSL 1.0 or update Qt to version that is current.