Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Groff & xditview - gcc: multiple compilations error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
haikara
n00b
n00b


Joined: 18 May 2003
Posts: 1
Location: Finland

PostPosted: Sun May 18, 2003 11:51 am    Post subject: Groff & xditview - gcc: multiple compilations error Reply with quote

Hi all,

I'm having some problems when trying to update my system with 'emerge -u world'. I'm not using any special optimizations in make.conf and I have already tried to compile with just the basic tags.

CFLAGS="-mcpu=athlon-tbird -O3 -pipe"
CXXFLAGS="$(CFLAGS)"

Code:

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1'
make[1]: Leaving directory `/var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1'
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
makedepend  -- -I./lib/Xt   -I.   -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE    -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"   -DUSE_MAKEDEPEND -- /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/xditview.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/Dvi.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/draw.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/font.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/lex.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/page.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/parse.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/XFontName.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/DviChar.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/device.c /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/xtotroff.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/XFontName.c   /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/src/xditview/DviChar.c
gcc DefaultGcc2i386Opt    -I./lib/Xt   -I.   -I/usr/X11R6/include    -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE    -DNO_MESSAGE_CATALOG -DFUNCPROTO=15 -DNARROWPROTO      -DFONTPATH=\"/usr/share/groff/`cat /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/VERSION``sed -e 's/^0$//' -e 's/^[1-9].*$/.&/' /var/tmp/portage/groff-1.18.1-r1/work/groff-1.18.1/REVISION`/font:/usr/share/groff/site-font:/usr/lib/font\"     -c -o xditview.o xditview.c
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** [xditview.o] Error 1

!!! ERROR: sys-apps/groff-1.18.1-r1 failed.
!!! Function src_compile, Line 58, Exitcode 2
!!! (no error message)


I tried to use search to find people with same problem but I just don't understand where the problem is.

Any help is appreciated!-)
Back to top
View user's profile Send private message
iwasbiggs
Apprentice
Apprentice


Joined: 17 Jan 2003
Posts: 203

PostPosted: Thu Jun 05, 2003 6:35 am    Post subject: Reply with quote

I am not sure why, but it has troubles with X in my use flags. I resolved the problem with
Code:

#USE="-X" emerge groff

_________________
www.ruinedsoft.com
Freeware development.
Back to top
View user's profile Send private message
ichnaton
n00b
n00b


Joined: 28 May 2003
Posts: 21
Location: Maassluis, Holland

PostPosted: Sat Jun 07, 2003 7:16 am    Post subject: Reply with quote

iwasbiggs wrote:
I am not sure why, but it has troubles with X in my use flags. I resolved the problem with
Code:

#USE="-X" emerge groff


Yup, that works for me too. This also makes mee see the use of this USE flags... :lol:
Thanx
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum