[#7224] undifined variable x25_address in ./user/net-tools/lib/x25_src.c

Document created by Aaronwu Employee on Sep 12, 2013
Version 1Show Document
  • View in full screen mode

[#7224] undifined variable x25_address in ./user/net-tools/lib/x25_src.c

Submitted By: Alexander Ens

Open Date

2012-08-02 08:08:25    

Priority:

Medium     Assignee:

steven miao

Status:

Open     Fixed In Release:

N/A

Found In Release:

snaps     Release:

git clone at 2012-08-01

Category:

Networking     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

2012R1-BETA1.i386

App binary format:

N/A     

Summary: undifined variable x25_address in ./user/net-tools/lib/x25_src.c

Details:

 

When compiling the net-tools, the compile stop with error "x25_src.c:80: error: >>x25_address<< not declared, first use ..."

 

The source code version is 1.00 08/15/98 from git repository

./uclinux-dist/user/net-tools/lib/125_src.c

 

This bug was fixed in

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223091

 

Therefore to compile this, line 80 has to be changed:

 

-  memcpy(&rt.address, &sx25.sx25_addr, sizeof(x25_address));

+  memcpy(&rt.address, &sx25.sx25_addr, sizeof(struct x25_address));

 

Follow-ups

 

--- steven miao                                              2012-08-09 04:22:56

applied

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes