Redirected from Gavin@clayshot (who can't get through to the list): -----------------------------------------
I'm experiencing make errors on Arch 64bit. It used to build fine a few months ago, so I guess its an Arch update issue. Einar's CV version builds without problems. Thanks for any pointers. Gavin ^ vdevicebuz.C: In constructor ‘VDeviceBUZInput::VDeviceBUZInput(VDeviceBUZ*)’: vdevicebuz.C:68:63: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] output_lock = new Condition(0, "VDeviceBUZInput::output_lock"); ^ vdevicebuz.C:69:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] buffer_lock = new Mutex("VDeviceBUZInput::buffer_lock"); ^ vdevicebuz.C: In member function ‘void VDeviceBUZInput::start()’: vdevicebuz.C:100:48: error: ‘bzero’ was not declared in this scope bzero(buffer_size, sizeof(int) * total_buffers); ^ vdevicebuz.C: In member function ‘virtual void VDeviceBUZInput::run()’: vdevicebuz.C:130:44: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] buffer_lock->lock("VDeviceBUZInput::run"); ^ vdevicebuz.C:138:18: error: ‘memcpy’ was not declared in this scope bsync.length); ^ vdevicebuz.C: In member function ‘void VDeviceBUZInput::get_buffer(char**, int*)’: vdevicebuz.C:158:82: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] int result = output_lock->timed_lock(READ_TIMEOUT, "VDeviceBUZInput::get_buffer"); ^ vdevicebuz.C:169:50: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] buffer_lock->lock("VDeviceBUZInput::get_buffer"); ^ vdevicebuz.C: In member function ‘void VDeviceBUZInput::put_buffer()’: vdevicebuz.C:183:49: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] buffer_lock->lock("VDeviceBUZInput::put_buffer"); ^ vdevicebuz.C: In constructor ‘VDeviceBUZ::VDeviceBUZ(VideoDevice*)’: vdevicebuz.C:220:49: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] tuner_lock = new Mutex("VDeviceBUZ::tuner_lock"); ^ vdevicebuz.C: In static member function ‘static void VDeviceBUZ::get_inputs(ArrayList<Channel*>*)’: vdevicebuz.C:336:48: error: ‘strcpy’ was not declared in this scope strcpy(new_source->device_name, COMPOSITE_TEXT); ^ vdevicebuz.C: In member function ‘virtual int VDeviceBUZ::set_channel(Channel*)’: vdevicebuz.C:369:44: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] tuner_lock->lock("VDeviceBUZ::set_channel"); ^ vdevicebuz.C: In member function ‘virtual int VDeviceBUZ::set_picture(PictureConfig*)’: vdevicebuz.C:402:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] tuner_lock->lock("VDeviceBUZ::set_picture"); ^ vdevicebuz.C: In member function ‘virtual int VDeviceBUZ::read_buffer(VFrame*)’: vdevicebuz.C:458:44: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] tuner_lock->lock("VDeviceBUZ::read_buffer"); ^ vdevicebuz.C:479:64: error: ‘memcpy’ was not declared in this scope memcpy(frame->get_data(), buffer + field2_offset, field2_len); ^ vdevicebuz.C:484:48: error: ‘bcopy’ was not declared in this scope bcopy(buffer, frame->get_data(), buffer_size); ^ vdevicebuz.C: In member function ‘int VDeviceBUZ::open_input_core(Channel*)’: vdevicebuz.C:510:18: error: ‘strerror’ was not declared in this scope strerror(errno)); ^ vdevicebuz.C:557:49: error: ‘bzero’ was not declared in this scope bzero(bparm.APP_data, sizeof(bparm.APP_data)); ^ vdevicebuz.C: In member function ‘virtual int VDeviceBUZ::write_buffer(VFrame*, EDL*)’: vdevicebuz.C:685:45: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] tuner_lock->lock("VDeviceBUZ::write_buffer"); ^ vdevicebuz.C:709:85: error: ‘bcopy’ was not declared in this scope bcopy(mjpeg_output_buffer(mjpeg), temp_frame->get_data(), mjpeg_output_size(mjpeg)); ^ vdevicebuz.C:729:14: error: ‘memcpy’ was not declared in this scope field2_len); ^ vdevicebuz.C:738:30: error: ‘bcopy’ was not declared in this scope ptr->get_compressed_size()); ^ make[3]: *** [vdevicebuz.o] Error 1 make[3]: Leaving directory `/home/gavin/CinelerraCV/cinelerra' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/gavin/CinelerraCV/cinelerra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/gavin/CinelerraCV' make: *** [all] Error 2 Scrolling back I found this; ^ menueffects.C:144:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ErrorBox error(PROGRAM_NAME ": Error"); ^ menueffects.C:156:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] load_mode = defaults->get("RENDER_EFFECT_LOADMODE", LOAD_PASTE); ^ menueffects.C:157:64: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] strategy = defaults->get("RENDER_EFFECT_STRATEGY", SINGLE_PASS); ^ menueffects.C:206:54: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] defaults->update("RENDER_EFFECT_LOADMODE", load_mode); ^ menueffects.C:207:53: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] defaults->update("RENDER_EFFECT_STRATEGY", strategy); ^ menueffects.C:244:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ErrorBox error(PROGRAM_NAME ": Error"); ^ menueffects.C:252:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ErrorBox error(PROGRAM_NAME ": Error"); ^ menueffects.C:294:40: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ErrorBox error(PROGRAM_NAME ": Error"); ^ menueffects.C:455:42: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings] ErrorBox error(PROGRAM_NAME ": Error"); And from memory, there were a lot of warnings after running ./autogen.sh Many thanks Gavin _______________________________________________ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra