This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have a new evm6678LE kit and attempting to build a system using the linux-c6x instructions.
I have attempted the build using Ubuntu 12.04 64 bit and 32 bit. The build fails when trying to build rpm. The errors indicate there is a link problem:
/home/robert/ti_ocl/my-linux-c6x/Build/rpm-4.0.4/db3/../db/dist/../rpc_client/client.c:68: undefined reference to `clnt_create'
/home/robert/ti_ocl/my-linux-c6x/Build/rpm-4.0.4/db3/../db/dist/../rpc_client/client.c:70: undefined reference to `clnt_spcreateerror'
./rpmdb/.libs/librpmdb.a(gen_client.o): In function `__dbcl_env_cachesize_rpmdb':
/home/robert/ti_ocl/my-linux-c6x/Build/rpm-4.0.4/db3/../db/dist/../rpc_client/gen_client.c:70: undefined reference to `xdr_free'
/home/robert/ti_ocl/my-linux-c6x/Build/rpm-4.0.4/db3/../db/dist/../rpc_client/gen_client.c:85: undefined reference to `clnt_sperror'
./rpmdb/.libs/librpmdb.a(gen_client.o): In function `__dbcl_env_close_rpmdb':
/home/robert/ti_ocl/my-linux-c6x/Build/rpm-4.0.4/db3/../db/dist/../rpc_client/gen_client.c:114: undefined reference to `xdr_free'
/home/robert/ti_ocl/my-linux-c6x/Build/rpm-4.0.4/db3/../db/dist/../rpc_client/gen_client.c:127: undefined reference to `clnt_sperror'
Any one have any ideas? The linux-c6x wiki refers to Ubuntu 10.04, I hope I don't have to back down to something that old.
Robert,
We use LTS releases so the documentation stays valid for longer periods. Now that 12.04 is out we have a TODO item to fix up the system to work on that system.
I'll take a look at this but it may take a couple of days. If you or someone else solves this in the meantime please let us know so we can fix it for everyone.
BTW: What filesystem images are you trying to use? It should not need rpm unless your building full-root. If I am wrong about that you can try to set PKG_LIST="" in setenv.
Bill
I created a virtualbox build system base on 10.04 and was able to get everything to build.
I was trying to build a full-root build. I would like to do an NFS based system which uses full-root.
I just re-ran it with min-root and mcsdk-demo-root selected and it appears to have compiled.
Robert: I'm glad you were able to continue working.
For you or anyone else that find this post, here is what I found:
I have created a bug for this issue:
http://linux-c6x.org/cgi-bin/bugzilla3/show_bug.cgi?id=29
There is a patch attached to that bug which allowed me to do builds with full-root enabled on Ubuntu 12.04 32 bit.
Please note that the release has not been regression tested when building on 12.04. If you wish to use something that has passed our test cycle we still recommend using 10.04. That said, we don't expect issues with 12.04 and please report any issues you may encounter.
(It is still TODO to test on 64 bit.)
Within a day or so I will incorporate this fix into the linux-c6x-2.0.x branch and to the master (2.1 work) branch.