View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003564 | ardour | bugs | public | 2010-11-24 00:32 | 2010-11-24 23:00 |
| Reporter | prokoudine | Assigned To | cth103 | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0003564: a3 fails to build with VST support | ||||
| Description | ./waf configure --vst and conseqent ./waf lead to a build error, see the log below. The system is Ubuntu 10.04 i386. Revision of a3's SVn is 8078. | ||||
| Additional Information | [626/674] cc: libs/fst/fst.c -> build/default/libs/fst/fst_2.o ../libs/fst/fst.c: In function ‘fst_error’: ../libs/fst/fst.c:13:2: warning: implicit declaration of function ‘vsnprintf’ [627/674] cc: libs/fst/fstinfofile.c -> build/default/libs/fst/fstinfofile_2.o ../libs/fst/fstinfofile.c: In function ‘read_string’: ../libs/fst/fstinfofile.c:26:2: warning: implicit declaration of function ‘strdup’ ../libs/fst/fstinfofile.c:26:2: warning: incompatible implicit declaration of built-in function ‘strdup’ ../libs/fst/fstinfofile.c:20:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result ../libs/fst/fstinfofile.c: In function ‘fst_dllpath_to_infopath’: ../libs/fst/fstinfofile.c:125:5: warning: incompatible implicit declaration of built-in function ‘strdup’ ../libs/fst/fstinfofile.c: In function ‘fst_info_from_plugin’: ../libs/fst/fstinfofile.c:177:5: warning: incompatible implicit declaration of built-in function ‘strdup’ ../libs/fst/fstinfofile.c:186:5: warning: dereferencing type-punned pointer will break strict-aliasing rules [628/674] cc: libs/fst/vsti.c -> build/default/libs/fst/vsti_2.o [629/674] cc: libs/fst/vstwin.c -> build/default/libs/fst/vstwin_2.o ../libs/fst/vstwin.c:5:21: error: windows.h: ??? ?????? ????? ??? ???????? ../libs/fst/vstwin.c:6:19: error: winnt.h: ??? ?????? ????? ??? ???????? ../libs/fst/vstwin.c:7:28: error: wine/exception.h: ??? ?????? ????? ??? ???????? ../libs/fst/vstwin.c:28:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘gui_thread_id’ ../libs/fst/vstwin.c:34:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WINAPI’ ../libs/fst/vstwin.c: In function ‘fst_new’: ../libs/fst/vstwin.c:69:2: warning: implicit declaration of function ‘calloc’ ../libs/fst/vstwin.c:69:2: warning: incompatible implicit declaration of built-in function ‘calloc’ ../libs/fst/vstwin.c: In function ‘fst_handle_new’: ../libs/fst/vstwin.c:81:2: warning: incompatible implicit declaration of built-in function ‘calloc’ ../libs/fst/vstwin.c: At top level: ../libs/fst/vstwin.c:85:7: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘WINAPI’ ../libs/fst/vstwin.c: In function ‘fst_init’: ../libs/fst/vstwin.c:213:2: error: ‘WNDCLASSEX’ undeclared (first use in this function) ../libs/fst/vstwin.c:213:2: error: (Each undeclared identifier is reported only once ../libs/fst/vstwin.c:213:2: error: for each function it appears in.) ../libs/fst/vstwin.c:213:13: error: expected ‘;’ before ‘wclass’ ../libs/fst/vstwin.c:214:2: error: ‘HMODULE’ undeclared (first use in this function) ../libs/fst/vstwin.c:214:10: error: expected ‘;’ before ‘hInst’ ../libs/fst/vstwin.c:217:3: error: ‘hInst’ undeclared (first use in this function) ../libs/fst/vstwin.c:217:21: error: expected ‘;’ before ‘possible_hmodule’ ../libs/fst/vstwin.c:218:2: warning: implicit declaration of function ‘GetModuleHandleA’ ../libs/fst/vstwin.c:223:2: error: ‘wclass’ undeclared (first use in this function) ../libs/fst/vstwin.c:225:23: error: ‘my_window_proc’ undeclared (first use in this function) ../libs/fst/vstwin.c:229:2: warning: implicit declaration of function ‘LoadIcon’ ../libs/fst/vstwin.c:230:2: warning: implicit declaration of function ‘LoadCursor’ ../libs/fst/vstwin.c:230:33: error: ‘IDI_APPLICATION’ undeclared (first use in this function) ../libs/fst/vstwin.c:237:2: warning: implicit declaration of function ‘RegisterClassExA’ ../libs/fst/vstwin.c:244:2: warning: implicit declaration of function ‘CreateThread’ ../libs/fst/vstwin.c:244:29: error: ‘gui_event_loop’ undeclared (first use in this function) ../libs/fst/vstwin.c: In function ‘fst_exit’: ../libs/fst/vstwin.c:260:2: warning: implicit declaration of function ‘PostQuitMessage’ ../libs/fst/vstwin.c: In function ‘fst_create_editor’: ../libs/fst/vstwin.c:315:2: error: ‘HMODULE’ undeclared (first use in this function) ../libs/fst/vstwin.c:315:10: error: expected ‘;’ before ‘hInst’ ../libs/fst/vstwin.c:316:2: error: ‘HWND’ undeclared (first use in this function) ../libs/fst/vstwin.c:316:7: error: expected ‘;’ before ‘window’ ../libs/fst/vstwin.c:328:7: error: ‘hInst’ undeclared (first use in this function) ../libs/fst/vstwin.c:334:7: error: ‘window’ undeclared (first use in this function) ../libs/fst/vstwin.c:334:2: warning: implicit declaration of function ‘CreateWindowExA’ ../libs/fst/vstwin.c:335:13: error: ‘WS_OVERLAPPEDWINDOW’ undeclared (first use in this function) ../libs/fst/vstwin.c:335:36: error: ‘WS_THICKFRAME’ undeclared (first use in this function) ../libs/fst/vstwin.c:335:53: error: ‘WS_MAXIMIZEBOX’ undeclared (first use in this function) ../libs/fst/vstwin.c:346:2: warning: implicit declaration of function ‘SetPropA’ ../libs/fst/vstwin.c:363:2: warning: implicit declaration of function ‘SetWindowPos’ ../libs/fst/vstwin.c:364:2: warning: implicit declaration of function ‘ShowWindow’ ../libs/fst/vstwin.c:364:27: error: ‘SW_SHOWNA’ undeclared (first use in this function) ../libs/fst/vstwin.c:367:2: warning: implicit declaration of function ‘GetPropA’ ../libs/fst/vstwin.c: In function ‘fst_move_window_into_view’: ../libs/fst/vstwin.c:380:28: error: ‘SW_SHOWNA’ undeclared (first use in this function) ../libs/fst/vstwin.c: At top level: ../libs/fst/vstwin.c:423:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘fst_load_vst_library’ ../libs/fst/vstwin.c: In function ‘fst_load’: ../libs/fst/vstwin.c:483:2: warning: implicit declaration of function ‘strstr’ ../libs/fst/vstwin.c:483:2: warning: incompatible implicit declaration of built-in function ‘strstr’ ../libs/fst/vstwin.c:485:3: warning: implicit declaration of function ‘malloc’ ../libs/fst/vstwin.c:485:3: warning: incompatible implicit declaration of built-in function ‘malloc’ ../libs/fst/vstwin.c:485:3: warning: implicit declaration of function ‘strlen’ ../libs/fst/vstwin.c:485:3: warning: incompatible implicit declaration of built-in function ‘strlen’ ../libs/fst/vstwin.c:493:3: warning: implicit declaration of function ‘strdup’ ../libs/fst/vstwin.c:493:3: warning: incompatible implicit declaration of built-in function ‘strdup’ ../libs/fst/vstwin.c:497:3: warning: incompatible implicit declaration of built-in function ‘malloc’ ../libs/fst/vstwin.c:497:3: warning: incompatible implicit declaration of built-in function ‘strlen’ ../libs/fst/vstwin.c:505:3: warning: incompatible implicit declaration of built-in function ‘strdup’ ../libs/fst/vstwin.c:512:2: warning: implicit declaration of function ‘strrchr’ ../libs/fst/vstwin.c:512:2: warning: incompatible implicit declaration of built-in function ‘strrchr’ ../libs/fst/vstwin.c:516:2: warning: implicit declaration of function ‘fst_load_vst_library’ ../libs/fst/vstwin.c:516:2: warning: assignment makes pointer from integer without a cast ../libs/fst/vstwin.c:521:2: warning: implicit declaration of function ‘GetProcAddress’ ../libs/fst/vstwin.c: In function ‘fst_unload’: ../libs/fst/vstwin.c:537:3: warning: implicit declaration of function ‘FreeLibrary’ ../libs/fst/vstwin.c:542:3: warning: implicit declaration of function ‘free’ ../libs/fst/vstwin.c:542:3: warning: incompatible implicit declaration of built-in function ‘free’ ../libs/fst/vstwin.c:546:2: warning: incompatible implicit declaration of built-in function ‘free’ ../libs/fst/vstwin.c: In function ‘fst_instantiate’: ../libs/fst/vstwin.c:562:3: warning: incompatible implicit declaration of built-in function ‘free’ ../libs/fst/vstwin.c:571:3: warning: incompatible implicit declaration of built-in function ‘free’ winegcc: i486-linux-gnu-gcc failed Waf: Leaving directory `/home/avp/soft/build/sound/ardour/ardour3-rev8078/build' Build failed: -> task failed (err #2): {task: cc vstwin.c -> vstwin_2.o} | ||||
| Tags | No tags attached. | ||||
|
|
As cth103 rightfully noted, wine-dev was missing in the system. Perhaps ./waf output should warn about that and disable vst support if it can't find required headers? |
|
|
Build scripts now check for windows.h on VST builds. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-11-24 00:32 | prokoudine | New Issue | |
| 2010-11-24 01:27 | prokoudine | Note Added: 0009491 | |
| 2010-11-24 02:07 | cth103 | cost | => 0.00 |
| 2010-11-24 02:07 | cth103 | Note Added: 0009493 | |
| 2010-11-24 02:07 | cth103 | Status | new => resolved |
| 2010-11-24 02:07 | cth103 | Resolution | open => fixed |
| 2010-11-24 02:07 | cth103 | Assigned To | => cth103 |
| 2010-11-24 23:00 | cth103 | Status | resolved => closed |