Modify

Opened 20 months ago

#22614 new defect

librpc fails to compile

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

Hi,
librpc compile point out some warning like follows
ARCH="arm"

rcmd.c:118:2:warning: implicit declaration of function 'stack_heap_alloc' [-Wimplicit-function-declaration]
  tmphstbuf = stack_heap_alloc(hstbuflen);
  ^
rcmd.c:118:12: warning: assignment makes pointer from integer without a cast [enabled by default]
  tmphstbuf = stack_heap_alloc(hstbuflen);
            ^
rcmd.c:125:3: warning: implicit declaration of function '__set_h_errno' [-Wimplicit-function-declaration]
   __set_h_errno (herr);
   ^
rcmd.c:126:3: warning: implicit declaration of function 'stack_heap_free' [-Wimplicit-function-declaration]
   stack_heap_free(tmphstbuf);
   ^
rcmd.c:135:13: warning: assignment makes pointer from integer without a cast [enabled by default]
   tmphstbuf = stack_heap_alloc(hstbuflen);
             ^

and then when compile portmap with librpc point out

/usr/lib/librpc.so: undefined reference to `stack_heap_alloc'
/usr/lib/librpc.so: undefined reference to `__set_h_errno'
/usr/lib/librpc.so: undefined reference to `stack_heap_free'

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.