It is currently Thu Jan 22, 2026 10:48 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: uIP help
PostPosted: Sat Feb 18, 2006 4:40 pm 
Offline

Joined: Sat Jan 14, 2006 4:08 pm
Posts: 26
Hi .
I'm tring to compile one of the uIP apps (Telnet) but when I try (with crimson + cl65) I get the following ..

Code:
Opened include file `uip.h'
uip.h(55): Error: Include file `uipopt.h' not found
Input: #include "uipopt.h"
uip.h(316): Warning: Implicit `int' is an obsolete feature
Input: extern u8_t uip_buf[UIP_BUFSIZE+2];
uip.h(316): Error: `;' expected
Input: extern u8_t uip_buf[UIP_BUFSIZE+2];
uip.h(316): Error: Undefined symbol: `UIP_BUFSIZE'
Input: extern u8_t uip_buf[UIP_BUFSIZE+2];
uip.h(316): Error: Constant integer expression expected
Input: extern u8_t uip_buf[UIP_BUFSIZE+2];
uip.h(316): Warning: Implicit `int' is an obsolete feature
Input: void uip_listen(u16_t port);
uip.h(344): Error: `)' expected
Input: void uip_listen(u16_t port);
uip.h(344): Error: `{' expected
Input: void uip_listen(u16_t port);
uip.h(344): Error: Undefined symbol: `port'
Input: void uip_listen(u16_t port);
uip.h(344): Warning: Statement has no effect
Input: void uip_listen(u16_t port);
uip.h(344): Error: `;' expected
Input: void uip_listen(u16_t port);
uip.h(344): Error: Expression expected
Input: void uip_listen(u16_t port);
uip.h(344): Warning: Statement has no effect
Input: void uip_listen(u16_t port);
uip.h(344): Error: `;' expected
Input: void uip_listen(u16_t port);
uip.h(344): Error: Expression expected
Input: void uip_listen(u16_t port);
uip.h(344): Fatal: Too many errors
Input: void uip_listen(u16_t port);


Any ideas ? Please go easy on me as my C isn't that strong :oops: , (I develop in pascal/Delphi)

I cant find the header file uipopt.h anywhere.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sat Feb 18, 2006 4:45 pm 
Offline

Joined: Sat Jan 14, 2006 4:08 pm
Posts: 26
Ok .. I just found the missing include files :roll: .. now when i compile/link I get this :

Code:

Opened include file `uip.h'
Opened include file `uipopt.h'
Opened include file `httpd.h'
Opened include file `telnet.h'
0 errors, 0 warnings
Opened output file `telnet.s'
Wrote output to `telnet.s'
Closed output file `telnet.s'
Unresolved external `_main' referenced in:
  callmain.s(11)
Unresolved external `_telnet_aborted' referenced in:
  telnet.s(25)
Unresolved external `_telnet_closed' referenced in:
  telnet.s(23)
Unresolved external `_telnet_connected' referenced in:
  telnet.s(22)
Unresolved external `_telnet_newdata' referenced in:
  telnet.s(27)
Unresolved external `_telnet_sent' referenced in:
  telnet.s(24)
Unresolved external `_telnet_timedout' referenced in:
  telnet.s(26)
Unresolved external `_uip_appdata' referenced in:
  telnet.s(12)
Unresolved external `_uip_conn' referenced in:
  telnet.s(16)
Unresolved external `_uip_flags' referenced in:
  telnet.s(17)
Unresolved external `_uip_len' referenced in:
  telnet.s(14)
Unresolved external `_uip_sappdata' referenced in:
  telnet.s(13)
Unresolved external `_uip_slen' referenced in:
  telnet.s(15)
ld65.exe: Error: 13 unresolved external(s) found - cannot create output file
Press any key to exit


I 'm out of my depth now ..


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Feb 20, 2006 6:13 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
You need to link with all the .o files! Try adding them to your cl65 command line.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group