Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

error C compiler "#2165: too few arguments in function call"

Fernando Jose P de Souz
Regular Advisor

error C compiler "#2165: too few arguments in function call"

Hi,

 

Server: BL890

O.S.: HP-UX 11iv3

 

error: #2165: too few arguments in function call

 

hpxjf61 /tmp # cc t_principal.c
"t_principal.c", line 18: error #2165: too few arguments in function call
    putp(tparm(cursor_address,  2, 30)), printf ("MRS Logistica SA - Rotinas de Baan");
                                     ^

"t_principal.c", line 19: error #2165: too few arguments in function call
    putp(tparm(cursor_address,  3, 30)), printf ("----------------------------------");
                                     ^

"t_principal.c", line 21: error #2165: too few arguments in function call
    putp(tparm(cursor_address,  5, 20)), printf (" 0) - Termino deste script");
                                     ^

"t_principal.c", line 22: error #2165: too few arguments in function call
    putp(tparm(cursor_address,  7, 20)), printf (" 1) - Rotinas BaaN Transferencias e Testes Basicos de Comunicaçao");
                                     ^

"t_principal.c", line 23: error #2165: too few arguments in function call
    putp(tparm(cursor_address,  9, 20)), printf (" 2) - Jobs BaaN    ");
                                     ^

"t_principal.c", line 24: error #2165: too few arguments in function call
    putp(tparm(cursor_address,  11,20)), printf (" 3) - Utilizacao da CPU IBM SP-Baan");
                                     ^

"t_principal.c", line 25: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 13, 20)), printf (" 4) - Ocupacao do Sistema de Arquivos Baan");
                                     ^

"t_principal.c", line 26: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 15, 20)), printf (" 5) - Status do CLUSTER ");
                                     ^

"t_principal.c", line 27: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 17, 20)), printf (" 6) - Rotinas de SPOOL Baan - Impressoras");
                                     ^

"t_principal.c", line 28: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 19, 20)), printf (" 7) - Verifica IP dos servidores S80 - Cluster ");
                                     ^

"t_principal.c", line 29: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 21, 20)), printf (" 8) - Lista NFS /u/sislog/interface/baan_dcl");
                                     ^

"t_principal.c", line 30: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 23, 20)), printf (" 9) - ls -l /u/sislog/interface/baan_dcl");
                                     ^

"t_principal.c", line 31: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 25, 20)), printf ("10) - Monitora evolucao do Importador");
                                     ^

"t_principal.c", line 32: error #2165: too few arguments in function call
    putp(tparm(cursor_address, 29 ,31)), printf ("Escolha a opcao: ===>");
                                     ^

14 errors detected in the compilation of "t_principal.c".


hpxjf61 /tmp # cat t_principal.c
/*
##########################################################################
#                                                                        #
#        DATA:     01/98                                                 #
#                                                                        #
##########################################################################
*/

#include <curses.h>
#include <term.h>
#include <errno.h>
#define clr() system("clear");
main()
{
  clr();
  setupterm(0, 1, 0);
  putp(save_cursor);
  putp(tparm(cursor_address,  2, 30)), printf ("MRS Logistica SA - Rotinas de Baan");
  putp(tparm(cursor_address,  3, 30)), printf ("----------------------------------");

  putp(tparm(cursor_address,  5, 20)), printf (" 0) - Termino deste script");
  putp(tparm(cursor_address,  7, 20)), printf (" 1) - Rotinas BaaN Transferencias e Testes Basicos de Comunicaçao");
  putp(tparm(cursor_address,  9, 20)), printf (" 2) - Jobs BaaN    ");
  putp(tparm(cursor_address,  11,20)), printf (" 3) - Utilizacao da CPU IBM SP-Baan");
  putp(tparm(cursor_address, 13, 20)), printf (" 4) - Ocupacao do Sistema de Arquivos Baan");
  putp(tparm(cursor_address, 15, 20)), printf (" 5) - Status do CLUSTER ");
  putp(tparm(cursor_address, 17, 20)), printf (" 6) - Rotinas de SPOOL Baan - Impressoras");
  putp(tparm(cursor_address, 19, 20)), printf (" 7) - Verifica IP dos servidores S80 - Cluster ");
  putp(tparm(cursor_address, 21, 20)), printf (" 8) - Lista NFS /u/sislog/interface/baan_dcl");
  putp(tparm(cursor_address, 23, 20)), printf (" 9) - ls -l /u/sislog/interface/baan_dcl");
  putp(tparm(cursor_address, 25, 20)), printf ("10) - Monitora evolucao do Importador");
  putp(tparm(cursor_address, 29 ,31)), printf ("Escolha a opcao: ===>");
  reset_shell_mode();
  putp(restore_cursor);
}

 

 

 

1 REPLY
Highlighted
Steven Schweda
Honored Contributor

Re: error C compiler "#2165: too few arguments in function call"