netdb.h file for MPC8313ERDB

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

netdb.h file for MPC8313ERDB

1,511件の閲覧回数
ak79
Contributor I
Hi,

  I have an application built on the PC which transmits data to a given IP. I am trying to port the same on to the MPC8313ERDB. I am unable to find the netdb.h file from the board source code. I am unable to perform some of the socket related functions. Is there a alternative/replacement for this netdb.h file??

Regards,
Ak79
タグ(1)
0 件の賞賛
返信
1 返信

875件の閲覧回数
abartky
Contributor IV

Ak79,

On my Linux machine, the netdb.h file is under the same directory as all the other regular include files for compiling MPC8313E targeted linux apps.

Here is where I found it on my machine:

alan@raptor:/opt/mtwk/usr/local/powerpc-linux/gcc-3.4.3-glibc-2.3.3/powerpc-linux/include$

ls net*.h

netdb.h

I also know that busybox uses netdb.h, so I'd assume it would be a standard install when LTIB is installed, but as I've recompiled busybox to add some options that were not in the default build of the MPC8313E Linux BSP, I guess there is a chance that the .h file is installed if you build busybox from the ./ltib --configure menu.

Hope this helps.

Cheers,

abartky

0 件の賞賛
返信