• Topic
  • Discussion
  • UdaWikiWeb.SQLINTEGERUndeclared(Last) -- Owiki? , 2016-08-19 15:00:54 Edit owiki 2016-08-19 15:00:54

    Error Messages (S)

    A B C D E F G H I J K L M N O P Q R S T U V W X Y Z #

    SQLINTEGER undeclared


    "'SQLINTEGER' undeclared" errors are associated with PHP/OpenLink compilation. To resolve this error, take the following action:


    1. Review your error output. For instance:

    php_odbc.c: In function `odbc_column_lengths':
    php_odbc.c:606: `SQLINTEGER' undeclared (first use in this function)
    php_odbc.c:606: (Each undeclared identifier is reported only once
    php_odbc.c:606: for each function it appears in.)
    php_odbc.c:606: parse error before `len'
    php_odbc.c:634: `len' undeclared (first use in this function)
    make[3]: *** [php_odbc.lo] Error 1
    


    2. Determine on which line the parse error occurs. In this instance, the parse error is associated with line 606.

    3. Use a text editor to open your /ext/odbc/php_odbc.h file.

    4. Locate the problem line.

    5. Replace reference to "SQLINTEGER len;" with "SDWORD len;".

    6. Recompile and test.


    Referenced by...