hi,
I am using win98/gcc.
can anyone solve the following warnings ?
thank you.
Dinesh.
entry.o: In function `openNetLib':
entry.c:113: relocation END16 failed without `edata'
entry.o: In function `closeNetLib':
entry.c:139: relocation END16 failed without `edata'
/* part of entry.c */
void openNetLib(void)
{
Err err;
UInt16 ifErrs;
err = SysLibFind("Net.lib", &AppNetRefnum); /* line 113 */
if (err)
{
DebugPrint("lib not found", 13);
}
else
{
DebugPrint("lib found", 9);
}
err = NetLibOpen(AppNetRefnum, &ifErrs);
if (err || ifErrs)
{
DebugPrint("open failed", 11);
}
else
{
DebugPrint("open success", 12);
}
}
void closeNetLib(void)
{
Err err;
err = NetLibClose(AppNetRefnum, true); /* line 139 */
if (err)
{
DebugPrint("close failed", 12);
}
else
{
DebugPrint("close success", 13);
}
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/