View previous topic :: View next topic |
Author |
Message |
luozhiyuan n00b
Joined: 24 Jun 2006 Posts: 6
|
Posted: Mon Jul 10, 2006 3:16 pm Post subject: problems when emerge gpm |
|
|
I'm failed to emerge gpm.It seems something about link error:
Code: | i686-pc-linux-gnu-gcc -I/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -DHAVE_CONFIG_H -include headers/config.h -Wall -DSYSCONFDIR="\"/etc/gpm\"" -DSBINDIR="\"/usr/sbin\"" -march=athlon-xp -O4 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -ffast-math -finline-functions -falign-jumps=4 -falign-loops=4 -falign-functions=64 -funroll-loops -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -minline-all-stringops -finline-limit=600 -fmove-all-movables -freduce-all-givs -freorder-blocks -freorder-functions -falign-labels -falign-loops -falign-jumps -fweb -funit-at-a-time -fprefetch-loop-arrays -ffunction-sections -fdata-sections -fbranch-target-load-optimize -frename-registers -march=athlon-xp -O4 -pipe -mmmx -m3dnow -msse -mfpmath=sse,387 -ffast-math -finline-functions -falign-jumps=4 -falign-loops=4 -falign-functions=64 -funroll-loops -fforce-addr -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -fexpensive-optimizations -minline-all-stringops -finline-limit=600 -fmove-all-movables -freduce-all-givs -freorder-blocks -freorder-functions -falign-labels -falign-loops -falign-jumps -fweb -funit-at-a-time -fprefetch-loop-arrays -ffunction-sections -fdata-sections -fbranch-target-load-optimize -frename-registers -c -o prog/disable-paste.o prog/disable-paste.c
i686-pc-linux-gnu-gcc -L/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src -Wl,-O1 -o gpm main.o gpm.o gpn.o mice.o special.o twiddler.o synaptics.o startup.o server_tools.o report.o tools.o -lm
gpm.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
gpn.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
mice.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
special.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
twiddler.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
synaptics.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
startup.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
server_tools.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
report.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
tools.o:(.bss.option+0x0): multiple definition of `option'
main.o:(.bss.option+0x0): first defined here
collect2: ld returned 1 exit status
make[1]: *** [gpm] Error 1
make[1]: *** Waiting for unfinished jobs....
rm prog/hltest.o prog/mev.o prog/disable-paste.o
make[1]: Leaving directory `/var/tmp/portage/gpm-1.20.1-r4/work/gpm-1.20.1/src'
make: *** [do-all] Error 1
!!! ERROR: sys-libs/gpm-1.20.1-r4 failed.
Call stack:
ebuild.sh, line 1539: Called dyn_compile
ebuild.sh, line 939: Called src_compile
gpm-1.20.1-r4.ebuild, line 40: Called die
!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
|
|
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Tue Jul 11, 2006 1:15 am Post subject: |
|
|
You might want to try slightly more conservative CFLAGS, and then see if it compiles without errors. |
|
Back to top |
|
|
luozhiyuan n00b
Joined: 24 Jun 2006 Posts: 6
|
Posted: Tue Jul 11, 2006 1:15 pm Post subject: yes |
|
|
it's the problem. thank you very much! |
|
Back to top |
|
|
|
|
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
|
|