[Serusers] problem with compiling
Yang Xiang
yang.xiang at iitb.fraunhofer.de
Fri Apr 4 17:09:01 CEST 2003
Hi Andrei,
1. gmake version:
bash-2.03# make -v
GNU Make version 3.77, by Richard Stallman and Roland McGrath.
2. output of ls -l
bash-2.03# pwd
/usr/local/sip_router
bash-2.03# ls -l
total 2108
-rw-r--r-- 1 root root 1125 Mar 17 11:57 AUTHORS
-rw-r--r-- 1 root root 16586 Mar 3 19:45 COPYING
-rw-r--r-- 1 root root 22372 Nov 14 14:39 ChangeLog
-rw-r--r-- 1 root root 11180 Mar 16 02:01 INSTALL
-rw-r--r-- 1 root root 8128 Apr 3 19:26 ISSUES
-rw-r--r-- 1 root root 6019 Apr 1 20:20 Makefile
-rw-r--r-- 1 root root 17044 Apr 1 20:20 Makefile.defs
-rw-r--r-- 1 root root 798 Mar 5 2002 Makefile.modules
-rw-r--r-- 1 root root 1697 Mar 18 17:07 Makefile.rules
-rwx------ 1 root other 558 Apr 4 16:56 Makefile.sources
-rw-r--r-- 1 root root 562 Apr 4 16:51 Makefile.sources.orig
-rw-r--r-- 1 root root 2855 Apr 4 05:21 NEWS
-rw-r--r-- 1 root root 4740 Jan 5 21:14 README
-rw-r--r-- 1 root root 5544 Mar 28 22:23 README-MODULES
-rw-r--r-- 1 root root 976 Sep 26 2002 README.cfg
-rw-r--r-- 1 root root 3095 Apr 3 20:06 TODO
-rw-r--r-- 1 root root 15340 Apr 1 13:58 action.c
-rw-r--r-- 1 root root 1296 Sep 19 2002 action.h
-rw-r--r-- 1 root root 705 Mar 8 2002 bat.cfg
-rwxr-xr-x 1 root root 2374 Nov 7 16:26 ccopts.sh
-rwxr-xr-x 1 root root 1434 Nov 7 16:26 ccver.sh
-rw-r--r-- 1 root root 12830 Apr 1 20:20 cfg.lex
-rw-r--r-- 1 root other 111826 Apr 4 16:46 cfg.tab.c
-rw-r--r-- 1 root other 353 Apr 4 16:46 cfg.tab.d
-rw-r--r-- 1 root other 5097 Apr 4 16:46 cfg.tab.h
-rw-r--r-- 1 root other 78984 Apr 4 16:46 cfg.tab.o
-rw-r--r-- 1 root root 33111 Apr 1 20:20 cfg.y
-rw-r--r-- 1 root root 1391 Feb 28 15:12 comp_defs.h
-rw-r--r-- 1 root root 4650 Apr 2 18:39 config.h
-rw-r--r-- 1 root root 13824 Sep 19 2002 crc.c
-rw-r--r-- 1 root root 345 May 26 2002 crc.h
-rw-r--r-- 1 root root 10747 Apr 1 17:54 data_lump.c
-rw-r--r-- 1 root root 5947 Apr 2 18:39 data_lump.h
-rw-r--r-- 1 root root 2066 Sep 19 2002 data_lump_rpl.c
-rw-r--r-- 1 root root 1381 Sep 19 2002 data_lump_rpl.h
drwxr-xr-x 4 root root 512 Jan 1 1970 db
drwxr-xr-x 2 root root 1024 Jan 1 1970 debian
-rw-r--r-- 1 root root 109 Dec 6 2001 debug.gdb
-rw-r--r-- 1 root root 1948 Nov 14 2001 demo.cfg
drwxr-xr-x 5 root root 512 Jan 1 1970 doc
-rw-r--r-- 1 root root 1384 Sep 19 2002 dprint.c
-rw-r--r-- 1 root root 4178 Sep 19 2002 dprint.h
-rw-r--r-- 1 root root 3722 Sep 19 2002 dset.c
-rw-r--r-- 1 root root 1711 Sep 19 2002 dset.h
-rw-r--r-- 1 root root 5837 Apr 4 05:21 error.c
-rw-r--r-- 1 root root 2393 Jan 21 14:53 error.h
drwxr-xr-x 3 root root 512 Jan 1 1970 etc
drwxr-xr-x 4 root root 512 Jan 1 1970 examples
-rw-r--r-- 1 root root 3559 Jan 17 17:24 fastlock.h
-rw-r--r-- 1 root root 19671 Mar 29 03:30 fifo_server.c
-rw-r--r-- 1 root root 2669 Mar 29 03:30 fifo_server.h
-rw-r--r-- 1 root root 3734 Mar 19 19:41 flags.c
-rw-r--r-- 1 root root 1538 Nov 26 16:29 flags.h
-rw-r--r-- 1 root root 13579 Apr 3 20:06 forward.c
-rw-r--r-- 1 root root 3368 Apr 3 20:06 forward.h
drwxr-xr-x 2 root root 512 Jan 1 1970 freebsd
drwxr-xr-x 2 root root 512 Jan 1 1970 gentoo
-rw-r--r-- 1 root root 3093 Apr 2 17:51 globals.h
-rw-r--r-- 1 root root 4271 Feb 7 18:02 hash_func.c
-rw-r--r-- 1 root root 1409 Feb 7 18:02 hash_func.h
-rw-r--r-- 1 root root 3786 Mar 19 19:41 ip_addr.c
-rw-r--r-- 1 root root 12489 Apr 3 20:06 ip_addr.h
-rw-r--r-- 1 root other 78858 Apr 4 16:46 lex.yy.c
-rw-r--r-- 1 root other 110 Apr 4 16:46 lex.yy.d
-rw-r--r-- 1 root other 76880 Apr 4 16:46 lex.yy.o
-rw-r--r-- 1 root root 3029 Mar 19 19:41 lock_alloc.h
-rw-r--r-- 1 root root 7714 Mar 17 19:43 lock_ops.h
-rw-r--r-- 1 root root 2720 Mar 17 19:43 locking.h
-rw-r--r-- 1 root root 41114 Apr 2 17:51 main.c
-rw-r--r-- 1 root root 10638 Sep 19 2002 md5.c
-rw-r--r-- 1 root root 1402 Sep 19 2002 md5.h
-rw-r--r-- 1 root root 786 Sep 19 2002 md5global.h
-rw-r--r-- 1 root root 1656 Sep 19 2002 md5utils.c
-rw-r--r-- 1 root root 1224 Sep 19 2002 md5utils.h
drwxr-xr-x 2 root root 512 Jan 1 1970 mem
-rw-r--r-- 1 root root 3550 Mar 20 16:40 modparam.c
-rw-r--r-- 1 root root 1310 Mar 20 16:40 modparam.h
drwxr-xr-x 36 root root 1024 Jan 1 1970 modules
-rw-r--r-- 1 root root 47380 Apr 2 18:39 msg_translator.c
-rw-r--r-- 1 root root 2886 Mar 29 02:38 msg_translator.h
-rw-r--r-- 1 root root 2534 Mar 19 19:41 name_alias.h
drwxr-xr-x 5 root root 1536 Jan 1 1970 parser
-rw-r--r-- 1 root root 3626 Feb 20 20:50 pass_fd.c
-rw-r--r-- 1 root root 1261 Nov 29 22:12 pass_fd.h
drwxr-xr-x 2 root root 512 Jan 1 1970 profile
-rw-r--r-- 1 root root 6760 Mar 20 18:10 proxy.c
-rw-r--r-- 1 root root 1918 Feb 19 18:16 proxy.h
-rw-r--r-- 1 root root 2087 Dec 11 22:30 pt.h
-rw-r--r-- 1 root root 5268 Feb 28 15:12 receive.c
-rw-r--r-- 1 root root 1222 Dec 12 22:46 receive.h
-rw-r--r-- 1 root root 14325 Feb 19 18:16 resolve.c
-rw-r--r-- 1 root root 6917 Mar 10 23:24 resolve.h
-rw-r--r-- 1 root root 14691 Apr 1 20:20 route.c
-rw-r--r-- 1 root root 1641 Sep 19 2002 route.h
-rw-r--r-- 1 root root 7701 Mar 19 19:41 route_struct.c
-rw-r--r-- 1 root root 3151 Apr 1 20:20 route_struct.h
drwxr-xr-x 2 root root 512 Jan 1 1970 rpm
-rw-r--r-- 1 root root 2713 Mar 29 03:30 script_cb.c
-rw-r--r-- 1 root root 1557 Mar 29 03:30 script_cb.h
drwxr-xr-x 2 root root 512 Jan 1 1970 scripts
-rw-r--r-- 1 root root 3241 Sep 25 2002 ser.8
-rw-r--r-- 1 root root 1284 Sep 26 2002 ser.cfg.5
drwxr-xr-x 2 root root 512 Jan 1 1970 solaris
-rw-r--r-- 1 root root 9105 Mar 29 03:30 sr_module.c
-rw-r--r-- 1 root root 4550 Mar 20 00:46 sr_module.h
-rw-r--r-- 1 root root 23490 Mar 20 00:46 stats.c
-rw-r--r-- 1 root root 5261 Sep 20 2002 stats.h
-rw-r--r-- 1 root root 1219 Sep 19 2002 str.h
-rw-r--r-- 1 root root 2685 Feb 19 18:16 tags.h
-rw-r--r-- 1 root root 5217 Feb 20 19:30 tcp_conn.h
-rw-r--r-- 1 root root 1317 Jan 20 19:35 tcp_init.h
-rw-r--r-- 1 root root 24286 Mar 31 21:51 tcp_main.c
-rw-r--r-- 1 root root 15358 Apr 2 20:20 tcp_read.c
-rw-r--r-- 1 root root 1383 Feb 7 18:02 tcp_server.h
drwxr-xr-x 3 root root 2560 Jan 1 1970 test
-rw-r--r-- 1 root root 3109 Sep 4 2001 test.c.bak
-rw-r--r-- 1 root root 3606 Apr 3 20:06 timer.c
-rw-r--r-- 1 root root 1622 Jan 20 19:35 timer.h
-rw-r--r-- 1 root root 2749 Dec 2 10:16 trim.h
-rw-r--r-- 1 root root 1160 Sep 19 2002 types.h
-rw-r--r-- 1 root root 10086 Mar 19 19:41 udp_server.c
-rw-r--r-- 1 root root 1428 Sep 19 2002 udp_server.h
-rw-r--r-- 1 root root 9166 Mar 30 22:25 ut.h
drwxr-xr-x 4 root root 512 Jan 1 1970 utils
-rw-r--r-- 1 root other 0 Apr 4 15:31 y.tab.c
---------------------------
3. Output of make:
I can't get the two lines in Makefile.sources work.
--------------
Makefile.sources:22: *** missing separator. Stop.
-----------------
Thanks
Yang
----- Original Message -----
From: "Andrei Pelinescu-Onciul" <pelinescu-onciul at fokus.fraunhofer.de>
To: "Yang Xiang" <yang.xiang at iitb.fraunhofer.de>
Cc: "Jiri Kuthan" <jiri at iptel.org>; <serusers at lists.iptel.org>
Sent: Friday, April 04, 2003 4:22 PM
Subject: Re: [Serusers] problem with compiling
> On Apr 04, 2003 at 15:38, Yang Xiang <yang.xiang at iitb.fraunhofer.de>
wrote:
> > Hello Andrei,
> >
> > I've changed bison to the yacc of Sun (/usr/ccs/bin/yacc) and download
the
> > newst snapshot of CVS. But compilation still doesn't work:
>
> The cvs snapshot should work with newer bison (it works here with bison
> 1.875a on linux).
>
> > -----------------------------------------------------------
> > bash-2.03# make
> > Makefile.rules:77: lex.yy.d: No such file or directory
> > Makefile.rules:77: cfg.tab.d: No such file or directory
> > yacc -d -b cfg cfg.y
> [...]
> > It says that the both files lex.yy.d and cfg.tab are missing. Where
should
> > they exist? And what for are they?
>
> It's ok. They are dependecies files created automatically by the
> makefile (so don't worry about these error messages).
>
> The strange thing is only lex & yacc generated files are compiled and
> only they are linked. The other strange thing is I cannot reproduce it
> on any of my solaris machines.
>
> So could you
> - tell me you gmake version? (gmake -v or make -v).
> - send me the output of ls -l in your ser directory
> - add the following 2 lines at the end of Makefile.sources and send
> me the make output:
>
> $(warning "sources is $(sources)")
> $(error "objs is $(objs)")
>
> [ you will get an error and a list of files ]
>
>
> Thanks,
>
> Andrei
>
>
More information about the sr-users
mailing list