Debian Template/Patches for C30 v3.10 i386

View: New views
5 Messages — Rating Filter:   Alert me  

Debian Template/Patches for C30 v3.10 i386

by Xiaofan Chen :: Rate this Message:

| View Threaded | Show Only this Message

---------- Forwarded message ----------
From: Hiep DOAN <mail AT falleaf.net>
Date: Thu, May 29, 2008 at 7:40 PM
Subject: Template for C30 v3.10 i386
To: Xiaofan Chen <xiaofanc AT gmail.com>, bqviet AT gmail.com

This is the template for C30 v3.10.

This is modified from John's workart by Mr. Quang Viet BUI (bqviet AT
gmail.com) from www.dientuvietnam.net - VIETNAM

--
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN:
+84 936 316 326
www.rpc.vn - www.falleaf.net



---------------------------------------------------------------------
To unsubscribe, e-mail: gnupic-unsubscribe@...
For additional commands, e-mail: gnupic-help@...

pic30-binutils-3.10.tar.bz2 (6K) Download Attachment
pic30-gcc-3.10.tar.bz2 (7K) Download Attachment

Re: Debian Template/Patches for C30 v3.10 i386

by dennis_amonics :: Rate this Message:

| View Threaded | Show Only this Message

Hi Xiaofan and Hiep,

I am trying to make the .deb files using your modified patches. However, I've found the following problems:

1) When I build the package pic30-binutils_3.10-1_i386.deb, using the download source mplabalc30_v3_10.tar.gz, an unpacking error was generated. It turns out there is a missing underscore in the "rule" file: binutils=mplabalc30v3_10. After changing the filename as mplabalc30_v3_10, the problem is solved.

2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using the download source mplabc30_v3_10.tar.gz, an unpacking error was generated. This time, I cannot determine where the problem is. The error message is as follows:

Dennis@ubuntu-server:~/module/mplab_3_10/pic30-3.10/pic30-gcc-3.10$ dpkg-buildpackage -rfakeroot -b
dpkg-buildpackage: source package is pic30-gcc
dpkg-buildpackage: source version is 3.10-1
dpkg-buildpackage: source changed by BQV <bqviet@gmail.com>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 3.10-1
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -rf /home/Dennis/module/mplab_3_10/pic30-3.10/pic30-gcc-3.10/build_dir *-stamp
dh_clean
 debian/rules build
dh_testdir
mkdir -p /home/Dennis/module/mplab_3_10/pic30-3.10/pic30-gcc-3.10/build_dir/src
# unpack upstream tarballs
unpacking mplabc30_v3_10
 *** Error: Failed to unpack mplabc30_v3_10
make: *** [unpack-stamp] Error 1

I wonder if you guys can help.

Cheers.
Dennis




Xiaofan Chen wrote:
---------- Forwarded message ----------
From: Hiep DOAN <mail AT falleaf.net>
Date: Thu, May 29, 2008 at 7:40 PM
Subject: Template for C30 v3.10 i386
To: Xiaofan Chen <xiaofanc AT gmail.com>, bqviet AT gmail.com

This is the template for C30 v3.10.

This is modified from John's workart by Mr. Quang Viet BUI (bqviet AT
gmail.com) from www.dientuvietnam.net - VIETNAM

--
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN:
+84 936 316 326
www.rpc.vn - www.falleaf.net

 
 
---------------------------------------------------------------------
To unsubscribe, e-mail: gnupic-unsubscribe@linuxhacker.org
For additional commands, e-mail: gnupic-help@linuxhacker.org

Re: Debian Template/Patches for C30 v3.10 i386

by Xiaofan Chen :: Rate this Message:

| View Threaded | Show Only this Message

On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics <dennis@...> wrote:
>
> Hi Xiaofan and Hiep,

Sorry for the late reply. I only tested this today.

> I am trying to make the .deb files using your modified patches. However,
> I've found the following problems:
>
> 1) When I build the package pic30-binutils_3.10-1_i386.deb, using the
> download source mplabalc30_v3_10.tar.gz, an unpacking error was generated.
> It turns out there is a missing underscore in the "rule" file:
> binutils=mplabalc30v3_10. After changing the filename as mplabalc30_v3_10,
> the problem is solved.



Same here. And the resultant debian package did not work. It caused
seg-fault.

> 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using the
> download source mplabc30_v3_10.tar.gz, an unpacking error was generated.
> This time, I cannot determine where the problem is. The error message is as
> follows:

Same error here under Ubuntu 6.06.

I've also received debian package from Hiep Doan. Both caused seg-fault
under Ubuntu 8.04.

Xiaofan

---------------------------------------------------------------------
To unsubscribe, e-mail: gnupic-unsubscribe@...
For additional commands, e-mail: gnupic-help@...


Re: Debian Template/Patches for C30 v3.10 i386

by falleaf :: Rate this Message:

| View Threaded | Show Only this Message

There are an seg-fault in strcpy().

There are 6 places in the sourcecode they use this function without checking
the string length of the source and destination. We can correct it, but we
should notice Microchip officially before announce to the community.

Thanks.

2008/8/1 Xiaofan Chen <xiaofanc@...>

> On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics <dennis@...>
> wrote:
> >
> > Hi Xiaofan and Hiep,
>
> Sorry for the late reply. I only tested this today.
>
> > I am trying to make the .deb files using your modified patches. However,
> > I've found the following problems:
> >
> > 1) When I build the package pic30-binutils_3.10-1_i386.deb, using the
> > download source mplabalc30_v3_10.tar.gz, an unpacking error was
> generated.
> > It turns out there is a missing underscore in the "rule" file:
> > binutils=mplabalc30v3_10. After changing the filename as
> mplabalc30_v3_10,
> > the problem is solved.
>
>
>
> Same here. And the resultant debian package did not work. It caused
> seg-fault.
>
> > 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb, using
> the
> > download source mplabc30_v3_10.tar.gz, an unpacking error was generated.
> > This time, I cannot determine where the problem is. The error message is
> as
> > follows:
>
> Same error here under Ubuntu 6.06.
>
> I've also received debian package from Hiep Doan. Both caused seg-fault
> under Ubuntu 8.04.
>
> Xiaofan
>



--
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN: +84 936
316 326
www.rpc.vn - www.falleaf.net

RE: Debian Template/Patches for C30 v3.10 i386

by Joseph.Julicher :: Rate this Message:

| View Threaded | Show Only this Message

I have passed this on to the C30 team.

Joseph Julicher
Applications Manager
Microchip Technology, Inc.

-----Original Message-----
From: Hiep DOAN [mailto:mail@...]
Sent: Sunday, September 28, 2008 11:55 PM
To: Xiaofan Chen
Cc: gnupic@...
Subject: Re: [gnupic] Debian Template/Patches for C30 v3.10 i386

There are an seg-fault in strcpy().

There are 6 places in the sourcecode they use this function without
checking
the string length of the source and destination. We can correct it, but
we
should notice Microchip officially before announce to the community.

Thanks.

2008/8/1 Xiaofan Chen <xiaofanc@...>

> On Thu, Jun 19, 2008 at 4:17 PM, dennis_amonics <dennis@...>
> wrote:
> >
> > Hi Xiaofan and Hiep,
>
> Sorry for the late reply. I only tested this today.
>
> > I am trying to make the .deb files using your modified patches.
However,
> > I've found the following problems:
> >
> > 1) When I build the package pic30-binutils_3.10-1_i386.deb, using
the

> > download source mplabalc30_v3_10.tar.gz, an unpacking error was
> generated.
> > It turns out there is a missing underscore in the "rule" file:
> > binutils=mplabalc30v3_10. After changing the filename as
> mplabalc30_v3_10,
> > the problem is solved.
>
>
>
> Same here. And the resultant debian package did not work. It caused
> seg-fault.
>
> > 2) Then I continue to build the package pic30-gcc_3.10-1_i386.deb,
using
> the
> > download source mplabc30_v3_10.tar.gz, an unpacking error was
generated.
> > This time, I cannot determine where the problem is. The error
message is
> as
> > follows:
>
> Same error here under Ubuntu 6.06.
>
> I've also received debian package from Hiep Doan. Both caused
seg-fault
> under Ubuntu 8.04.
>
> Xiaofan
>



--
DOAN Hiep

Vice Director
R&P Trading and Forwarding Co. Ltd.
58/48 Nguyen Minh Hoang - Ward 12 - District Tan Binh
Hochiminh city - 70000 - VIETNAM
Office VN: +84 8 8119870 - Mobile KR: +82 10 2079 1635 - Mobile VN: +84
936
316 326
www.rpc.vn - www.falleaf.net

---------------------------------------------------------------------
To unsubscribe, e-mail: gnupic-unsubscribe@...
For additional commands, e-mail: gnupic-help@...