Re: kompilernigsproblem. Kanske någ kan hjälpa mig?

Mathias Stjernström mathias at globalinn.com
Tue Oct 14 16:44:13 CEST 2008


Hej!

Jag får känsla av 32/64 bitars problem.

Om jag googlat rätt så ser det ut som alla som byggt för 64-bitars har  
laddat hem någon speciell source och inte den från deras sajt.

/Mathias


On 14 okt 2008, at 16.03, Bernt Hansson wrote:

> Hej listan!
>
> Försöker bygga cinelerra http://cinelerra.org från såsen men det  
> ballar
> ur ganska direkt.
>
>
> FreeBSD localhost 7.0-RELEASE-p3 FreeBSD 7.0-RELEASE-p3 #0: Thu Aug 28
> 14:13:44 CEST 2008 root at localhost:/usr/obj/usr/src/sys/GENERIC  amd64
>
> %gcc -v
> Using built-in specs.
> Target: amd64-undermydesk-freebsd
> Configured with: FreeBSD/amd64 system compiler
> Thread model: posix
> gcc version 4.2.1 20070719  [FreeBSD]
>
>
> Har manuellt satt
>
> LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
>              nonstandard directory <lib dir>
>
> Till /usr/local/lib (annars hittas det inte till bibblan)
>
> CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir>
> if you have headers in a nonstandard directory <include dir>
>
> Till /usr/local/include
>
>
> ./configure säger som så här:
>
>
> Summary of mandatory components:
>  libogg                  found
>  libvorbis               found
>  libvorbisenc            found
>  libvorbisfile           found
>  libtheora               found
>  OpenEXR                 found
>  libdv                   found
>  libpng                  found
>  libjpeg libraries       found
>  libjpeg headers         found
>  libtiff libraries       found
>  libtiff headers         found
>  FreeType 2              found
>  libx264 libraries       found
>  libx264 headers         found
>  libuuid libraries       found
>  libuuid headers         found
>  mjpegtools              found
>  libfftw3 libraries      found
>  libfftw3 headers        found
>  liba52 libraries        found
>  liba52 headers          found
>  libmp3lame libraries    found
>  libmp3lame headers      found
>  libsndfile libraries    found
>  libsndfile headers      found
>  libfaac libraries       found
>  libfaac headers         found
>  libfaad libraries       found
>  libfaad headers         found
>
> Summary of optional components:
>  ESD subsystem           found
> ESD (Enlightenment Sound Daemon) is enabled
> ALSA was opted out with --disable-alsa
>  libraw1394              missing
>  libiec61883             missing
>  libavc1394 libraries    missing
>  libavc1394 headers      missing
>  librom1394 libraries    missing
>  librom1394 headers      missing
> Firewire is disabled
>  OpenGL 2.0 libraries    missing
> Hardware acceleration using OpenGL 2.0 is disabled
>
> Now type make to start compilation
>
>
> %make
> make  all-recursive
> Making all in libmpeg3
> Making all in audio
> Making all in video
> if /usr/local/bin/bash ../libtool --tag=CC --tag=CC --mode=compile gcc
> -DHAVE_CONFIG_H  -I. -I. -I..   -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64  -g  
> -O2
> -MT libmpeg3.lo -MD -MP -MF ".deps/libmpeg3.Tpo" -c -o libmpeg3.lo
> libmpeg3.c;  then mv -f ".deps/libmpeg3.Tpo" ".deps/libmpeg3.Plo";  
> else
> rm -f ".deps/libmpeg3.Tpo"; exit 1; fi
> gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g - 
> O2
> -MT libmpeg3.lo -MD -MP -MF .deps/libmpeg3.Tpo -c libmpeg3.c  -fPIC
> -DPIC -o .libs/libmpeg3.o
> libmpeg3.c: In function 'mpeg3_check_sig':
> libmpeg3.c:132: error: 'u_int32_t' undeclared (first use in this  
> function)
> libmpeg3.c:132: error: (Each undeclared identifier is reported only  
> once
> libmpeg3.c:132: error: for each function it appears in.)
> libmpeg3.c:132: error: expected ';' before 'bits'
> libmpeg3.c:143: error: 'bits' undeclared (first use in this function)
> libmpeg3.c:144: error: 'bits2' undeclared (first use in this function)
> *** Error code 1
>
> Stop in /usr/home/bernt/my_cinelerra/libmpeg3.
> *** Error code 1
>
> Stop in /usr/home/bernt/my_cinelerra/libmpeg3.
> *** Error code 1
>
> Stop in /usr/home/bernt/my_cinelerra.
> *** Error code 1
>
> Stop in /usr/home/bernt/my_cinelerra.
>
> Rad  129 till 141 ser ut så här
>
> int mpeg3_check_sig(char *path)
> {
>        mpeg3_fs_t *fs;
>       u_int32_t bits, bits2;
>        char *ext;
>        int result = 0;
>
>        fs = mpeg3_new_fs(path);
>        if(mpeg3io_open_file(fs))
>        {
> /* File not found */
>                return 0;
>        }
>
> Rad 143
>
> bits = mpeg3io_read_int32(fs);
>
> Rad 144
>
> bits2 = mpeg3io_read_int32(fs);
>
> _________________________________________________
> BSD Users Sweden -- BUS at stacken.kth.se
> https://lists.stacken.kth.se/mailman/listinfo/bus

-------------- next part --------------
En bilaga som inte var text, skiljdes ut...
Namn       : PGP.sig
Typ       : application/pgp-signature
Storlek: 486 bytes
Beskrivning: This is a digitally signed message part
URL        : http://lists.stacken.kth.se/pipermail/bus/attachments/20081014/439e5003/PGP.bin


More information about the BUS mailing list