buglwIP - A Lightweight TCP/IP stack - Bugs: bug #2489, unix minimal port does not build

 
 

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

bug #2489: unix minimal port does not build

Submitted by:  David Haas <davidhaas>
Submitted on:  Thu 06 Feb 2003 10:45:58 PM UTC  
 
Category: ContribSeverity: 2 - Minor
Item Group: Faulty BehaviourStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None
lwIP version: None

Fri 07 Feb 2003 10:17:44 AM UTC, comment #2:

tcp_timer_needed is not found because it's in a non-raw API file.Make it a noop for raw API.(when NO_SYS = 1)
Closed.

Jani Monoses <jani>
Project Member
Fri 07 Feb 2003 07:54:09 AM UTC, comment #1:

it builds for me on linux and I have 2days old sources without your last changes.Maybe cygwin is different but since it complains about tcp_timer_needed I think is related to 'have tcp timers only when needed' change.
I've not checked out the latest code yet to see what all that is about.

Jani Monoses <jani>
Project Member
Thu 06 Feb 2003 10:45:58 PM UTC, original submission:

I don't think I broke it, but its possible.

I can't build it under cygwin (very unix-like).

gcc -g -Wall -DIPv4 -Os -fpack-struct -I../../../../../lwip/src/include -I../../../../ports/unix/include -I../../../../../lwip/src/include/ipv4 -Iapps -I. -o minimal main.o liblwipapps.a liblwip4.a
liblwip4.a(tcp.o)(.text+0x320): In function `tcp_listen':
/home/dhaas/work/lwip/contrib/ports/unix/proj/minimal/../../../../../lwip/src/core/tcp.c:322: undefined reference to `_tcp_timer_needed'
liblwip4.a(tcp.o)(.text+0x47b): In function `tcp_connect':
/home/dhaas/work/lwip/contrib/ports/unix/proj/minimal/../../../../../lwip/src/core/tcp.c:430: undefined reference to `_tcp_timer_needed'
liblwip4.a(tcp_in.o)(.text+0x514): In function `tcp_listen_input':
/home/dhaas/work/lwip/contrib/ports/unix/proj/minimal/../../../../../lwip/src/core/tcp_in.c:384: undefined reference to `_tcp_timer_needed'
liblwip4.a(tcp_in.o)(.text+0x860): In function `tcp_process':
/home/dhaas/work/lwip/contrib/ports/unix/proj/minimal/../../../../../lwip/src/core/tcp_in.c:566: undefined reference to `_tcp_timer_needed'
collect2: ld returned 1 exit status
make: *** [minimal] Error 1

David Haas <davidhaas>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 07 Feb 2003 11:05:20 AM UTCjaniOpen/ClosedOpen=>(Error - Not Found)
Fri 07 Feb 2003 11:05:18 AM UTCjaniStatusNone=>(Error - Not Found)

Back to the top


Powered by Savane 3.1-cleanup1