rpcclient error on Irix 6.5

Clifford Meece cliff at scs.uiuc.edu
Sat Dec 18 03:14:41 EST 1999


I found 2 errors in the latest cvs update in rpcclient.c:

Error 1
=============
cc-1029 cc: ERROR File = rpcclient/rpcclient.c, Line = 317
  An expression is expected at this point.

  <<<<<<< rpcclient.c
  ^

cc-1029 cc: ERROR File = rpcclient/rpcclient.c, Line = 319
  An expression is expected at this point.

  =======
  ^

cc-1012 cc: WARNING File = rpcclient/rpcclient.c, Line = 328
  Parsing restarts here after previous syntax error.

                wait_keyboard(smb_cli);
                                      ^

cc-1029 cc: ERROR File = rpcclient/rpcclient.c, Line = 330
  An expression is expected at this point.

  >>>>>>> 1.111


It looks like a simple mistake so I just edited those lines out.


error 2
=========

ld32: ERROR   33 : Unresolved text symbol "cli_use_wait_keyboard" -- 1st referenced by rpcclient/rpcclient.o.
        Use linker option -v to see when and which objects, archives and dsos are loaded.
ld32: INFO    152: Output file removed because of error.
gmake: *** [bin/rpcclient] Error 2

The section of code from rpcclient.c is:

=====================================

       else while (!feof(stdin))
        {
                fstring tok;

                /* display a prompt */
                fprintf(out_hnd, "smb: %s> ", CNV_LANG(info->cur_dir));
                fflush(out_hnd);

                cli_use_wait_keyboard();
#ifdef CLIX
                line[0] = wait_keyboard(smb_cli);
                /* this might not be such a good idea... */
                if ( line[0] == EOF)
                {
                        break;
                }
#else
                wait_keyboard(smb_cli);
#endif

--
===============================================================
Cliff Meece                      \\ Phone: (217) 333-1728
Unix Systems Administrator       \\ Email: cliff at scs.uiuc.edu
School of Chemical Sciences      \\ 153 Noyes Lab
University of Illinois           \\
===============================================================





More information about the samba-cvs mailing list