Keywords: Mode: All keywords (AND) |
Fri May 14, 2010 09:11
|
kpostrup: Wow, that was quick.
I don't need network modems, so uncommented the line in src/Makefile.
Thanks! :)
|
Fri May 14, 2010 08:00
|
kpostrup: Operating system name and version: Solaris 10 (SPARC)
Version of smsd: 3.1.8
Smsd installed from: sources
Name and model of a modem / phone: Huawei E160G
Interface: USB
I am trying to upgrade from 3.1.5 to 3.1.8.
3.1.5 compiled fine.
I uncommented the two lines in src/Makefile
# Uncomment for Solaris
CFLAGS += -D SOLARIS
# This might be also needed for Solaris:
CC=gcc
When I run gmake I get the following output (and error):
cd src && gmake -
gmake[1]: Entering directory `/root/src/smstools3/src'
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c
gcc -D NUMBER_OF_MODEMS=64 -D SOLARIS -D NOSTATS -W -Wall -Wchar-subscripts -D_FILE_OFFSET_BITS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o
Undefined first referenced
symbol in file
gethostbyname modeminit.o
socket modeminit.o
connect modeminit.o
h_errno modeminit.o
ld: fatal: Symbol referencing errors. No output written to smsd
collect2: ld returned 1 exit status
gmake[1]: *** [smsd] Error 1
gmake[1]: Leaving directory `/root/src/smstools3/src'
gmake: *** [compile] Error 2
Any ideas?
Thanks.
/Kenneth Østrup
|