SOLVED: htonl - worked under harmony 1.07, but not with 2.04?

Author
mrpackethead
Super Member
  • Total Posts : 685
  • Reward points : 0
  • Joined: 2007/04/01 23:33:39
  • Location: 0
  • Status: online
2017/10/13 01:29:34 (permalink)
0

SOLVED: htonl - worked under harmony 1.07, but not with 2.04?

I'm porting an old app from 1.07 to 2.04, but i've run into a problem.. I've got no idea how to get htonl() to work in my project.
This what i'm doing.. I thought htonl woudl be in tcpip_helpers, which is included part of my project. 
 
A
 
 
multicast_group.Val = htonl(group_ip);
 
bproject/Makefile-EP1.mk:90: recipe for target '.build-conf' failed
make[1]: Leaving directory 'C:/microchip/harmony/v2_04/apps/SRC_EP1_20/firmware/EP1_20_APP.X'
build/EP1/production/_ext/1360937237/acn.o: In function RECEIVER_Initialize':
c:/microchip/harmony/v2_04/apps/src_ep1_20/firmware/src/ac.c:44: undefined reference to `htonl'

post edited by mrpackethead - 2017/10/14 01:59:20
#1

1 Reply Related Threads

    mrpackethead
    Super Member
    • Total Posts : 685
    • Reward points : 0
    • Joined: 2007/04/01 23:33:39
    • Location: 0
    • Status: online
    Re: htonl - worked under harmony 1.07, but not with 2.04? 2017/10/13 23:05:45 (permalink)
    3 (1)
    The functions have had a name change.   htonl now is known as html_helper_htonl. 

    Microchip! Grrr.
    #2
    Jump to:
    © 2017 APG vNext Commercial Version 4.5