[imapfilter-devel]Re: problem compiling on Solaris 9
Christian Talmage - Sun IT Ops WWCS
Christian.Talmage at Sun.COM
Thu Apr 3 12:41:01 EEST 2003
Don't worry, should read a bit more on compiling and include the network
service libraries ;0)
Cheers
Christian
On Thu, 2003-04-03 at 10:19, Christian Talmage - Sun IT Ops WWCS wrote:
> All,
>
> I am having problems compiling on Solaris 9. I am using gcc version
> 3.2.2. I am getting the following output, can I anybody point in the
> right direction to solve it.
>
> Cheers
>
> Christian
>
> root[sh]@epoch# make
> gcc -g -c data.c
> data.c: In function `process_mboxgrp':
> data.c:224: warning: assignment makes pointer from integer without a
> cast
> data.c:229: warning: assignment makes pointer from integer without a
> cast
> data.c: In function `set_action':
> data.c:441: warning: assignment makes pointer from integer without a
> cast
> data.c:459: warning: assignment makes pointer from integer without a
> cast
> data.c: In function `set_job':
> data.c:660: warning: assignment makes pointer from integer without a
> cast
> data.c:670: warning: assignment makes pointer from integer without a
> cast
> data.c:677: warning: assignment makes pointer from integer without a
> cast
> data.c:680: warning: assignment makes pointer from integer without a
> cast
> gcc -g -c file.c
> gcc -g -c imap.c
> gcc -g -c imapfilter.c
> gcc -g -c lock.c
> gcc -g -c log.c
> gcc -g -c memory.c
> gcc -g -c misc.c
> gcc -g -c passwd.c
> gcc -g -c response.c
> gcc -g -c request.c
> request.c: In function `action_delete':
> request.c:435: warning: assignment makes pointer from integer without a
> cast
> request.c:440: warning: assignment makes pointer from integer without a
> cast
> request.c: In function `action_copy':
> request.c:464: warning: assignment makes pointer from integer without a
> cast
> request.c:476: warning: assignment makes pointer from integer without a
> cast
> request.c: In function `action_rcopy':
> request.c:550: warning: assignment makes pointer from integer without a
> cast
> request.c:581: warning: assignment makes pointer from integer without a
> cast
> request.c: In function `action_flag':
> request.c:647: warning: assignment makes pointer from integer without a
> cast
> request.c:651: warning: assignment makes pointer from integer without a
> cast
> request.c: In function `action_list':
> request.c:679: warning: assignment makes pointer from integer without a
> cast
> request.c:695: warning: assignment makes pointer from integer without a
> cast
> gcc -g -c socket.c
> gcc -g -c tty.c
> gcc -g -o imapfilter data.o file.o imap.o imapfilter.o lock.o log.o
> memory.o misc.o passwd.o response.o request.o socket.o tty.o
> Undefined first referenced
> symbol in file
> socket socket.o
> gethostbyname socket.o
> connect socket.o
> ld: fatal: Symbol referencing errors. No output written to imapfilter
> collect2: ld returned 1 exit status
> *** Error code 1
> make: Fatal error: Command failed for target `imapfilter'
--
Christian Talmage - Sun IT Ops WWCS <Christian.Talmage at Sun.COM>
Sun Microsystems Ltd - Work 01252 421724
More information about the Imapfilter-devel
mailing list