On Thu, 13 Nov 2003, Gene Dascher wrote:

> >     No problems running the ./autogen.sh script?   Some folks seem to
> >     have a very difficult time getting past that step.
> 
>       No problems at all

        That's good to hear.   Usually if that works and the compile
        goes to error-free completion everything just works - the 
        problem you're having after installing is unusual (I haven't
        heard of it before).

> >>motion_data = (struct motion_data *)malloc(M*sizeof(struct motion_data));
> >>            if (!motion_data)
> >>                    mjpeg_error_exit1("malloc failed");

>       I did all of that, and am still getting the same error at the same 
> place.  Any more suggestions?

        At this point just one and I'm not crazy about it.

        Either run mpeg2enc under the debugger (gdb) and put a breakpoint
        at that malloc failed line - then  print 'M' so we can see how
        much memory is attempting to be allocated _or_ change the 
        mjpeg_error_exit1 line to be something like

mjpeg_error_exit1("malloc(%d * %d) failed", M, sizeof(struct motion_data));

> I am using gcc 3.0.4 with Linux Kernel 2.4.18-6mdksmp

        That should be ok - I don't recall if there were issues with 3.0.4
        or not.

        I don't think it's related but what version of 'nasm' are you
        using to compile the assembly modules?   

        Steven Schultz



-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to