DirectFB compilation errors....

2008-03-04 Thread vidyadhara.talya
Hi

I am not pretty sure if this is the right mailing list.

I am trying to get the directFB code compile on MontaVista. The first
and the foremost command I give is the following
./configure --target=armv5vtl-montavista-linuxeabi --disable-shared
--enable-static.

Well the configure goes smoothly. But when I give make then I get errors
which are attached in the following file. I am not sure if I need to
apply any patches here.

Help is greatly appreciated.

Regards
Vidya.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

log.c:248: warning: `struct addrinfo' declared inside parameter list
log.c:248: warning: its scope is only this definition or declaration, which i
robably not what you want
log.c: In function `parse_host_addr':
log.c:259: error: storage size of `hints' isn't known
log.c:287: error: implicit declaration of function `getaddrinfo'
log.c:290: error: `EAI_FAMILY' undeclared (first use in this function)
log.c:290: error: (Each undeclared identifier is reported only once
log.c:290: error: for each function it appears in.)
log.c:294: error: `EAI_SOCKTYPE' undeclared (first use in this function)
log.c:298: error: `EAI_NONAME' undeclared (first use in this function)
log.c:302: error: `EAI_SERVICE' undeclared (first use in this function)
log.c:306: error: `EAI_ADDRFAMILY' undeclared (first use in this function)
log.c:307: error: `EAI_NODATA' undeclared (first use in this function)
log.c:311: error: `EAI_MEMORY' undeclared (first use in this function)
log.c:314: error: `EAI_FAIL' undeclared (first use in this function)
log.c:318: error: `EAI_AGAIN' undeclared (first use in this function)
log.c: In function `init_udp':
log.c:339: warning: passing arg 2 of `parse_host_addr' from incompatible poin
 type
log.c:343: error: dereferencing pointer to incomplete type
log.c:347: error: implicit declaration of function `freeaddrinfo'
log.c:351: error: dereferencing pointer to incomplete type
log.c:351: error: dereferencing pointer to incomplete type
make[3]: *** [log.lo] Error 1
make[3]: Leaving directory `/cygdrive/d/vidya/DirectFB-1.1.1/lib/direct'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/cygdrive/d/vidya/DirectFB-1.1.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/vidya/DirectFB-1.1.1'
make: *** [all] Error 2___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: cross-compiling DirectFB and others

2008-03-06 Thread vidyadhara.talya
Hi David

Thanks for the info.

You have mentioned to set the CROSS_COMPILE_PREFIX to root. Does this
apply for Windows environment too ? Montavista installs Cygwin and
actual montavista lies in the directory "/opt/montavista". So should I
set  CROSS_COMPILE_PREFIX to "/" or "/opt/montavista" ?

Regards
Vidya.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, March 07, 2008 3:18 AM
To: [EMAIL PROTECTED];
davinci-linux-open-source@linux.davincidsp.com
Subject: cross-compiling DirectFB and others


Greetings,

I've bounced this to both DirectFB Dev (which people trying to get it
working on davinci should hop over to) and the davinci open source list.

With the risk of sounding foolish, I admit that I've spent more and a
few hours trying to cross compile DirectFB among other things for the
montavista toolchain.
Most answers to fix this involve setting all the LDFLAGS and such.

I guess I should have read the docs better, because there is a variable
referenced in all of the libtool .la files that makes this extremely
easy:
CROSS_COMPILE_PREFIX

If you export this as your root filesystem path, cross compiles work
just fine.
This includes the frustrating "libtool picks up the wrong libs" issue.

Again, this is probably common knowledge, but if I overlooked it then
maybe some others did too.

Regards,
David

DAVID A. KONDRAD
Software Design Engineer
On-Q/Legrand
www.onqlegrand.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: cross-compiling DirectFB and others

2008-03-07 Thread vidyadhara.talya

 Thanks a ton David !!

I will give a try. BTW, you mentioned that build, host and target
options to be in "platform-vendor-os" format. But here, I observed that
in "os" it is prefixing gnu. I am not sure what is the rational behind
by doing this - may be directfb is open source.

Regards
Vidya.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Friday, March 07, 2008 7:09 PM
To: Vidyadhara Talya (WT01 - Embedded & Product Engineering);
[EMAIL PROTECTED];
davinci-linux-open-source@linux.davincidsp.com
Subject: RE: cross-compiling DirectFB and others

Vidya,

Actually you should set this variable to the root of the target board
filesystem that either you're exporting via NFS for development.

For example, here's my setting:

export CROSS_COMPILE_PREFIX=/onq/davinci/workdir/filesys
Where filesys is a copy of the
/onq/software/montavista/pro/devkit/arm/v5t_le/target directory as per
montavista's instructions.

If you're not sure if it will work, you can look inside any *.la file in
the target file system under somewhere like /usr/lib At the
bottom of the file is an entry telling libtool where it should be
looking for the library and if it has that environment variable then
you're set.

Also, more modern autoconf and automake expect the --build --host
--target options to be in the platform-vendor-os format.
For montavista, this is: armv5tl-montavista-linuxeabi

The only catch is that montavista named all of their cross tools with
the
arm_v5t_le- prefix which won't be picked up by configure.
The easy solution to this is to make symlinks to all the cross tools
under /opt/montavista/pro/devkit/arm/v5t_le/bin with the proper prefix.

Although you could do this with a find/sed/ln -s combination, I just
chose to dump the file names to a script and use textpad's regex
functionality to generate the script.
I've attached the script to this email... for those reading from a
listserv list gmane or nabble, remember to change the extension to .sh
because I think they all default to .bin.
Remember to run the script in the
/opt/montavista/pro/devkit/arm/v5t_le/bin or whereever 'where
arm_v5t_le-gcc' points to.


Regards,
David


(See attached file: make_links.sh)

DAVID A. KONDRAD
Software Design Engineer
On-Q/Legrand
Telephone (800) 321-2343 x311
www.onqlegrand.com




 


To
 03/06/2008 10:59  <[EMAIL PROTECTED]>,

 PM<[EMAIL PROTECTED]>,


<[EMAIL PROTECTED]
   vincidsp.com>


cc



Subject
   RE: cross-compiling DirectFB and

   others

















Hi David

Thanks for the info.

You have mentioned to set the CROSS_COMPILE_PREFIX to root. Does this
apply for Windows environment too ? Montavista installs Cygwin and
actual montavista lies in the directory "/opt/montavista". So should I
set  CROSS_COMPILE_PREFIX to "/" or "/opt/montavista" ?

Regards
Vidya.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Friday, March 07, 2008 3:18 AM
To: [EMAIL PROTECTED];
davinci-linux-open-source@linux.davincidsp.com
Subject: cross-compiling DirectFB and others


Greetings,

I've bounced this to both DirectFB Dev (which people trying to get it
working on davinci should hop over to) and the davinci open source list.

With the risk of sounding foolish, I admit that I've spent more and a
few hours trying to cross compile DirectFB among other things for the
montavista toolchain.
Most answers to fix this involve setting all the LDFLAGS and such.

I guess I should have read the docs better, because there is a variable
referenced in all of the libtool .la files that makes this extremely
easy:
CROSS_COMPILE_PREFIX

If you export this as your root filesystem path, cross compiles work
just fine.
This includes the frustrating "libtool picks up the wrong libs" issue.

Again, this is probably common knowledge, but if I overlooked it then
maybe some others did too.

Regards,
David

DAVID A. KONDRAD
Software Design Engineer
On-Q/Legrand
www.onqlegrand.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmi

Frame buffer driver for TMS320DM6437

2008-03-10 Thread vidyadhara.talya
Hi

Has anybody developed TMS320DM6437 frame buffer driver (Linux) by any
chance ?

Please share with me if anybody has this info.

Regards
Vidya.

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: Frame buffer driver for TMS320DM6437

2008-03-10 Thread vidyadhara.talya
Hi  Satya

I did not understand your question.

Can you just elaborate on this ?

Regards
Vidya.


-Original Message-
From: Venkatachari, Sathyanarayan [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2008 6:53 PM
To: Vidyadhara Talya (WT01 - Embedded & Product Engineering)
Subject: RE: Frame buffer driver for TMS320DM6437


Is dm6437 not a dsp only part ??


Regards,
sathya

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
p.com] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, March 10, 2008 5:12 PM
To: [EMAIL PROTECTED];
davinci-linux-open-source@linux.davincidsp.com
Subject: Frame buffer driver for TMS320DM6437

Hi

Has anybody developed TMS320DM6437 frame buffer driver (Linux) by any
chance ?

Please share with me if anybody has this info.

Regards
Vidya.

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source


RE: Frame buffer driver for TMS320DM6437

2008-03-10 Thread vidyadhara.talya
Hi Brijesh

We are actually doing a migration project from having a VGA card ( for
supporting graphics) to DM6437. So actually in the new system, there is
no VGA involved. The existing system uses DirectFb in order to support
the graphics part. This aspect needs to be retained when shifting to DSP
6437. When I searched for a frame buffer driver for DM6437, I hit upon
DSP 6446 frame buffer driver at the directFB site. So my question is,
has anybody as such, developed a 6437 frame buffer driver ?

The difference, I see here is that 6446 is controlled by ARM controller,
where as 6437 does not have this instead it has the PCI bus support.

Regards
Vidya.

-Original Message-
From: Singh, Brijesh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2008 8:36 PM
To: Vidyadhara Talya (WT01 - Embedded & Product Engineering);
Venkatachari, Sathyanarayan
Cc: davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Frame buffer driver for TMS320DM6437

Vidya,

DM6437 is DSP only device.

We provide and support DSP-BIOS based driver for DM6437 device. You can
download the DM6437 software from www.ti.com/dvevmupdates

Have you ported Linux on this device?

FYI, One of our third party (virtual logix) offers Linux package for
DM6437. See the link below

http://www.virtuallogix.com/index.php?id=62&tx_ttnews%5Btt_news%5D=124&t
x_ttnews%5BbackPid%5D=85&cHash=d0b9f27dc5


Best Regards,
Brijesh Singh


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Monday, March 10, 2008 8:36 AM
To: Venkatachari, Sathyanarayan
Cc: davinci-linux-open-source@linux.davincidsp.com
Subject: RE: Frame buffer driver for TMS320DM6437

Hi  Satya

I did not understand your question.

Can you just elaborate on this ?

Regards
Vidya.


-Original Message-
From: Venkatachari, Sathyanarayan [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2008 6:53 PM
To: Vidyadhara Talya (WT01 - Embedded & Product Engineering)
Subject: RE: Frame buffer driver for TMS320DM6437


Is dm6437 not a dsp only part ??


Regards,
sathya

-Original Message-
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
p.com] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, March 10, 2008 5:12 PM
To: [EMAIL PROTECTED];
davinci-linux-open-source@linux.davincidsp.com
Subject: Frame buffer driver for TMS320DM6437

Hi

Has anybody developed TMS320DM6437 frame buffer driver (Linux) by any
chance ?

Please share with me if anybody has this info.

Regards
Vidya.

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s)
and may contain proprietary, confidential or privileged information. If
you are not the intended recipient, you should not disseminate,
distribute or copy this e-mail. Please notify the sender immediately and
destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email.

www.wipro.com

___
Davinci-linux-open-source mailing list
Da