Ask !!

Source: Internet
Author: User
Ask !! -- Linux general technology-Linux technology and application information. For details, refer to the following section. Younger brother recently compiled a jrtp Video Transmission program in linux, video format for xvid-mpeg4, on the client to receive part of the compilation, do not want to report this error
/Usr/local/include/jrtplib3/rtptimeutilities. h: 58: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before 'rtpntptime'
/Usr/local/include/jrtplib3/rtptimeutilities. h: 77: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before 'rtptime'
/Usr/local/include/jrtplib3/rtptimeutilities. h: 128: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before': 'token
/Usr/local/include/jrtplib3/rtptimeutilities. h: 137: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before': 'token
/Usr/local/include/jrtplib3/rtptimeutilities. h: 219: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before 'rtptime'
/Usr/local/include/jrtplib3/rtptimeutilities. h: 227: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before': 'token
/Usr/local/include/jrtplib3/rtptimeutilities. h: 238: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before' & 'token
/Usr/local/include/jrtplib3/rtptimeutilities. h: 250: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before' & 'token
/Usr/local/include/jrtplib3/rtptimeutilities. h: 262: Error: expected '=', ';', 'asm 'or' _ attribute _ 'before 'rtptime'
It's strange. It cannot be a jrtp header file error. What is the cause? Please advise! Below is my makefie
It has been bothering me for several days. INSTALLROOT = $ (PWD)
CC = gcc
CPP = g ++
INSTALL = install
APP_BINARY = client
BIN =/usr/local/bin
SERVFLAGS =-O2-DLINUX $ (WARNINGS)
MATH_LIB =-lm
SDL_ILD =-I/usr/include/SDL
SDL_LIB =-L/usr/local/lib-lSDL
SERVLIBS = $ (MATH_LIB)-lpthread-ljrtp
JRTPLIBS =-I/usr/local/include/jrtplib3-I./-I/usr/local/include/jthread-L/usr/local/lib-ljthread-ljrtp-lxvidcore

# WARNINGS =-Wall \
#-Wundef-Wpointer-arith-Wbad-function-cast \
#-Wcast-align-Wwrite-strings-Wstrict-prototypes \
#-Wmissing-prototypes-Wmissing-declarations \

#-Wnested-externs-Winline-Wcast-qual-W \
#-Wno-unused
#-Wunused

CFLAGS =-O2-DLINUX $ (SDLFLAGS) $ (WARNINGS)
CPPFLAGS = $ (CFLAGS)
SHCFLAGS =-O2-ffast-math-fforce-addr-fstrict-aliasing-fomit-frame-pointer
# CLIBFLAGS =-O9-falign-functions = 4-march = athlon
# LIB_ENCODE = libjpgenc.
# LIB_ENCODE_OBJECTS = encoder. o huffman. o marker. o quant. o
OBJECTS = tcp. o dxvid. o client. o
# Makefile command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.