[Asterisk-Users] Compile modules app_rxfax.c app_txfax.c for
asterisk 1.2.1
Paul van Brouwershaven
paul at vanbrouwershaven.com
Thu Dec 8 12:11:06 MST 2005
When I try to compile app_rxfax.c app_txfax.c I get a big list of the same
error messages. (like: but no such parameter)
I solved the same problem with a previous installation but I don't how...
stupid!!!
Makefile:
all: app_rxfax.so app_txfax.so
app_rxfax.so: app_rxfax.c
gcc -shared -Xlinker -x -O2 -D_GNU_SOURCE -o $@ app_rxfax.c
-lspandsp -ltiff
app_txfax.so: app_txfax.c
gcc -shared -Xlinker -x -O2 -D_GNU_SOURCE -o $@ app_txfax.c
-lspandsp -ltiff
Last part of the error message:
/usr/include/bits/sockaddr.h:29: error: declaration for parameter
`sa_family_t' but no such parameter
/usr/include/bits/socket.h:36: error: declaration for parameter
`socklen_t' but no such parameter
/usr/include/sys/uio.h:50: error: declaration for parameter `writev' but
no such parameter
/usr/include/sys/uio.h:40: error: declaration for parameter `readv' but no
such parameter
app_rxfax.c:360: error: `res' undeclared (first use in this function)
app_rxfax.c: At top level:
app_rxfax.c:361: error: syntax error before "return"
make: *** [app_rxfax.so]
More information about the asterisk-users
mailing list