Having problems building in the posix message queue support into the kernel. (5.03.01.15)
We used the menuconfig option to reconfigure the kernel build options.
We did a complete recompile using "make clean" , "make all" , make "install" and reloaded on SD card.
We verified in .config and ti8148_evm_defconfig files that it is turned on but its either not building it into
the kernel or its not really using our new kernel image....
When application runs:
mq_open encounters a failure with errno 38 (function not implemented)
Hi all,
Any one please help us with this problem?
Thanks & Regards,
K.AmirthaRaj
Hello,
Please, try:
cd <EZSDK_HOME>/board-support/linux-<XX>/
cp arch/arm/configs/ti8148_evm_defconfig .config
make ARCH=arm xconfig
<<Reconfig the kernel and save>>
cp .config arch/arm/configs/ti8148_evm_defconfig
cd ../..
make linux_clean
make linux
make linux_install
cp ~/install/dm816x-evm/boot/uImage /media/boot/
sync
BR
Vladimir
P.S. If this response helps answering your question please mark this post as verified - Thanks!
PS: I updated my post, so please, read it from the forum, not from your e-mail.
Hi Vladimir,
we tried as you recommended above steps, the following error appears after " make arch= ARM xconfig" execution.
Kindly suggest the solution asap.
Thanks in Advance,
Amirtharaj.k
xconfig is just the tool which provides you with easy-to-use interface to configure the kernel. You can use anything else: menuconfig (you can just continue with this), gconfig.
Your xconfig is not working because you need to install some QT4 packages. Perhaps if just install this it will start to work on your host as well:
# apt-get install qt4-dev-tools
The main idea of my first post was to copy back the configuration to default configuration file, so to be sure that the Makefile-s, as they are, will apply the right configuration changes. This is not the only way to do it.
If you don't have one, it is a good idea to have a local version control (i.e. initialize a local git) so you can track your source and bring back the previous configuration.