Re: "missing separator" error when making on Solaris 10 X86

Aarno Syvänen <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
You should use tabulator, not space chars. Missing char is probably \t.

Aarno

On 12.7.2005, at 18.01, Gianfranco Cecconi wrote:

> A few days ago I first wrote about this problem on the mailing list,
> but gave not enough details. Sorry for that. Here is all the
> information regarding the case.
>
> I am trying to compile the stable 1.4 release of Kannel on a fresh
> installed Solaris 10 X86. I am using the default gcc 3.4.3 compiler
> you find in /usr/sfw/bin  , and gmake 3.80 dowloaded from Sunfreeware
> (http://www.sunfreeware.com).
>
> The configure phase seem to complete successfully, but when I run
> make I get this:
>
> ===
> bash-3.00# /usr/local/bin/make
> Makefile:315: .depend: No such file or directory
> for dir in gw gw/smsc gwlib test utils wmlscript checks wap radius;  
> do \
>         gcc -D_REENTRANT=1 -I. -Igw -g -O2 -I/usr/include/libxml2 - 
> MM $dir/*.c |
> sed "s:^[^ ]:$dir/&:"; done > .depend
> utils/start-stop-daemon.c:93:2: #error Unknown architecture -  
> cannot build
> start-stop-daemon
> .depend:1: *** missing separator.  Stop.
> ===
>
> If you read carefully you see that the error is that the first line  
> of the
> .depend file misses a separator. The top of the file appears like  
> this:
>
> ===
> bash-3.00# more .depend
> gw/# 1 "/export/home/giacecco/gateway-1.4.0//"
> gw/bb_alog.o: gw/bb_alog.c ./gwlib/gwlib.h ./gw-config.h ./gwlib/gw- 
> getopt.h \
>   ./gwlib/gwpoll.h ./gwlib/utils.h ./gwlib/octstr.h ./gwlib/list.h \
>   ./gwlib/log.h ./gwlib/thread.h ./gwlib/gwthread.h ./gwlib/gwmem.h \
>   ./gwlib/socket.h ./gwlib/cfg.h ./gwlib/date.h ./gwlib/gwlib.h \
>   ./gwlib/http.h ./gwlib/list.h ./gwlib/octstr.h ./gwlib/fdset.h \
>   ./gwlib/gwassert.h ./gwlib/counter.h ./gwlib/charset.h \
>   /usr/include/libxml2/libxml/encoding.h \
>   /usr/include/libxml2/libxml/xmlversion.h \
>   /usr/include/libxml2/libxml/xmlexports.h \
>   /usr/include/libxml2/libxml/tree.h \
>   /usr/include/libxml2/libxml/xmlstring.h \
>   /usr/include/libxml2/libxml/xmlregexp.h \
>   /usr/include/libxml2/libxml/xmlmemory.h \
>   /usr/include/libxml2/libxml/threads.h \
>   /usr/include/libxml2/libxml/globals.h \
>   /usr/include/libxml2/libxml/parser.h /usr/include/libxml2/libxml/ 
> dict.h \
>   /usr/include/libxml2/libxml/hash.h /usr/include/libxml2/libxml/ 
> valid.h \
>   /usr/include/libxml2/libxml/xmlerror.h \
>   /usr/include/libxml2/libxml/list.h \
>   /usr/include/libxml2/libxml/xmlautomata.h \
>   /usr/include/libxml2/libxml/entities.h \
>   /usr/include/libxml2/libxml/xmlIO.h /usr/include/libxml2/libxml/ 
> SAX.h \
>   /usr/include/libxml2/libxml/xlink.h /usr/include/libxml2/libxml/ 
> SAX2.h \
>   ./gwlib/conn.h ./gwlib/ssl.h ./gwlib/parse.h ./gwlib/protected.h \
>   ./gwlib/accesslog.h ./gwlib/dict.h ./gwlib/semaphore.h ./gwlib/ 
> xmlrpc.h \
>   ./gwlib/gwlib.h ./gwlib/md5.h ./gwlib/gw_uuid.h ./gwlib/gw- 
> rwlock.h \
>   ./gwlib/gw-prioqueue.h gw/msg.h gw/msg-decl.h gw/sms.h gw/ 
> bearerbox.h \
>   gw/smscconn.h ./gw/msg.h
> gw/# 1 "/export/home/giacecco/gateway-1.4.0//"
> gw/bb_boxc.o: gw/bb_boxc.c ./gwlib/gwlib.h ./gw-config.h ./gwlib/gw- 
> getopt.h \
>   ./gwlib/gwpoll.h ./gwlib/utils.h ./gwlib/octstr.h ./gwlib/list.h \
>   ./gwlib/log.h ./gwlib/thread.h ./gwlib/gwthread.h ./gwlib/gwmem.h \
> (...)
> ===
> "/export/home/giacecco/gateway-1.4.0/" is the directory with the
> distribution of Kannel, of course.
>
> I then removed the lines starting with "gw/#", and the make completed
> successfully, and I am now running Kannel with no problems. Any idea
> about why this happen? Thanks.
>
> Gianfranco
>
>
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.