The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Porting DHCP from Linux to VxWorks Sunny Shivam IP Networking 2 05-01-2008 09:44 PM
when porting from HP-UX to Linux amitpansuria Linux 1 04-17-2008 11:08 PM
porting shell script from Linux to AIX. joy_1 Shell Programming and Scripting 6 12-26-2007 10:57 PM
Porting From Linux To Hpux anak0nda High Level Programming 8 10-31-2007 02:51 PM
HP-UX to linux porting arunprakash UNIX for Dummies Questions & Answers 0 02-21-2005 01:49 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-01-2008
Registered User
 

Join Date: May 2008
Posts: 3
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
Porting DHCP from Linux to VxWorks

Hello All,

I have a code of DHCP which is implemented on Linux. During porting this code from Linux to VxWorks, I come up with following errors:-

jects\freedom\ap\udhcp\socket.c
C:\projects\freedom\ap\udhcp\socket.c: In function `read_interface':
C:\projects\freedom\ap\udhcp\socket.c:79: `SIOCGIFINDEX' undeclared (first use in this fun
ction)
C:\projects\freedom\ap\udhcp\socket.c:79: (Each undeclared identifier is reported only onc
e
C:\projects\freedom\ap\udhcp\socket.c:79: for each function it appears in.)
C:\projects\freedom\ap\udhcp\socket.c:81: structure has no member named `ifr_ifindex'
C:\projects\freedom\ap\udhcp\socket.c:86: `SIOCGIFHWADDR' undeclared (first use in this fu
nction)
C:\projects\freedom\ap\udhcp\socket.c:87: union has no member named `ifru_hwaddr'
C:\projects\freedom\ap\udhcp\socket.c: In function `listen_socket':
C:\projects\freedom\ap\udhcp\socket.c:130: structure has no member named `ifr_ifrn'
C:\projects\freedom\ap\udhcp\socket.c:131: `SO_BINDTODEVICE' undeclared (first use in this
function)
make: *** [socket.o] Error 0x1

Done.

Can u people please suggest how to solve this as SO_BINDTODEVICE is not supported in Vxworks??

Waiting for your reply Frndz

Regards
Sunny
Forum Sponsor
  #2 (permalink)  
Old 05-01-2008
DukeNuke2's Avatar
Soulman (Moderator)
 
Join Date: Jul 2006
Location: Germany, Berlin
Posts: 1,096
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
No crossposting... Thread closed!
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 05:11 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101