rendered paste body~/work/seom $ make
gcc -Iinclude -std=c99 -O3 -W -Wall -fPIC -c -o src/codec.o src/codec.c
gcc -Iinclude -std=c99 -O3 -W -Wall -fPIC -c -o src/stream.o src/stream.c
gcc -Iinclude -std=c99 -O3 -W -Wall -fPIC -c -o src/packet.o src/packet.c
src/packet.c: In function ‘getTime’:
src/packet.c:9: warning: implicit declaration of function ‘gettimeofday’
gcc -shared -Wl,--as-needed -Wl,-soname,libseom.so.0 -o libseom.so src/codec.o src/stream.o src/packet.o -ldl -lpthread
~/work/seom $ su
Password:
root@grayf /home/plouj/work/seom # make install
./seom.pc.in /usr/local lib
install -m 755 -d /usr/local/lib/pkgconfig; install -m 644 seom.pc /usr/local/lib/pkgconfig;
install -m 755 -d /usr/local/lib; install -m 755 libseom.so /usr/local/lib/libseom.so.0;
ln -sf libseom.so.0 /usr/local/lib/libseom.so
install -m 755 -d /usr/local/share/seom; install -m 644 art/seom.svg /usr/local/share/seom/seom.svg;
install -m 755 -d /usr/local/include/seom; install -m 644 include/seom/* /usr/local/include/seom;
$ make
gcc -Iinclude -Wall -std=c99 -O3 -o filter src/filter/main.c src/filter/wav.c src/filter/y4m.c -lasound -lseom
src/filter/y4m.c: In function ‘y4mWriteHeader’:
src/filter/y4m.c:14: warning: unused variable ‘scale’
/tmp/ccqkceKM.o: In function `getPacket':
main.c:(.text+0x45): undefined reference to `seomPacketDestroy'
/tmp/ccqkceKM.o: In function `main':
main.c:(.text+0x104): undefined reference to `seomPacketDestroy'
/tmp/ccgAxf3B.o: In function `wavWriteData':
wav.c:(.text+0xcc): undefined reference to `seomPacketPayload'
/tmp/ccgAxf3B.o: In function `wavWriteHeader':
wav.c:(.text+0x10e): undefined reference to `seomPacketPayload'
/tmp/cccz4JlI.o: In function `y4mWriteHeader':
y4m.c:(.text+0x27): undefined reference to `seomPacketPayload'
/tmp/cccz4JlI.o: In function `y4mWriteData':
y4m.c:(.text+0x118): undefined reference to `seomPacketPayload'
collect2: ld returned 1 exit status
make: *** [filter] Error 1