3.0.7.28 rasqlinsert compile fails
dn1nj4
dn1nj4 at gmail.com
Tue May 20 21:23:02 EDT 2014
Indeed it was that, followed by readline. Thanks to everyone who reaponded!
> On May 20, 2014, at 15:50, David Edelman <dedelman at iname.com> wrote:
>
> it looks like you might need the ncurses dev package (it might be called gcurses)
>
> --Dave
>
>> On May 20, 2014, at 8:51, Jason <dn1nj4 at gmail.com> wrote:
>>
>> Carter,
>>
>> When trying to compile the 3.0.7.28 rasqlinsert client, I am getting the following errors:
>>
>> gcc -O -I. -I../../include -I../../common -I/usr/include/mysql -DHAVE_CONFIG_H -c ./rasqlinsert.c
>> In file included from ./rasqlinsert.c:49:0:
>> ./rasqlinsert.h:135:56: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:136:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:165:4: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:199:4: error: unknown type name ‘attr_t’
>> ./rasqlinsert.h:229:58: error: unknown type name ‘WINDOW’
>> In file included from ./rasqlinsert.c:49:0:
>> ./rasqlinsert.h:230:142: error: unknown type name ‘attr_t’
>> ./rasqlinsert.h:408:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:425:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:426:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:427:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:428:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:429:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:430:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:431:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:432:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.h:433:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:244:122: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:245:119: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:246:120: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:247:121: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:248:58: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:345:58: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:365:1: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:410:27: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:411:26: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:412:27: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c: In function ‘ArgusOutputProcess’:
>> ./rasqlinsert.c:439:29: error: ‘TRUE’ undeclared (first use in this function)
>> ./rasqlinsert.c:439:29: note: each undeclared identifier is reported only once for each function it appears in
>> ./rasqlinsert.c: At top level:
>> ./rasqlinsert.c:498:19: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:499:1: warning: no semicolon at end of struct or union [enabled by default]
>> ./rasqlinsert.c:503:34: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:504:29: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:505:26: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:506:32: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:507:25: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:508:36: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:509:24: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:510:26: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:511:26: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:512:27: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:513:23: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:514:28: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:515:29: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:517:27: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:521:20: error: ‘ArgusProcessCharacter’ undeclared here (not in a function)
>> ./rasqlinsert.c:521:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:521:4: warning: (near initialization for ‘ArgusInputCommandTable[0]’) [enabled by default]
>> ./rasqlinsert.c:522:20: error: ‘ArgusProcessTerminator’ undeclared here (not in a function)
>> ./rasqlinsert.c:522:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:522:4: warning: (near initialization for ‘ArgusInputCommandTable[1]’) [enabled by default]
>> ./rasqlinsert.c:523:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:523:4: warning: (near initialization for ‘ArgusInputCommandTable[2]’) [enabled by default]
>> ./rasqlinsert.c:524:20: error: ‘ArgusProcessBell’ undeclared here (not in a function)
>> ./rasqlinsert.c:524:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:524:4: warning: (near initialization for ‘ArgusInputCommandTable[3]’) [enabled by default]
>> ./rasqlinsert.c:525:20: error: ‘ArgusProcessNewPage’ undeclared here (not in a function)
>> ./rasqlinsert.c:525:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:525:4: warning: (near initialization for ‘ArgusInputCommandTable[4]’) [enabled by default]
>> ./rasqlinsert.c:526:20: error: ‘ArgusProcessDeviceControl’ undeclared here (not in a function)
>> ./rasqlinsert.c:526:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:526:4: warning: (near initialization for ‘ArgusInputCommandTable[5]’) [enabled by default]
>> ./rasqlinsert.c:527:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:527:4: warning: (near initialization for ‘ArgusInputCommandTable[6]’) [enabled by default]
>> ./rasqlinsert.c:528:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:528:4: warning: (near initialization for ‘ArgusInputCommandTable[7]’) [enabled by default]
>> ./rasqlinsert.c:529:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:529:4: warning: (near initialization for ‘ArgusInputCommandTable[8]’) [enabled by default]
>> ./rasqlinsert.c:530:20: error: ‘ArgusProcessDeleteLine’ undeclared here (not in a function)
>> ./rasqlinsert.c:530:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:530:4: warning: (near initialization for ‘ArgusInputCommandTable[9]’) [enabled by default]
>> ./rasqlinsert.c:531:20: error: ‘ArgusProcessEscape’ undeclared here (not in a function)
>> ./rasqlinsert.c:531:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:531:4: warning: (near initialization for ‘ArgusInputCommandTable[10]’) [enabled by default]
>> ./rasqlinsert.c:532:20: error: ‘ArgusProcessEndofTransmission’ undeclared here (not in a function)
>> ./rasqlinsert.c:532:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:532:4: warning: (near initialization for ‘ArgusInputCommandTable[11]’) [enabled by default]
>> ./rasqlinsert.c:533:5: error: ‘KEY_UP’ undeclared here (not in a function)
>> ./rasqlinsert.c:533:20: error: ‘ArgusProcessKeyUp’ undeclared here (not in a function)
>> ./rasqlinsert.c:533:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:533:4: warning: (near initialization for ‘ArgusInputCommandTable[12]’) [enabled by default]
>> ./rasqlinsert.c:534:5: error: ‘KEY_DOWN’ undeclared here (not in a function)
>> ./rasqlinsert.c:534:20: error: ‘ArgusProcessKeyDown’ undeclared here (not in a function)
>> ./rasqlinsert.c:534:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:534:4: warning: (near initialization for ‘ArgusInputCommandTable[13]’) [enabled by default]
>> ./rasqlinsert.c:535:5: error: ‘KEY_LEFT’ undeclared here (not in a function)
>> ./rasqlinsert.c:535:20: error: ‘ArgusProcessKeyLeft’ undeclared here (not in a function)
>> ./rasqlinsert.c:535:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:535:4: warning: (near initialization for ‘ArgusInputCommandTable[14]’) [enabled by default]
>> ./rasqlinsert.c:536:5: error: ‘KEY_RIGHT’ undeclared here (not in a function)
>> ./rasqlinsert.c:536:20: error: ‘ArgusProcessKeyRight’ undeclared here (not in a function)
>> ./rasqlinsert.c:536:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:536:4: warning: (near initialization for ‘ArgusInputCommandTable[15]’) [enabled by default]
>> ./rasqlinsert.c:537:20: error: ‘ArgusProcessBackspace’ undeclared here (not in a function)
>> ./rasqlinsert.c:537:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:537:4: warning: (near initialization for ‘ArgusInputCommandTable[16]’) [enabled by default]
>> ./rasqlinsert.c:538:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:538:4: warning: (near initialization for ‘ArgusInputCommandTable[17]’) [enabled by default]
>> ./rasqlinsert.c:539:5: error: ‘KEY_DC’ undeclared here (not in a function)
>> ./rasqlinsert.c:539:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:539:4: warning: (near initialization for ‘ArgusInputCommandTable[18]’) [enabled by default]
>> ./rasqlinsert.c:540:5: error: ‘KEY_BACKSPACE’ undeclared here (not in a function)
>> ./rasqlinsert.c:540:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:540:4: warning: (near initialization for ‘ArgusInputCommandTable[19]’) [enabled by default]
>> ./rasqlinsert.c:541:5: error: ‘KEY_DL’ undeclared here (not in a function)
>> ./rasqlinsert.c:541:4: warning: excess elements in struct initializer [enabled by default]
>> ./rasqlinsert.c:541:4: warning: (near initialization for ‘ArgusInputCommandTable[20]’) [enabled by default]
>> ./rasqlinsert.c:547:29: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c: In function ‘ArgusProcessCursesInput’:
>> ./rasqlinsert.c:594:47: error: ‘ERR’ undeclared (first use in this function)
>> ./rasqlinsert.c: In function ‘ArgusProcessCommand’:
>> ./rasqlinsert.c:629:19: error: ‘struct ArgusInputCommand’ has no member named ‘process’
>> ./rasqlinsert.c: At top level:
>> ./rasqlinsert.c:636:24: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:1646:21: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:1663:27: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:1720:20: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:1842:32: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:1858:20: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:1924:22: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:2000:22: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:2014:23: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:2028:19: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:2045:24: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:2078:25: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:2094:23: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c: In function ‘ArgusDrawWindow’:
>> ./rasqlinsert.c:2979:7: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:3054:28: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:3075:73: error: ‘ERR’ undeclared (first use in this function)
>> ./rasqlinsert.c:3200:30: error: ‘FALSE’ undeclared (first use in this function)
>> ./rasqlinsert.c: In function ‘ArgusTouchScreen’:
>> ./rasqlinsert.c:3559:24: error: ‘TRUE’ undeclared (first use in this function)
>> ./rasqlinsert.c: In function ‘ArgusUpdateScreen’:
>> ./rasqlinsert.c:3568:24: error: ‘TRUE’ undeclared (first use in this function)
>> ./rasqlinsert.c: In function ‘RaRefreshDisplay’:
>> ./rasqlinsert.c:5341:18: error: ‘tvp’ undeclared (first use in this function)
>> ./rasqlinsert.c:5351:27: error: ‘FALSE’ undeclared (first use in this function)
>> ./rasqlinsert.c: At top level:
>> ./rasqlinsert.c:5373:22: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:5401:21: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:5459:22: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c: In function ‘RaResizeScreen’:
>> ./rasqlinsert.c:5764:16: error: ‘stdscr’ undeclared (first use in this function)
>> ./rasqlinsert.c:5777:70: error: ‘ERR’ undeclared (first use in this function)
>> ./rasqlinsert.c:5816:24: error: ‘FALSE’ undeclared (first use in this function)
>> ./rasqlinsert.c: At top level:
>> ./rasqlinsert.c:5962:135: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:5984:132: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:6115:133: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:6206:134: error: unknown type name ‘attr_t’
>> ./rasqlinsert.c:6220:59: error: unknown type name ‘WINDOW’
>> ./rasqlinsert.c:6247:60: error: unknown type name ‘WINDOW’
>>
>> Am I missing an expected -dev package somewhere? 3.0.6.2 seems to compile without issue.
>>
>> Thanks,
>> Jason
More information about the argus
mailing list