patchlwIP - A Lightweight TCP/IP stack - Patches: patch #5848, Patch to fix undefined...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #5848: Patch to fix undefined "u_char" whilst building unixsim

Submitter:  Tai-hwa Liang <atliang>
Submitted:  Tue 03 Apr 2007 03:29:32 AM UTC
   
 
Category:  None Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Wed 11 Apr 2007 06:58:57 PM UTC, comment #4: 

Closing this as done, since noone seems to object to my changes.

Simon Goldschmidt <goldsimon>
Group administrator
Wed 04 Apr 2007 07:20:29 PM UTC, comment #3: 

I'll check this in now, tried compiling with it and it seems to work for me.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 03 Apr 2007 04:30:17 PM UTC, comment #2: 

I'll check this in if noone objects.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 03 Apr 2007 01:18:23 PM UTC, comment #1: 

Ok, not a big patch, and rather straightforward (as I included an #if like this in ip_frag.h). But why do you compile pap.c if you have disabled PAP_SUPPORT ? ;-)

Simon Goldschmidt <goldsimon>
Group administrator
Tue 03 Apr 2007 03:29:32 AM UTC, original submission:  

The attached patch tries to wrap netif/ppp/pap.h with PAP_SUPPORT option.  Without this patch, building contrib/ports/unix/proj/unixsim will run into following error on a FreeBSD -CURRENT system:

gcc -g -Wall -Dunix -DIPv4 -DLWIP_DEBUG -pedantic -Iapps -I. -I../../../../../lwip/src/include -I../../../../ports/unix/include -I../../../../../lwip/src/include/ipv4 -I../../../../../lwip/src -c ../../../../../lwip/src/netif/ppp/pap.c
In file included from ../../../../../lwip/src/netif/ppp/pap.c:54:
../../../../../lwip/src/netif/ppp/pap.h:110: error: syntax error before "u_char"
gmake: * [pap.o] Error 1

Tai-hwa Liang <atliang>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #12383:  pap.h.patch added by atliang (583B - application/octet-stream - Patch to fix undefined "u_char" whilst building unixsim)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by atliang (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-04-11 goldsimon StatusReady For Test Done
        Open/ClosedOpen Closed
    2007-04-04 goldsimon StatusIn Progress Ready For Test
    2007-04-04 goldsimon StatusNone In Progress
        Assigned toNone goldsimon
    2007-04-03 atliang Attached File- Added pap.h.patch, #12383

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code