Subject: devel/py-curses problems in DragonFly
To: None <tech-pkg@NetBSD.org>
From: None <Pablo.Docampo.Dieguez@sergas.es>
List: tech-pkg
Date: 04/13/2005 13:25:06
Hi!
Building devel/py-curses in DragonFly from pkgsrc I got this:
[...]
build/temp.dragonfly-1.3-DEVELOPMENT-i386-2.3/Modules/_cursesmodule.o(.te=
xt+0x5895): undefined reference to `PyDict_SetItemString'
/usr/lib/libncurses.so: undefined reference to `strcpy'
/usr/lib/libncurses.so: undefined reference to `__stdoutp'
/usr/lib/libncurses.so: undefined reference to `ioctl'
/usr/lib/libncurses.so: undefined reference to `cfgetospeed'
/usr/lib/libncurses.so: undefined reference to `sigemptyset'
/usr/lib/libncurses.so: undefined reference to `memmove'
/usr/lib/libncurses.so: undefined reference to `__stdinp'
/usr/lib/libncurses.so: undefined reference to `times'
/usr/lib/libncurses.so: undefined reference to `getenv'
/usr/lib/libncurses.so: undefined reference to `__stack_smash_handler'
/usr/lib/libncurses.so: undefined reference to `vsscanf'
/usr/lib/libncurses.so: undefined reference to `getpid'
/usr/lib/libncurses.so: undefined reference to `fgets'
/usr/lib/libncurses.so: undefined reference to `memcpy'
/usr/lib/libncurses.so: undefined reference to `setvbuf'
/usr/lib/libncurses.so: undefined reference to `perror'
/usr/lib/libncurses.so: undefined reference to `__stderrp'
/usr/lib/libncurses.so: undefined reference to `tcflush'
/usr/lib/libncurses.so: undefined reference to `feof'
/usr/lib/libncurses.so: undefined reference to `remove'
/usr/lib/libncurses.so: undefined reference to `isatty'
/usr/lib/libncurses.so: undefined reference to `sleep'
/usr/lib/libncurses.so: undefined reference to `vsnprintf'
/usr/lib/libncurses.so: undefined reference to `fflush'
/usr/lib/libncurses.so: undefined reference to `lseek'
/usr/lib/libncurses.so: undefined reference to `sigaddset'
/usr/lib/libncurses.so: undefined reference to `__guard'
/usr/lib/libncurses.so: undefined reference to `abort'
/usr/lib/libncurses.so: undefined reference to `strtol'
/usr/lib/libncurses.so: undefined reference to `getpgrp'
/usr/lib/libncurses.so: undefined reference to `_DefaultRuneLocale'
/usr/lib/libncurses.so: undefined reference to `strrchr'
/usr/lib/libncurses.so: undefined reference to `nanosleep'
/usr/lib/libncurses.so: undefined reference to `calloc'
/usr/lib/libncurses.so: undefined reference to `write'
/usr/lib/libncurses.so: undefined reference to `fprintf'
/usr/lib/libncurses.so: undefined reference to `kill'
/usr/lib/libncurses.so: undefined reference to `strcat'
/usr/lib/libncurses.so: undefined reference to `chdir'
/usr/lib/libncurses.so: undefined reference to `issetugid'
/usr/lib/libncurses.so: undefined reference to `ferror'
/usr/lib/libncurses.so: undefined reference to `strstr'
/usr/lib/libncurses.so: undefined reference to `__error'
/usr/lib/libncurses.so: undefined reference to `signal'
/usr/lib/libncurses.so: undefined reference to `read'
/usr/lib/libncurses.so: undefined reference to `___runetype'
/usr/lib/libncurses.so: undefined reference to `strncpy'
/usr/lib/libncurses.so: undefined reference to `realloc'
/usr/lib/libncurses.so: undefined reference to `_CurrentRuneLocale'
/usr/lib/libncurses.so: undefined reference to `sscanf'
/usr/lib/libncurses.so: undefined reference to `strncat'
/usr/lib/libncurses.so: undefined reference to `sigaction'
/usr/lib/libncurses.so: undefined reference to `fread'
/usr/lib/libncurses.so: undefined reference to `strdup'
/usr/lib/libncurses.so: undefined reference to `gettimeofday'
/usr/lib/libncurses.so: undefined reference to `fopen'
/usr/lib/libncurses.so: undefined reference to `memset'
/usr/lib/libncurses.so: undefined reference to `ftell'
/usr/lib/libncurses.so: undefined reference to `clearerr'
/usr/lib/libncurses.so: undefined reference to `fclose'
/usr/lib/libncurses.so: undefined reference to `tcgetattr'
/usr/lib/libncurses.so: undefined reference to `poll'
/usr/lib/libncurses.so: undefined reference to `putc'
/usr/lib/libncurses.so: undefined reference to `strcmp'
/usr/lib/libncurses.so: undefined reference to `ttyname'
/usr/lib/libncurses.so: undefined reference to `getcwd'
/usr/lib/libncurses.so: undefined reference to `sprintf'
/usr/lib/libncurses.so: undefined reference to `strsep'
/usr/lib/libncurses.so: undefined reference to `sigismember'
/usr/lib/libncurses.so: undefined reference to `fputc'
/usr/lib/libncurses.so: undefined reference to `cgetset'
/usr/lib/libncurses.so: undefined reference to `stat'
/usr/lib/libncurses.so: undefined reference to `fwrite'
/usr/lib/libncurses.so: undefined reference to `access'
/usr/lib/libncurses.so: undefined reference to `tcgetpgrp'
/usr/lib/libncurses.so: undefined reference to `link'
/usr/lib/libncurses.so: undefined reference to `exit'
/usr/lib/libncurses.so: undefined reference to `cgetent'
/usr/lib/libncurses.so: undefined reference to `atoi'
/usr/lib/libncurses.so: undefined reference to `fileno'
/usr/lib/libncurses.so: undefined reference to `strlen'
/usr/lib/libncurses.so: undefined reference to `open'
/usr/lib/libncurses.so: undefined reference to `strchr'
/usr/lib/libncurses.so: undefined reference to `tcsetattr'
/usr/lib/libncurses.so: undefined reference to `mkdir'
/usr/lib/libncurses.so: undefined reference to `close'
/usr/lib/libncurses.so: undefined reference to `vfprintf'
/usr/lib/libncurses.so: undefined reference to `sigprocmask'
error: command 'ld' failed with exit status 1
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/py-curses
=3D=3D=3D>
=3D=3D=3D> There was an error during the ``build'' phase.
=3D=3D=3D> Please investigate the following for more information:
=3D=3D=3D> * log of the build
=3D=3D=3D> * /usr/pkgsrc-current/devel/py-curses/work/.work.log
=3D=3D=3D>
*** Error code 1
Stop.
tail -n 75 ./work/.work.log give mi this:
(logic) pop: -I/usr/pkg/include/python2.3
(logic) to: -I/usr/pkgsrc-current/devel/py-curses/work/.buildlink/i=
nclude/python2.3 [cached]
(logic) push: -I/usr/pkgsrc-current/devel/py-curses/work/.buildlink/i=
nclude/python2.3
(logic) pop: -I/usr/include
(logic) to: [cached]
(logic) push:
(logic) pop: -I/usr/pkg/include/python2.3
(logic) to: -I/usr/pkgsrc-current/devel/py-curses/work/.buildlink/i=
nclude/python2.3 [cached]
(logic) push: -I/usr/pkgsrc-current/devel/py-curses/work/.buildlink/i=
nclude/python2.3
(logic) pop: build/temp.dragonfly-1.3-DEVELOPMENT-i386-2.3/Modules/_=
cursesmodule.o
(logic) to: build/temp.dragonfly-1.3-DEVELOPMENT-i386-2.3/Modules/_=
cursesmodule.o [untransformed]
(logic) push: build/temp.dragonfly-1.3-DEVELOPMENT-i386-2.3/Modules/_=
cursesmodule.o
(logic) pop: -L/lib
(logic) to:
(logic) push:
(logic) pop: -R/lib
(logic) to:
(logic) push:
(logic) pop: -lncurses
(logic) to: -lncurses
(logic) push: -lncurses [split]
(logic) pop: -o
(logic) to: -o [cached]
(logic) push: -o
(logic) pop: build/lib.dragonfly-1.3-DEVELOPMENT-i386-2.3/_curses.so=
(logic) push: build/lib.dragonfly-1.3-DEVELOPMENT-i386-2.3/_curses.so=
[skipped]
(logic) pop: -L/usr/lib
(logic) to: [cached]
(logic) push:
(logic) pop: -Wl,-R/usr/lib
(logic) to: [cached]
(logic) push:
(logic) pop: -L/usr/pkg/lib/python2.3/config
(logic) to: -L/usr/pkgsrc-current/devel/py-curses/work/.buildlink/l=
ib/python2.3/config [cached]
(logic) push: -L/usr/pkgsrc-current/devel/py-curses/work/.buildlink/l=
ib/python2.3/config
(logic) pop: -Wl,-R/usr/pkg/lib/python2.3/config
(logic) to: -Wl,-R/usr/pkg/lib/python2.3/config [cached]
(logic) push: -Wl,-R/usr/pkg/lib/python2.3/config
(logic) pop: -Wl,-R/usr/pkg/lib
(logic) to: -Wl,-R/usr/pkg/lib [cached]
(logic) push: -Wl,-R/usr/pkg/lib
(logic) pop: -L/usr/pkgsrc-current/devel/py-curses/work/.buildlink/l=
ib
(logic) to: -L/usr/pkgsrc-current/devel/py-curses/work/.buildlink/l=
ib [cached]
(logic) push: -L/usr/pkgsrc-current/devel/py-curses/work/.buildlink/l=
ib
(cmd-sink-ld) pop:
(cmd-sink-ld) pop:
(cmd-sink-ld) pop: -L/usr/pkgsrc-current/devel/py-curses/work/.build=
link/lib/python2.3/config
(cmd-sink-ld) pop: -Wl,-R/usr/pkg/lib/python2.3/config
(cmd-sink-ld) pre: -R/usr/pkg/lib/python2.3/config
(cmd-sink-ld) pop: -R/usr/pkg/lib/python2.3/config
(cmd-sink-ld) pop: -Wl,-R/usr/pkg/lib
(cmd-sink-ld) pre: -R/usr/pkg/lib
(cmd-sink-ld) pop: -R/usr/pkg/lib
(cmd-sink-ld) pop: -O2
(cmd-sink-ld) pop:
(cmd-sink-ld) pop: -I/usr/pkgsrc-current/devel/py-curses/work/.build=
link/include/python2.3
(cmd-sink-ld) pop:
(cmd-sink-ld) pop: -I/usr/pkgsrc-current/devel/py-curses/work/.build=
link/include/python2.3
(cmd-sink-ld) pop: build/temp.dragonfly-1.3-DEVELOPMENT-i386-2.3/Mod=
ules/_cursesmodule.o
(cmd-sink-ld) pop:
(cmd-sink-ld) pop:
(cmd-sink-ld) pop: -lncurses
(cmd-sink-ld) pop: -o
(cmd-sink-ld) pop: build/lib.dragonfly-1.3-DEVELOPMENT-i386-2.3/_cur=
ses.so
(cmd-sink-ld) pop:
(cmd-sink-ld) pop:
(cmd-sink-ld) pop: -L/usr/pkgsrc-current/devel/py-curses/work/.build=
link/lib/python2.3/config
(cmd-sink-ld) pop: -Wl,-R/usr/pkg/lib/python2.3/config
(cmd-sink-ld) pre: -R/usr/pkg/lib/python2.3/config
(cmd-sink-ld) pop: -R/usr/pkg/lib/python2.3/config
(cmd-sink-ld) pop: -Wl,-R/usr/pkg/lib
(cmd-sink-ld) pre: -R/usr/pkg/lib
(cmd-sink-ld) pop: -R/usr/pkg/lib
(cmd-sink-ld) pop: -L/usr/pkgsrc-current/devel/py-curses/work/.build=
link/lib
<.> /usr/bin/ld -L/usr/pkgsrc-current/devel/py-curses/work/.buildlink/lib=
/python2.3/config -R/usr/pkg/lib/python2.3/config -R/usr/pkg/lib -O2 -I/u=
sr/pkgsrc-current/devel/py-curses/work/.buildlink/include/python2.3 build=
/temp.dragonfly-1.3-DEVELOPMENT-i386-2.3/Modules/_cursesmodule.o -o build=
/lib.dragonfly-1.3-DEVELOPMENT-i386-2.3/_curses.so -L/usr/pkgsrc-current/=
devel/py-curses/work/.buildlink/lib -lncurses
Thanks for all!
<PoLiTvS>
Nota: La informaci=F3n contenida en este mensaje y sus posibles documento=
s adjuntos es privada y confidencial y est=E1 dirigida =FAnicamente a su =
destinatario. Si usted no es el destinatario original de este mensaje, po=
r favor elim=EDnelo. La distribuci=F3n o copia de este mensaje no est=E1 =
autorizada.=20
Note: The information in this message and any attachments that may be inc=
luded with it, is private and confidential and is directed exclusively to=
the message's recipient. If you are not the original recipient of this m=
essage, please erase it. Distribution or copying of this message isn=B4t =
authorized