Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[QoolBox VMDK] My Personal SDK with Fajo ToolChain
#46
scavenger Wrote:giving to cmake a C compiler forced name (the toolchain name) is not always working: obviously, it's not taken into account; it still search for "cc"

well, in fact for cmake you have to put the whole file path :
-DCMAKE_C_COMPILER=${CROSSBASE32}/bin/${CROSSHOST32}-cc

anyway i still like the symlink trick
scavenger
N5550 V2.05.08.20150416.cdv + 4G patch
2*4GB Corsair CMSO8GX3M2A1333C9 = 8GB RAM
5 x 2To Hitashi HDS72202 (RAID5) @ write=72MB/s - read=91MB/s (802.3ad dual cable)
Reply
#47
scavenger Wrote:
scavenger Wrote:giving to cmake a C compiler forced name (the toolchain name) is not always working: obviously, it's not taken into account; it still search for "cc"

well, in fact for cmake you have to put the whole file path :
-DCMAKE_C_COMPILER=${CROSSBASE32}/bin/${CROSSHOST32}-cc

anyway i still like the symlink trick


only if you use Modebase1 as dependency Wink

otherwise

Code:
-DCMAKE_C_COMPILER=${HOST}-cc

is enought
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#48
Hello
I'm a newby in linux and thecus modules writing. So have some disunderstanding and troubles. Thus now i have 2 questions:
1) (Not espaccialy for your VMDK) Am I right if think that i can write the module like ordinary binary application, just using the libraries from toolchain and some offers in code. And only on last step make the module from it by mk_module ? or all tools like gcc, g++ and so on in toolchain is modified to produce special code?

2) I take your VMDK, install the netbeans on it, but now i do not understand what i must to do to make it use the toolchain to compile the module binaries. Can you help me with it? (i need to meke some modules to my N4200 and N4200Eco.) Repeat one more that i am newby with linux. The netbeans was iven just cause i work with MPLABX in windows and it was based on netbeans. May be my choise was wrong, i don't know. I just need rapid ide to work.

thank you.
Reply
#49
Hello
I'm a newby in linux and thecus modules writing. So have some disunderstanding and troubles. Thus now i have 2 questions:
1) (Not espaccialy for your VMDK) Am I right if think that i can write the module like ordinary binary application, just using the libraries from toolchain and some offers in code. And only on last step make the module from it by mk_module ? or all tools like gcc, g++ and so on in toolchain is modified to produce special code?

2) I take your VMDK, install the netbeans on it, but now i do not understand what i must to do to make it use the toolchain to compile the module binaries. Can you help me with it? (i need to meke some modules to my N4200 and N4200Eco.) Repeat one more that i am newby with linux. The netbeans was iven just cause i work with MPLABX in windows and it was based on netbeans. May be my choise was wrong, i don't know. I just need rapid ide to work.

thank you.
Reply
#50
the Step are :

install debian 6 (7 is bugging with my toolchain)
unpack the Toolchain in /
create and edit /root/.bash_profile (look at first page of this thread)

download http://ftp.thecus.com/module/category-1/...0.3.tar.gz
to have skeleton module structure

and follow the Thecus SDK guide

http://ftp.thecus.com/module/category-1/.../document/
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#51
the Step are :

install debian 6 (7 is bugging with my toolchain)
unpack the Toolchain in /
create and edit /root/.bash_profile (look at first page of this thread)

download http://ftp.thecus.com/module/category-1/...0.3.tar.gz
to have skeleton module structure

and follow the Thecus SDK guide

http://ftp.thecus.com/module/category-1/.../document/
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#52
Quote:install debian 6 (7 is bugging with my toolchain)

So, the VMDK image with Fedora installed (which is a topic subj) is not usefull? Or there is something else that i am not understand about?
Reply
#53
Quote:install debian 6 (7 is bugging with my toolchain)

So, the VMDK image with Fedora installed (which is a topic subj) is not usefull? Or there is something else that i am not understand about?
Reply
#54
ooops sorry i confused, i think we are talking about the Debian ToolChain

<!-- l --><a class="postlink-local" href="http://forum.thecus.com/viewtopic.php?f=70&t=6661">viewtopic.php?f=70&t=6661</a><!-- l -->

yes this version is a Fedora 16 with toolchain preinstalled, just have to follow the Thecus SDK Guide

:mrgreen:
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#55
ooops sorry i confused, i think we are talking about the Debian ToolChain

<!-- l --><a class="postlink-local" href="http://forum.thecus.com/viewtopic.php?f=70&t=6661">viewtopic.php?f=70&t=6661</a><!-- l -->

yes this version is a Fedora 16 with toolchain preinstalled, just have to follow the Thecus SDK Guide

:mrgreen:
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#56
Qoolbox Wrote:some example will follow

Would be nice if you can make a example with Privoxy I spend now hours to make a module from it - but dont can handle it :/
Reply
#57
Qoolbox Wrote:some example will follow

Would be nice if you can make a example with Privoxy I spend now hours to make a module from it - but dont can handle it :/
Reply
#58
Hello

unpack source in a directory
and check ./configure --help to view dependencies

you have to cross compie dependecies as prior before compiling you main source package


Wink
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#59
Hello

unpack source in a directory
and check ./configure --help to view dependencies

you have to cross compie dependecies as prior before compiling you main source package


Wink
Stéphane Guérithault

In a world without walls and fences, who needs Windows and Gates

PayPal Donation: https://www.paypal.me/qoolbox

My apps

##########################################################################

rolling now for competitor, i do not support anymore Thecus apllications due to lack of time

##########################################################################


voyance - Sophrologue Hypnothérapeute Essonne 
Reply
#60
maybe I understand nothing ^^:

Code:
[root@(none) ~]# ls
anaconda-ks.cfg  install.log.syslog     privoxy-3.0.21-stable-src.tar.gz
install.log      privoxy-3.0.21-stable
[root@(none) ~]# ./configure --prefix=/raid/data/module/privoxy
-bash: ./configure: No such file or directory
[root@(none) ~]# cd privoxy-3.0.21-stable/
[root@(none) privoxy-3.0.21-stable]# ./configure --prefix=/raid/data/module/privoxy
-bash: ./configure: No such file or directory
[root@(none) privoxy-3.0.21-stable]# ./configure --prefix=/raid/data/module/privoxy
-bash: ./configure: No such file or directory
[root@(none) privoxy-3.0.21-stable]# ./configure --help
-bash: ./configure: No such file or directory

help Smile ?!

EDIT: Have your VM from post 1.

ok maybe im now one step ahead- but i struggle with 2 points :

with ./configure --prefix=/raid/data/module/privoxy i got this waring:
Code:
configure: WARNING: No zlib found.
   Privoxy will not be able to filter compressed content.
   This may become a fatal error in the future.
configure: WARNING: You are using the static PCRE code which is out of date and scheduled for removal, for details see:
    http://sourceforge.net/mailarchive/forum.php?thread_name=20080511195555.2dc6cfdc%40fabiankeil.de&forum_name=ijbswa-developers

and during make install i got this:
Code:
id: privoxy: No such user
******************************************************************
WARNING! WARNING! installing config files as root!
It is strongly recommended to run privoxy as a non-root user,
and to install the config files as that user and/or group!
Please read INSTALL, and create a privoxy user and group!
*******************************************************************
make: *** [install] Error 1

In the install readme stand this:

Code:
It is also strongly recommended to not run Privoxy as root. You should
configure/install/run Privoxy as an unprivileged user, preferably by creating a
"privoxy" user and group just for this purpose. See your local documentation
for the correct command line to do add new users and groups (something like
adduser, but the command syntax may vary from platform to platform).

/etc/passwd might then look like:

  privoxy:*:7777:7777:privoxy proxy:/no/home:/no/shell

And then /etc/group, like:

  privoxy:*:7777:

Some binary packages may do this for you.

maybe im on the right way ^^ with a little bit help from you Smile

EDIT2: maybe i got it Smile i add a user with "adduser" and also a group now the "make install" worked.

I have now a share called "privoxy" with following:

var
share
sbin
etc

is this correct? and what to do now ?
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  [QoolBox VMDK] My Personal SDK with Fajo ToolChain 0 19,533 Less than 1 minute ago
Last Post:

Forum Jump:


Users browsing this thread: 2 Guest(s)