Re: Compilation
Hey Michal, if you still subscribe, I know this was a very long time ago, but this has been bugging me so I want to thank you for your advice. This was 9 years ago. Ultimately I just had a lot to learn. Besides not staying up all night to solve dependency issues and writing to mailing lists in an upset tone. I'm sorry about that. I was 17 at the time. I think I read your response, but then I gave up on my project to make my own open source RPG at the time. In some way I just wanted to get the job done. I looked at the PyGTK link you posted. It looks like a pretty direct way to get started doing drawings. A lot of other things would be involved with an RPG, including sound, animations, and AI. It's also good advice to not get frustrated, too. Thanks, Carlos On Wed, Jul 21, 2004 at 01:16:20 PDT, Michal Pasternak mic...@pasternak.w.lub.pl wrote: Carlos Torchia [Wed, Jul 21, 2004 at 06:02:43AM +0100]: * Hi. I can't compile a program using the G2 graphics** library. When I tried compiling the program the first** time, cc said it didn't know that g2.h was in** /usr/local/include, which I think is pretty stupid.** Anyway, I put /usr/local/include and /usr/local/lib in** the -I and -L parameters respectively.* Yes, that's correct. You need to pass -I and -L each time you compile a program, that has its libs / includes not in /usr/{lib,include} . There are 3 options: use Linux (which has almost everything in /usr/include and /usr/lib, but you still have to pass -I and -L sometimes, for postgresql for example); symlink all files in /usr/X11R6/{lib,include} and /usr/local/{lib,include} in your /usr/{lib,include} - which will clobber up your filesystem a bit; learn to write / use Makefiles or pkg-config stuff. For example, you could write Makefile like: myprogram: myprogram.c $(CC) -o myprogram `gtk-config --libs --cflags` myprogram.c * Then it saw** the header and library files, but there were constant** errors saying that there were undefined references to** X11 functions within libg2.a.* Aye! That's why you specify -L/usr/X11R6/lib -lX11 and some more stuff on gcc command line. Too hard, too complicated, takes too much time? Well. Either write a good makefile, or try to learn some IDE for GCC (anjuta, kdevelop), which can propably take care of this automatically. I think, that learning automake/autoconf (the scripts, that generate configure script, that autodetects library locations) can be hard/unneeded for you at the moment. * and how to redirect error output from** programs to files (or pipe them), because everything I** need to now about Unix or FreeBSD comes from 72 hours of** trying to figure out how to make a directory or something.* Google is your friend:http://www.bo.infn.it/alice/alice-doc/mll-doc/usrgde/node18.html * I'm sorry, but I just can't do anything in this operating** system. I mean, finally I've found a library that makes** it simple to simply plot a pixel in a window without** spending hours looking for a GTK tutorial that will tell** me about this stupid graphics context stuff that I don't** even know. And now I gotta figure out about this stupid** g2 thing. Ok. Well anyway, thanks for any help you can** give me.* If you just want to get the job done, I'd suggest Python. You don't care about compilation, libraries, other stuff - and it is extremely simple to draw stuff using PyGTK -http://www.moeraki.com/pygtktutorial/pygtk2tutorial/ch-DrawingArea.html If graphics context stuff bothers you, well, that's somehow standard way to draw stuff, well, X has it and win32 also has it :) If you want to use something like a framebuffer, I am sure you can find something, no matter if in GTK or X11 (I'd suggest XSHM extension for framebuffer-like stuff, but well, I've written my last pure-X11 application about 5 years ago, and I'm sure, that things have changed). Hope this helps. Don't get frustrated - spend another 72 hours actually reading the docs, unix is simple, but sometimes not as simple, as you may suppose :) -- m ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Errors cross compilation of architecture MIPS
Hi all. I have uname -rms FreeBSD 10.0-CURRENT amd64 I use to build system for architecture MIPS the instructions on the wiki http://wiki.freebsd.org/FreeBSD/mips I use next script build.sh http://privatepaste.com/339d25c604 but the compilation fails http://privatepaste.com/106d4015d0 then I add the option -DWITHOUT_GROFF \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/9887e06e42 then I add the option -DWITHOUT_SENDMAIL \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/962b406024 In what could be the problem here and what I'm doing wrong? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Errors cross compilation of architecture MIPS
That's odd. I don't build like that though, I build with my build scripts at http://code.google.com/p/freebsd-wifi-build/ Maybe see what I do in build_freebsd ? Adrian On 7 November 2012 04:37, Ivan Klymenko fi...@ukr.net wrote: Hi all. I have uname -rms FreeBSD 10.0-CURRENT amd64 I use to build system for architecture MIPS the instructions on the wiki http://wiki.freebsd.org/FreeBSD/mips I use next script build.sh http://privatepaste.com/339d25c604 but the compilation fails http://privatepaste.com/106d4015d0 then I add the option -DWITHOUT_GROFF \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/9887e06e42 then I add the option -DWITHOUT_SENDMAIL \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/962b406024 In what could be the problem here and what I'm doing wrong? Thanks. ___ freebsd-m...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mips To unsubscribe, send any mail to freebsd-mips-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Errors cross compilation of architecture MIPS
I'd loose the -D flags and try again. The instructions there are very odd. Warner On Nov 7, 2012, at 5:37 AM, Ivan Klymenko wrote: Hi all. I have uname -rms FreeBSD 10.0-CURRENT amd64 I use to build system for architecture MIPS the instructions on the wiki http://wiki.freebsd.org/FreeBSD/mips I use next script build.sh http://privatepaste.com/339d25c604 but the compilation fails http://privatepaste.com/106d4015d0 then I add the option -DWITHOUT_GROFF \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/9887e06e42 then I add the option -DWITHOUT_SENDMAIL \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/962b406024 In what could be the problem here and what I'm doing wrong? Thanks. ___ freebsd-m...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-mips To unsubscribe, send any mail to freebsd-mips-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Errors cross compilation of architecture MIPS
Thanks, I'll try to figure out how to use it :) В Wed, 7 Nov 2012 08:46:56 -0800 Adrian Chadd adr...@freebsd.org пишет: That's odd. I don't build like that though, I build with my build scripts at http://code.google.com/p/freebsd-wifi-build/ Maybe see what I do in build_freebsd ? Adrian On 7 November 2012 04:37, Ivan Klymenko fi...@ukr.net wrote: Hi all. I have uname -rms FreeBSD 10.0-CURRENT amd64 I use to build system for architecture MIPS the instructions on the wiki http://wiki.freebsd.org/FreeBSD/mips I use next script build.sh http://privatepaste.com/339d25c604 but the compilation fails http://privatepaste.com/106d4015d0 then I add the option -DWITHOUT_GROFF \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/9887e06e42 then I add the option -DWITHOUT_SENDMAIL \ in build.sh and re-run the script build.sh Next, I get the following error http://privatepaste.com/962b406024 In what could be the problem here and what I'm doing wrong? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
some troble with compilation of newkernel
Hi users! I`ve got freeBSD8.2 system. Before the assemblage of a kernel the file has been checked up by config. The syntax of a file was correct. But the compilation was not completed About the error see the log lile, and the remaining information about the hardware and the kernel file see the attached files. Many thanks for attention... ip_fw_nat.o(.text+0x447): In function `del_redir_spool_cfg': : undefined reference to `LibAliasRedirectDelete' ip_fw_nat.o(.text+0x60c): In function `ipfw_nat_modevent': : undefined reference to `LibAliasUninit' ip_fw_nat.o(.text+0x642): In function `ipfw_nat_modevent': : undefined reference to `LibAliasUninit' ip_fw_nat.o(.text+0x8bc): In function `ipfw_nat_cfg': : undefined reference to `LibAliasSetMode' ip_fw_nat.o(.text+0x8d1): In function `ipfw_nat_cfg': : undefined reference to `LibAliasSetAddress' ip_fw_nat.o(.text+0xa58): In function `ipfw_nat_cfg': : undefined reference to `LibAliasAddServer' ip_fw_nat.o(.text+0xb56): In function `ipfw_nat_cfg': : undefined reference to `LibAliasRedirectAddr' ip_fw_nat.o(.text+0xb9c): In function `ipfw_nat_cfg': : undefined reference to `LibAliasRedirectProto' ip_fw_nat.o(.text+0xc2d): In function `ipfw_nat_cfg': : undefined reference to `LibAliasRedirectPort' ip_fw_nat.o(.text+0xdc8): In function `ipfw_nat_cfg': : undefined reference to `LibAliasInit' ip_fw_nat.o(.text+0xefc): In function `ifaddr_change': : undefined reference to `LibAliasSetAddress' ip_fw_nat.o(.text+0x1054): In function `ipfw_nat_del': : undefined reference to `LibAliasUninit' ip_fw_nat.o(.text+0x1147): In function `ipfw_nat': : undefined reference to `m_megapullup' ip_fw_nat.o(.text+0x11a6): In function `ipfw_nat': : undefined reference to `LibAliasOut' ip_fw_nat.o(.text+0x1345): In function `ipfw_nat': : undefined reference to `LibAliasIn' kbd.o(.text+0xe8): In function `kbd_configure': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xed): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0x108): In function `kbd_configure': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xd1d): In function `kbd_get_switch': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xd22): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xd35): In function `kbd_get_switch': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xfc1): In function `kbd_register': : undefined reference to `__start_set_kbddriver_set' kbd.o(.text+0xfc6): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' kbd.o(.text+0xfd5): In function `kbd_register': : undefined reference to `__stop_set_kbddriver_set' clock.o(.text+0x764): In function `clkintr': : undefined reference to `cyclic_clock_func' *** Error code 1 dmesg.boot Description: Binary data newkernel Description: Binary data ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: some troble with compilation of newkernel
From owner-freebsd-questi...@freebsd.org Sat Dec 17 10:38:44 2011 From: Oleg simonoff s...@aport.ru To: freebsd-questions@freebsd.org Date: Sat, 17 Dec 2011 19:35:24 +0300 Cc: Subject: some troble with compilation of newkernel Hi users! I`ve got freeBSD8.2 system. Before the assemblage of a kernel the file has been checked up by config. The syntax of a file was correct. But the compilation was not completed About the error see the log lile, and the remaining information about the hardware and the kernel file You are missing one or more 'options' or 'device' specifications from the configuration file. The dependencies involving configuration options are not well documented, And there are a few options that are -not- really 'optional', despite their name. wry grin You should start with the 'GENERIC' kernel config, and make 'small' changes, *testing* with a compile attempt after each such change, until you get to the kernel configuration you need. From the error messages, it appears you are missing 'options LIBALIAS', a keyboard-related device, and something to do with the clock. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
some troble with compilation of newkernel
Hi users! I`ve got freeBSD8.2 system. Before the assemblage of a kernel the file has been checked up by config. The syntax of a file was correct. But the compilation was not completed .. Stop in /usr/obj/usr/src/sys/newkernel. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. ... About the error see in compile_err lile, and remaining information about the hardware and the kernel file see the attached files. Many thanks for attention... Kernel build for newkernel started on Wed Dec 14 10:02:13 UTC 2011 -- === newkernel mkdir -p /usr/obj/usr/src/sys -- stage 1: configuring the kernel -- cd /usr/src/sys/i386/conf; PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /usr/obj/usr/src/sys/newkernel /usr/src/sys/i386/conf/newkernel Kernel build directory is /usr/obj/usr/src/sys/newkernel Don't forget to do ``make cleandepend make depend'' -- stage 2.1: cleaning up the object tree -- cd /usr/obj/usr/src/sys/newkernel; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp VERSION=FreeBSD 8.2-RELEASE i386 802000 INSTALL=sh /usr/src/tools/install.sh PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin NO_CTF=1 make KERNEL=kernel cleandir rm -f *.o *.so *.So *.ko *.s eddep errs kernel kernel kernel.symbols linterrs makelinks tags vers.c vnode_if.c vnode_if.h vnode_if_newproto.h vnode_if_typedef.h agp_if.c ata_if.c eisa_if.c miibus_if.c mmcbr_if.c mmcbus_if.c card_if.c power_if.c pci_if.c pcib_if.c ppbus_if.c uart_if.c usb_if.c g_part_if.c isa_if.c bus_if.c clock_if.c cpufreq_if.c device_if.c linker_if.c serdev_if.c acpi_if.c acpi_wmi_if.c agp_if.h ata_if.h eisa_if.h miibus_if.h mmcbr_if.h mmcbus_if.h card_if.h power_if.h pci_if.h pcib_if.h ppbus_if.h uart_if.h usb_if.h g_part_if.h isa_if.h bus_if.h clock_if.h cpufreq_if.h device_if.h linker_if.h serdev_if.h acpi_if.h acpi_wmi_if.h acpi_quirks.h miidevs.h pccarddevs.h teken_state.h usbdevs.h usbdevs_data.h acpi_wakecode.h acpi_wakecode.o acpi_wakecode.bin rm -f .depend machine compiling. cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/x86/isa/nmi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/x86/pci/qpi.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -fstack-protector -Werror /usr/src/sys/x86/x86/dump_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes
Re: root-portal compilation
On 09-06-2011 15:10, pwnedomina wrote: On 09-06-2011 09:55, Damien Fleuriot wrote: On 6/8/11 8:15 PM, pwnedomina wrote: There is no port for root-portal, i've tried to compile it manually without success. While trying to compile root-portal I get this error: process.h:59: error: extra qualification 'Procchange::' on member 'updated' *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules/process. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2. Can someone reproduce the same problem? I've tried to patch it using thishttp://old.nabble.com/Bug-358277:-FTBFS-with-G++-4.1:-extra-qualification-p3525146.html but I still get errors... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi, While I haven't tried to reproduce your problem, if I were you I would post: - my version of freebsd - my version of gcc Just saying ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org FreeBSD 8.2-RELEASE Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] it seems i cant have help from developer.. so help please.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: root-portal compilation
On 6/8/11 8:15 PM, pwnedomina wrote: There is no port for root-portal, i've tried to compile it manually without success. While trying to compile root-portal I get this error: process.h:59: error: extra qualification 'Procchange::' on member 'updated' *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules/process. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2. Can someone reproduce the same problem? I've tried to patch it using thishttp://old.nabble.com/Bug-358277:-FTBFS-with-G++-4.1:-extra-qualification-p3525146.html but I still get errors... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi, While I haven't tried to reproduce your problem, if I were you I would post: - my version of freebsd - my version of gcc Just saying ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: root-portal compilation
On 09-06-2011 09:55, Damien Fleuriot wrote: On 6/8/11 8:15 PM, pwnedomina wrote: There is no port for root-portal, i've tried to compile it manually without success. While trying to compile root-portal I get this error: process.h:59: error: extra qualification 'Procchange::' on member 'updated' *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules/process. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2. Can someone reproduce the same problem? I've tried to patch it using thishttp://old.nabble.com/Bug-358277:-FTBFS-with-G++-4.1:-extra-qualification-p3525146.html but I still get errors... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Hi, While I haven't tried to reproduce your problem, if I were you I would post: - my version of freebsd - my version of gcc Just saying ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org FreeBSD 8.2-RELEASE Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
root-portal compilation
There is no port for root-portal, i've tried to compile it manually without success. While trying to compile root-portal I get this error: process.h:59: error: extra qualification 'Procchange::' on member 'updated' *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules/process. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2. Can someone reproduce the same problem? I've tried to patch it using thishttp://old.nabble.com/Bug-358277:-FTBFS-with-G++-4.1:-extra-qualification-p3525146.html but I still get errors... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
root-portal compilation problem
while trying to compile root-portal i get this error process.h:59: error: extra qualification 'Procchange::' on member 'updated' *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules/process. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src/modules. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2/src. *** Error code 1 Stop in /usr/home/user/root-portal-0.5.2. can someone reproduce the same problem? i need to get this working.. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
On Sun, Oct 17, 2010 at 7:55 PM, Robert Bonomi bon...@mail.r-bonomi.com wrote: From owner-freebsd-questi...@freebsd.org Sun Oct 17 11:46:48 2010 Date: Sun, 17 Oct 2010 18:47:09 +0200 From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= fernando.apesteg...@gmail.com To: Rob Farmer rfar...@predatorlabs.net Cc: User Questions freebsd-questions@freebsd.org Subject: Re: libxul compilation problem 2010/10/16 Rob Farmer rfar...@predatorlabs.net: 2010/10/16 Fernando Apestegu=EDa fernando.apesteg...@gmail.com: I didn't run X or whatsoever. That's why I think I should have enough me= mory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm gettin= g the same error. Any VM tuning I can try? I'm not really knowledgeable about that kind of thing. However, the port is marked MAKE_JOBS_SAFE which means that it will try to run multiple compiler instances in parallel, to speed things up if you have multiple CPUs/cores. You can try running with make -DDISABLE_MAKE_JOBS to just run one at a time - maybe you have enough memory for that but not multiple jobs at once? Hi Rob, The machine has one single core cpu. Finally I was able to compile the thing, compiling the offending file by hand (nsHtml5ElementName.cpp) without the -O2 optimization flag. With this flag, cc1plus eats up all the memory of my system in a few seconds. Without the flag, the file is compiled without any problems and quite fast. Should this issue be a candidate for filing a PR? *ONLY* if you can provide a 'fix' _with_ the report! grin (Make sure the fix works on a machine with only 64mb ram and 256m swap. ) Hehe, OK, I'll try to have a look at it. Turning on optimization virtually _always_ results in the compiler needing more resources. How much more depends on the size, complexity, and ' optimizability' of the code being compiled. The simple fix for your problem is to add swap space to the system. swap space does -not- have to be in a dedicated partition, see 'man swapon' for how to use a -file- as temporary swap space. I had done it if disabling the optimization wouldn't have changed anything. The main problem was that I didn't know how much swap I had to add. Right now I have an updated system but I will have a look at how much RAM this takes using -O2. Note: if you find someting that won't compile, given a combined 4 gigs of RAM and swap space, and the build isthe only thing running beyond core system services, *then* you've got the basis for 'good' PR filing. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
2010/10/17 Rob Farmer rfar...@predatorlabs.net: 2010/10/17 Fernando Apesteguía fernando.apesteg...@gmail.com: The machine has one single core cpu. Finally I was able to compile the thing, compiling the offending file by hand (nsHtml5ElementName.cpp) without the -O2 optimization flag. With this flag, cc1plus eats up all the memory of my system in a few seconds. Without the flag, the file is compiled without any problems and quite fast. Should this issue be a candidate for filing a PR? It's hard to say whether this is really a bug or not - I still think your overall memory is low - 1 GB of RAM should be a supported configuration, but that assumes a decent amount of swap - I'll bet sysinstall's recommended partitioning would give you 2 GB. I still refuse to think 1GB is low ;) though I could be wrong. Try mailing the maintainers (ge...@freebsd.org) and see what they say. I'll do it. Thanks for your advices. Cheers. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
Date: Mon, 18 Oct 2010 08:28:15 +0200 From: Fernando_Apesteguia fernando.apesteg...@gmail.com Subject: Re: libxul compilation problem I still refuse to think 1GB is low ;) though I could be wrong. One gig of RAM is not the problem. 1.25 gig total of VM _is_. I have some stuff I run on an *OLD* (next year it will be old enough to vote :) 80486 box with only 96 megs or actual RAM, but 2gig of VM. Compiling is a complicated process, all the more so with the features that have been added to the languages over the years. *and* the need to support multiple character sets, -especially- those that don't fit in an 8-bit enumerationn. these tHings, along with improvements in code optimization techniques, have combined to radically increae the footprint that a language compiler requires these days. Factor in the increasing size of the applicaiton modules themselves, and it should be -no- surprise that compilation of an app of significant complexity has a large memory footprint. I've got a FBSD 7.2 box that shows 80 megs of 'actively used' VM with the basic system services running. I've got a -dinosaur- running a *BSD releae from th prior century, running a the same stuff, -plus- a webserver, in only 16 megs of active memory. 'code bloat' is a fact of life. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
2010/10/16 Rob Farmer rfar...@predatorlabs.net: 2010/10/16 Fernando Apesteguía fernando.apesteg...@gmail.com: I didn't run X or whatsoever. That's why I think I should have enough memory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm getting the same error. Any VM tuning I can try? I'm not really knowledgeable about that kind of thing. However, the port is marked MAKE_JOBS_SAFE which means that it will try to run multiple compiler instances in parallel, to speed things up if you have multiple CPUs/cores. You can try running with make -DDISABLE_MAKE_JOBS to just run one at a time - maybe you have enough memory for that but not multiple jobs at once? Hi Rob, The machine has one single core cpu. Finally I was able to compile the thing, compiling the offending file by hand (nsHtml5ElementName.cpp) without the -O2 optimization flag. With this flag, cc1plus eats up all the memory of my system in a few seconds. Without the flag, the file is compiled without any problems and quite fast. Should this issue be a candidate for filing a PR? Cheers. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
From owner-freebsd-questi...@freebsd.org Sun Oct 17 11:46:48 2010 Date: Sun, 17 Oct 2010 18:47:09 +0200 From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= fernando.apesteg...@gmail.com To: Rob Farmer rfar...@predatorlabs.net Cc: User Questions freebsd-questions@freebsd.org Subject: Re: libxul compilation problem 2010/10/16 Rob Farmer rfar...@predatorlabs.net: 2010/10/16 Fernando Apestegu=EDa fernando.apesteg...@gmail.com: I didn't run X or whatsoever. That's why I think I should have enough me= mory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm gettin= g the same error. Any VM tuning I can try? I'm not really knowledgeable about that kind of thing. However, the port is marked MAKE_JOBS_SAFE which means that it will try to run multiple compiler instances in parallel, to speed things up if you have multiple CPUs/cores. You can try running with make -DDISABLE_MAKE_JOBS to just run one at a time - maybe you have enough memory for that but not multiple jobs at once? Hi Rob, The machine has one single core cpu. Finally I was able to compile the thing, compiling the offending file by hand (nsHtml5ElementName.cpp) without the -O2 optimization flag. With this flag, cc1plus eats up all the memory of my system in a few seconds. Without the flag, the file is compiled without any problems and quite fast. Should this issue be a candidate for filing a PR? *ONLY* if you can provide a 'fix' _with_ the report! grin (Make sure the fix works on a machine with only 64mb ram and 256m swap. ) Turning on optimization virtually _always_ results in the compiler needing more resources. How much more depends on the size, complexity, and ' optimizability' of the code being compiled. The simple fix for your problem is to add swap space to the system. swap space does -not- have to be in a dedicated partition, see 'man swapon' for how to use a -file- as temporary swap space. Note: if you find someting that won't compile, given a combined 4 gigs of RAM and swap space, and the build isthe only thing running beyond core system services, *then* you've got the basis for 'good' PR filing. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
2010/10/17 Fernando Apesteguía fernando.apesteg...@gmail.com: The machine has one single core cpu. Finally I was able to compile the thing, compiling the offending file by hand (nsHtml5ElementName.cpp) without the -O2 optimization flag. With this flag, cc1plus eats up all the memory of my system in a few seconds. Without the flag, the file is compiled without any problems and quite fast. Should this issue be a candidate for filing a PR? It's hard to say whether this is really a bug or not - I still think your overall memory is low - 1 GB of RAM should be a supported configuration, but that assumes a decent amount of swap - I'll bet sysinstall's recommended partitioning would give you 2 GB. Try mailing the maintainers (ge...@freebsd.org) and see what they say. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
2010/10/15 Rob Farmer rfar...@predatorlabs.net: 2010/10/15 Fernando Apesteguía fernando.apesteg...@gmail.com: The process being killed is cc1plus while compiling libxul. I'm running a stock 8.1-RELEASE GENERIC kernel on amd64 platform. The machine has 1Gb of physical memory and 256MB for swap (I have had this setup for quite a long time and have always kept my system up to date using the ports infrastructure without problems). 1.25 GB of total memory is rather low these days, especially if you were compiling with X or other things running (you didn't say one way or another). For a large port like this you are probably going to need more swap - Mozilla stuff is not know for being light on resources. Thanks for the reply. I didn't run X or whatsoever. That's why I think I should have enough memory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm getting the same error. Any VM tuning I can try? Thanks. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
2010/10/16 Fernando Apesteguía fernando.apesteg...@gmail.com: I didn't run X or whatsoever. That's why I think I should have enough memory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm getting the same error. Any VM tuning I can try? I'm not really knowledgeable about that kind of thing. However, the port is marked MAKE_JOBS_SAFE which means that it will try to run multiple compiler instances in parallel, to speed things up if you have multiple CPUs/cores. You can try running with make -DDISABLE_MAKE_JOBS to just run one at a time - maybe you have enough memory for that but not multiple jobs at once? -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
libxul compilation problem
Hi, I have a ports version fetched on Oct 13th. I wanted to update all the ports I have installed. In order to do that I run: swap_pager_getswapspace(16): failed swap_pager_getswapspace(12): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(12): failed swap_pager_getswapspace(16): failed swap_pager_getswapspace(12): failed ... ... swap_pager_getswapspace(3): failed swap_pager_getswapspace(3): failed The process being killed is cc1plus while compiling libxul. I'm running a stock 8.1-RELEASE GENERIC kernel on amd64 platform. The machine has 1Gb of physical memory and 256MB for swap (I have had this setup for quite a long time and have always kept my system up to date using the ports infrastructure without problems). Do I need any special setup to compile this package? Maybe any systcl vm.* should be tunned? Thanks in advance. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: libxul compilation problem
2010/10/15 Fernando Apesteguía fernando.apesteg...@gmail.com: The process being killed is cc1plus while compiling libxul. I'm running a stock 8.1-RELEASE GENERIC kernel on amd64 platform. The machine has 1Gb of physical memory and 256MB for swap (I have had this setup for quite a long time and have always kept my system up to date using the ports infrastructure without problems). 1.25 GB of total memory is rather low these days, especially if you were compiling with X or other things running (you didn't say one way or another). For a large port like this you are probably going to need more swap - Mozilla stuff is not know for being light on resources. -- Rob Farmer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Free compilation album from legendary songsmith Billy Franks - With an introduction by best selling author, Christopher Brookmyre
Hi, Penning Classics and garnering praise from Bono, Peter Gabriel Oasis THE GUARDIAN Songwriting from the top drawer TIME OUT. Imagine McCartney's craftsmanship and Springsteen's power and you'll get the gist Q MAGAZINE As it seems I am only really know by famous novelists and rock stars, I thought I might introduce myself by giving awayt a free compilation of 12 of my best songs from 6 albums spanning 2 decades. To grab your's just email eupho...@billyfranks.com and you will get the download link. If ya want to read Christopher Brookmyres introduction, here it is: Euphoria It?s the first word that always comes to mind whenever I attempt to describe Billy Franks? music. It refers primarily to an almost excessive feeling of joy, but for me the more important aspect that connects it to these songs is that sense of being consumed by an emotion; that sense of an unstoppable, volcanic, up-rushing of passion, that exhilarating but tantalising feeling you get when you are experiencing something that cannot be expressed in mere language, nor even mere music. Anybody can write a song about love. Not anybody can make you feel love, feel loss, feel pain, feel desire, feel ecstasy. Not anybody can make you feel euphoria. Billy Franks can. Christopher Brookmyre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
OpenBGPD compilation problem
Hi Guys, I can't seem to get OpenBGPD to compile properly on 7.0. I updated the ports to the latest version using portsnap and when I do a make install I get the following: cc -O2 -fno-strict-aliasing -pipe -Wall -I/usr/ports/net/openbgpd/work/bgpd -I/usr/ports/net/openbgpd/work/bgpd/../openbsd-compat -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual -Wsign-compare -DCONFFILE=/usr/local/etc/bgpd.conf -DIPV6_LINKLOCAL_PEER -c kroute.c kroute.c: In function 'kroute_find': kroute.c:905: warning: implicit declaration of function 'RB_PREV' kroute.c:905: error: 'kroute_tree' undeclared (first use in this function) kroute.c:905: error: (Each undeclared identifier is reported only once kroute.c:905: error: for each function it appears in.) kroute.c:905: warning: assignment makes pointer from integer without a cast kroute.c:911: warning: assignment makes pointer from integer without a cast kroute.c: In function 'kroute6_find': kroute.c:1052: error: 'kroute6_tree' undeclared (first use in this function) kroute.c:1052: warning: assignment makes pointer from integer without a cast kroute.c:1058: warning: assignment makes pointer from integer without a cast kroute.c: In function 'mask2prefixlen6': kroute.c:1745: warning: cast from pointer to integer of different size uname -a FreeBSD xo-firewalla 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 i386 any ideas ? Thank you, George ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /sys/modules/mii/nsgphy.c compilation errors
On Tue, 22 Sep 2009 15:22:40 -0400 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote: Scott Bennett benn...@cs.niu.edu writes: An update committed since Friday appears to have broken mii/nsgphy.c in the kernel. When I try to build a kernel now, I get the following errors during the compilations of mii/nsgphy.c. /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_MODEL_NATSEMI_DP83865' undeclared here (not in a function) /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_STR_NATSEMI_DP83865' undeclared here (not in a function) *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error Having run cvsup just a few minutes ago and then having tried again to build a kernel, I see that the errors persist. Is this something that someone is already fixing? Or should I try to submit a PR? You don't mention which branch you're on, but it sounds like it's Oops. It's 7.2-STABLE. probably a local issue for your installation. I built and installed from the latest RELENG_7 today, and there are new bug reports on RELENG_8 since Friday. Those failing identifiers *are* present in the correct sources; it looks like your miidevs.h isn't being regenerated properly. You *are* remembering to do a buildworld before a buildkernel, right? Actually, I did. However, your note jogged a memory, so I went back to the handbook and discovered that something I was doing was non-standard and would have had the same effect. It's how I've always done it, so it's rather remarkable that it hasn't burned me before this. So I tried doing it the right way, and that quickly caused the file system to overflow. :-( I moved the file system to a larger partition, tried it again, and it worked just fine. Thanks very much for your note, which provided the clue that led me to my error. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/sys/modules/mii/nsgphy.c compilation errors
An update committed since Friday appears to have broken mii/nsgphy.c in the kernel. When I try to build a kernel now, I get the following errors during the compilations of mii/nsgphy.c. /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_MODEL_NATSEMI_DP83865' undeclared here (not in a function) /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_STR_NATSEMI_DP83865' undeclared here (not in a function) *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error Having run cvsup just a few minutes ago and then having tried again to build a kernel, I see that the errors persist. Is this something that someone is already fixing? Or should I try to submit a PR? Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: /sys/modules/mii/nsgphy.c compilation errors
Scott Bennett benn...@cs.niu.edu writes: An update committed since Friday appears to have broken mii/nsgphy.c in the kernel. When I try to build a kernel now, I get the following errors during the compilations of mii/nsgphy.c. /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_MODEL_NATSEMI_DP83865' undeclared here (not in a function) /usr/src/sys/modules/mii/../../dev/mii/nsgphy.c:104: error: 'MII_STR_NATSEMI_DP83865' undeclared here (not in a function) *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 1 error Having run cvsup just a few minutes ago and then having tried again to build a kernel, I see that the errors persist. Is this something that someone is already fixing? Or should I try to submit a PR? You don't mention which branch you're on, but it sounds like it's probably a local issue for your installation. I built and installed from the latest RELENG_7 today, and there are new bug reports on RELENG_8 since Friday. Those failing identifiers *are* present in the correct sources; it looks like your miidevs.h isn't being regenerated properly. You *are* remembering to do a buildworld before a buildkernel, right? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Graphviz port compilation error
Hi all This is FreeBSD 7.1 on i386. make install clean on /usr/ports/x11/kde3 develops a compilation error in /usr/ports/graphics/graphviz with following error message: *** [libgv_tcl_la-gv_tcl.lo] Error 1 I have refreshed the port tree and gave it a try, but its still develops the same error. The graphviz version is 2.20.3. What could I do now? Best regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
logout and login after compilation
hi If I something install from ports, I cant use that command directly. It says to me that command not found. Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: logout and login after compilation
On Thu, Jan 08, 2009 at 01:19:05AM +0100, Stefan Miklosovic wrote: hi If I something install from ports, I cant use that command directly. It says to me that command not found. Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE Use the command 'rehash'. -- Jonathan Chen j...@chen.org.nz -- Don't worry about avoiding temptation, as you grow older, it starts avoiding you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: logout and login after compilation
run the command #rehash , that's a command refresh the env ! 2009-01-08 PstreeM-Gmail 发件人: Stefan Miklosovic 发送时间: 2009-01-08 08:20:01 收件人: freebsd-questions 抄送: 主题: logout and login after compilation hi If I something install from ports, I cant use that command directly. It says to me that command not found. Do I have to always log in and log out before use of command? Is there some other way? my shell is csh, 7.1-RELEASE thx ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
compilation vs binary files
hi, i would like to know, if it has a sense to compile software provided in form of ports in /usr/ports. I mean, I know there is a bunch of options you can choose from and make certain application more suitable for your hardware / software needs. I just want to know, if I can install software in binary form (eg. pkg_add -r soft) without a significant change of performance to my machine. If I lost some percents of perfromance, I would rather install it in that way like to compile it and lose a lot of time ... Yes, there is also a matter of patches and updates, because software is constantly improving. Have even a packages in binary form a sense? thank you ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: compilation vs binary files
On Tue, 6 Jan 2009 14:16:51 +0100, Stefan Miklosovic miklosovic.free...@gmail.com wrote: hi, i would like to know, if it has a sense to compile software provided in form of ports in /usr/ports. I mean, I know there is a bunch of options you can choose from and make certain application more suitable for your hardware / software needs. I just want to know, if I can install software in binary form (eg. pkg_add -r soft) without a significant change of performance to my machine. If I lost some percents of perfromance, I would rather install it in that way like to compile it and lose a lot of time ... For most software provided as precompiled binary packages, there is no loss in speed, especially not if today's hardware is considered. As you mentioned correctly, there are applications where building from source is the better way in many regards (e. g. mplayer: codecs, CPU optimization). You usually do this on older hardware for some speed gain, but on modern hardware... Yes, there is also a matter of patches and updates, because software is constantly improving. Have even a packages in binary form a sense? Yes, they have, especially if you don't have the hardware for a long compilation process - just consider KDE or OpenOffice - I wouldn't even compile them on today's hardware. :-) Binary packages often make the life easier. Personally, I do prefer them. But as you know, you can't always use them (you mentioned the reasons above). You can, for example, put a collection of already compiled software on a CD or DVD in the common tbz form and then install them on another system (that may have no Internet access). The advantage is that you have your software running right after install, no time is needed to build from sources. Binary packages aren't always up to date (they're not compiled with every change in the port's source code), so if you're requiring bleeding edge software, using the ports and building from source is the better way to go. But if you intend to once install a system and then let it run, there's no problem using software from binary packages. Especially on servers, you usually do the neccessary updates (such as security patches) and keep the rest as it is. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: QT4 compilation problem
Le Fri, 05 Dec 2008 23:39:14 +1000, Warren Liddell [EMAIL PROTECTED] a écrit : I have been trying for quite a while now to try and get some assistance from the various lists, google, forums an even man pages and so far not a single piece of advise on how to solve my issue and im getting desperate an ready to throw BSD in for goin back to godforbid windows, so once i again i ask for some help with why QT refuses to compile saying . I have used the little-endian an big-endian flag an it made no difference, so plz someone have the kindness to help. Looks to be a known problem, see http://mail.kde.org/pipermail/kde-freebsd/2008-December/004094.html (please, use more accurate subject. Thanks). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: QT4 compilation problem
On Friday 05 December 2008 15:15:07 Patrick Lamaizière wrote: Le Fri, 05 Dec 2008 23:39:14 +1000, Warren Liddell [EMAIL PROTECTED] a écrit : I have been trying for quite a while now to try and get some assistance from the various lists, google, forums an even man pages and so far not a single piece of advise on how to solve my issue and im getting desperate an ready to throw BSD in for goin back to godforbid windows, so once i again i ask for some help with why QT refuses to compile saying . I have used the little-endian an big-endian flag an it made no difference, so plz someone have the kindness to help. Looks to be a known problem, see http://mail.kde.org/pipermail/kde-freebsd/2008-December/004094.html Nah, that's called crossposting. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd7 mingw32 compilation utilities missing.
Roland Smith a écrit : On Sun, Oct 19, 2008 at 12:18:47PM +0200, Benoit wrote: Hello, i don't know if it's the good section to talk about it... Yesterday, i want to cross-compile an old windows program, so i installed mingw32-bin-msvcrt-r3.12.a3.9 but i can't compile because the compiler and others tools are missing on freeBSD 7, i guess. I guess it because on freeBSD 6, i can see many other packages like mingw32-binutils mingw-gcc etc etc. So my question is : how to have on freeBSD 7, all packages required to build my program ? The devel/mingw32-gcc port/package is the top package/port that you need to install. All other mingw packages/ports are dependancies or optional extras. Thanks you for your help Roland. :) Benoît ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Freebsd7 mingw32 compilation utilities missing.
Hello, i don't know if it's the good section to talk about it... Yesterday, i want to cross-compile an old windows program, so i installed mingw32-bin-msvcrt-r3.12.a3.9 but i can't compile because the compiler and others tools are missing on freeBSD 7, i guess. I guess it because on freeBSD 6, i can see many other packages like mingw32-binutils mingw-gcc etc etc. So my question is : how to have on freeBSD 7, all packages required to build my program ? Thanks for all Benoit ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Freebsd7 mingw32 compilation utilities missing.
On Sun, Oct 19, 2008 at 12:18:47PM +0200, Benoit wrote: Hello, i don't know if it's the good section to talk about it... Yesterday, i want to cross-compile an old windows program, so i installed mingw32-bin-msvcrt-r3.12.a3.9 but i can't compile because the compiler and others tools are missing on freeBSD 7, i guess. I guess it because on freeBSD 6, i can see many other packages like mingw32-binutils mingw-gcc etc etc. So my question is : how to have on freeBSD 7, all packages required to build my program ? The devel/mingw32-gcc port/package is the top package/port that you need to install. All other mingw packages/ports are dependancies or optional extras. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpjtudUyfCq5.pgp Description: PGP signature
rss-glx screen saver compilation fails?
Hey List, running FreeBSD-7-stable (from April or so) i386 binary nVidia drivers Has anybody successfully got rss-glx (really slick screensavers; http://rss-glx.sourceforge.net/ ) to compile for them? It isn't in ports and I was trying to compile it. I think I got all of the dependencies, etc... as ./configure completes without issue. I'm getting the following error when running make or gmake: spirographx.c: In function 'getAll': spirographx.c:99: warning: implicit declaration of function 'sincosf' spirographx.c:99: warning: incompatible implicit declaration of built-in function 'sincosf' /usr/local/bin/bash ../libtool --tag=CC --mode=link gcc -O2 -Wall -I/usr/local/include -o spirographx driver.o spirographx.o -lGLU -lGL -L/usr/local/lib -R/usr/local/lib -lSM -lICE -lX11 -lm gcc -O2 -Wall -I/usr/local/include -o spirographx driver.o spirographx.o -lGLU -lGL -L/usr/local/lib /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libX11.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so -lrpcsvc -lm -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib /usr/bin/ld: warning: libm.so.3, needed by /usr/local/lib/libGL.so, may conflict with libm.so.5 spirographx.o(.text+0x30f): In function `getAll': : undefined reference to `sincosf' Any ideas? Henrik -- Henrik Hudson [EMAIL PROTECTED] -- God, root, what is difference? Pitr; UF (http://www.userfriendly.org/) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rss-glx screen saver compilation fails?
spirographx.o(.text+0x30f): In function `getAll': : undefined reference to `sincosf' Per Google, it's a gnu-ism: http://linux.die.net/man/3/sincosf void sincosf(float x, float *sin, float *cos); Several applications need sine and cosine of the same angle x. This function computes both at the same time, and stores the results via the given pointers. Probably a 10-liner by just calling sin() and cos() separately -- a bit more work to do it properly -- or just grab the gnu code if you don't need to be BSD-licensed. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Valgrind compilation failure on FreeBSD7.0 for i386
Hi, I would really like to use valgrind on my FreeBSD machine, but.. :-) -Yony make === Building for valgrind-352_7 gmake all-recursive gmake[1]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable-352' Making all in include gmake[2]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable-352/include' gmake all-am gmake[3]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable-352/include' gmake[3]: Nothing to be done for `all-am'. gmake[3]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-stable-352/include' gmake[2]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-stable-352/include' Making all in coregrind gmake[2]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind' gmake all-recursive gmake[3]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind' Making all in x86 gmake[4]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind/x86' gmake all-am gmake[5]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind/x86' gmake[5]: Nothing to be done for `all-am'. gmake[5]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind/x86' gmake[4]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind/x86' Making all in demangle gmake[4]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind/demangle' gmake[4]: Nothing to be done for `all'. gmake[4]: Leaving directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind/demangle' Making all in . gmake[4]: Entering directory `/usr/ports/devel/valgrind/work/valgrind-stable- 352/coregrind' if cc -DHAVE_CONFIG_H -I. -I. -I.. -I./demangle -I../include -I./x86 - DVG_LIBDIR=\/usr/local/lib/valgrind\-Winline -Wall -Wshadow -O -fno-omit-frame-pointer -mpreferred-stack-boundary=2 -g -DELFSZ=32 -MT vg_mylibc.o -MD -MP -MF .deps/vg_mylibc.Tpo -c -o vg_mylibc.o vg_mylibc.c; \ then mv -f .deps/vg_mylibc.Tpo .deps/vg_mylibc.Po; else rm -f .deps/vg_mylibc.Tpo; exit 1; fi In file included from vg_include.h:49, from vg_mylibc.c:33: ../include/vg_skin.h:1230: warning: type qualifiers ignored on function return type vg_mylibc.c: In function 'vgPlain_kisemptysigset': vg_mylibc.c:65: warning: pointer targets in passing argument 1 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:65: warning: pointer targets in passing argument 2 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:65: warning: pointer targets in passing argument 4 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c: In function 'vgPlain_kisfullsigset': vg_mylibc.c:74: warning: pointer targets in passing argument 1 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:74: warning: pointer targets in passing argument 2 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:74: warning: pointer targets in passing argument 4 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c: In function 'vgPlain_ksigaddset_from_set': vg_mylibc.c:121: warning: pointer targets in passing argument 1 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:121: warning: pointer targets in passing argument 2 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:121: warning: pointer targets in passing argument 4 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c: In function 'vgPlain_ksigdelset_from_set': vg_mylibc.c:130: warning: pointer targets in passing argument 1 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:130: warning: pointer targets in passing argument 2 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:130: warning: pointer targets in passing argument 4 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c: In function 'vgPlain_ksignal': vg_mylibc.c:212: warning: pointer targets in passing argument 1 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:212: warning: pointer targets in passing argument 2 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:212: warning: pointer targets in passing argument 4 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c: In function 'vgPlain_exit': vg_mylibc.c:390: warning: pointer targets in passing argument 1 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:390: warning: pointer targets in passing argument 2 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c:390: warning: pointer targets in passing argument 4 of 'vgPlain_core_assert_fail' differ in signedness vg_mylibc.c: In function 'vgPlain_brk': vg_mylibc.c:445: warning: implicit declaration of function 'brk' vg_mylibc.c:446: warning: implicit declaration of function 'sbrk' vg_mylibc.c:446: warning: return makes pointer from integer without a cast vg_mylibc.c: In function 'myvprintf_int64': vg_mylibc.c:528: warning: pointer
PAE Compilation Error
Good Day, I suppose now I am paying for questioning TUC's credibility huh?!?!? (jk) In the process of building an older server running 7.0-RELEASE :/usr/obj/usr/src/sys/SERVER i386 on a HP Proliant D380 G3 (CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2387.05-MHz 686-class CPU). After some research I come to find out having RAM over 4 gigs can have side effects and I will need to compile PAE with the kernel (this is a given). I've also come to find my set up can only handle up to 6 gigs of RAM and it's currently at 5. However, when I compile PAE on this machine the kernel build crashes with the following: n -fformat-extensions -c /usr/src/sys/modules/rum/../../dev/usb/if_rum.c ld -d -warn-common -r -d -o if_rum.kld if_rum.o : export_syms awk -f /usr/src/sys/modules/rum/../../conf/kmod_syms.awk if_rum.kld export_syms | xarg s -J% objcopy % if_rum.kld ld -Bshareable -d -warn-common -o if_rum.ko.debug if_rum.kld objcopy --only-keep-debug if_rum.ko.debug if_rum.ko.symbols objcopy --strip-debug --add-gnu-debuglink=if_rum.ko.symbols if_rum.ko.debug if_rum.ko === s3 (all) /usr/local/libexec/ccache/world-cc -O2 -fno-strict-aliasing -pipe -D_KERNEL -DKLD_MODU LE -std=c99 -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/SERV ER/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth =100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/SERVER -m no-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-s se2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototyp es -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sig n -fformat-extensions -c /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:394: error: conflicting types for 's3lfb_ mmap' /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:116: error: previous declaration of 's3lf b_mmap' was here /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c: In function 's3lfb_mmap': /usr/src/sys/modules/s3/../../dev/fb/s3_pci.c:395: warning: passing argument 3 of 'prev vidsw-mmap' from incompatible pointer type *** Error code 1 Stop in /usr/src/sys/modules/s3. *** Error code 1 Stop in /usr/src/sys/modules. *** Error code 1 Stop in /usr/obj/usr/src/sys/SERVER. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. I have a messy make.conf but I don't think this would be the issue hence it's worked on different servers tweak to fit them ofcourse: #CPUTYPE?=athlon-xp CFLAGS= -O2 -fno-strict-aliasing -pipe MAKE_SHELL?=sh COPTFLAGS= -O -pipe KERNCONF=SERVER The only hit I get on google is this which really does not solve my issue or I am not reading this correctly? http://www.bsdforums.org/forums/archive/index.php/t-34088.html Does anyone have any experience with this that can help? Thank you, David This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver In case it's any use to you, openoffice.org-3 (openoffice.org-3.0.0.b_1) does build with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED also with just make openoffice.org-3.0.0.b failed with make LOCALIZED_LANG=en-GB I'm just testing openoffice.org-3.0.0.b_1 with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED LOCALIZED_LANG=en-GB Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Chris Whitehouse wrote the following, On 06/16/08 14:20: O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver In case it's any use to you, openoffice.org-3 (openoffice.org-3.0.0.b_1) does build with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED also with just make openoffice.org-3.0.0.b failed with make LOCALIZED_LANG=en-GB I'm just testing openoffice.org-3.0.0.b_1 with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED LOCALIZED_LANG=en-GB Chris for me (fbsd 7.0) ooo2.4.1 (OOo_OOH680_m17_source.tar.bz2) and ooo-3-devel (OOo_DEV300_m19_source.tar.bz2) both compile and work well. I did upgrade via: portugrade -m 'LOCALIZED_LANG=en-GB -DWITH_TTF_BYTECODE_ENABLED -DWITHOUT_MOZILLA' Cheers, Simon -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error
I think your best bet (if you want to use OO) is to use PC-BSD. There is a PBI package already available for it. Just my two cents, Bono Vince Malum -- -Camilo Date: Sun, 15 Jun 2008 11:44:55 + From: O. Hartmann [EMAIL PROTECTED] Subject: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE To: freebsd-questions@freebsd.org Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Chris Whitehouse wrote: O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver In case it's any use to you, openoffice.org-3 (openoffice.org-3.0.0.b_1) does build with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED also with just make openoffice.org-3.0.0.b failed with make LOCALIZED_LANG=en-GB I'm just testing openoffice.org-3.0.0.b_1 with make -DWITHOUT_MOZILLA -DWITH_TTF_BYTECODE_ENABLED LOCALIZED_LANG=en-GB Yep that works too. Distfile is OOo_BEA300_m2_source.tar.bz2 Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? I am not able tohelp but just to confirm this is due to libxml2 not being found right (note to maintainer thats the issue I have in attempting to install on 8-current [i386]) Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
I can confirm the error. I tried rebuilding everything I could think of in my installed ports, but the error remains the same: ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' O. Hartmann wrote: Hello, I still get this error since OO 2.4 was offered via ports (OO 2.3 did well). I was wondering if someone has no solution to this sticky error. Can anyone help? Regards, Oliver rm -f ../unxfbsdx.pro/lib/check_libvcl680fx.so mv ../unxfbsdx.pro/lib/libvcl680fx.so ../unxfbsdx.pro/lib/check_libvcl680fx.so /usr/ports/editors/openoffice.org-2/work/OOH680_m17/solenv/bin/checkdll.sh -L../unxfbsdx.pro/lib -L/usr/ports/editors/openoffice.org-2/work/OOH680_m17/solver/680/unxfbsdx.pro/lib ../unxfbsdx.pro/lib/check_libvcl680fx.so Checking DLL ../unxfbsdx.pro/lib/check_libvcl680fx.so ...: ERROR: ../unxfbsdx.pro/lib/check_libvcl680fx.so: Undefined symbol _ZNK7icu_3_814LEFontInstance17getDynamicClassIDEv dmake: Error code 1, while making '../unxfbsdx.pro/lib/libvcl680fx.so' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' ---* *--- *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: OpenOffice 2.4.1: still getting compilation error in FBSD 7.0-STABLE
Tim Kellers writes: I can confirm the error. I tried rebuilding everything I could think of in my installed ports, but the error remains the same: ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/vcl/util dmake: Error code 1, while making 'build_instsetoo_native' I get the same error, but in a different place: /usr/local/bin/gcp: preserving permissions for `./unxfbsdi.pro/inc/xuldoc': Invalid argument /usr/local/bin/gcp: preserving permissions for `./unxfbsdi.pro/inc/xultmpl': Invalid argument /usr/local/bin/gcp: preserving permissions for `./unxfbsdi.pro/inc/zlib': Invalid argument dmake: Error code 1, while making 'unxfbsdi.pro/misc/build/so_moz_include_files' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2/work/OOH680_m17/moz dmake: Error code 1, while making 'build_instsetoo_native' Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
oxim compilation error under 7.0
Hi, when trying to upgrade oxim under 7.0, error occurs, c++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o oxim-setup .obj/main.o .obj/oxim-setup.o .obj/globolsetting.o .obj/gencin.o .obj/chewing.o .obj/installim.o .obj/qmake_image_collection.o .obj/moc_oxim-setup.o .obj/moc_globolsetting.o .obj/moc_gencin.o .obj/moc_chewing.o .obj/moc_installim.o -L/usr/local/lib -L/usr/local/lib -L/usr/local/lib -L../../lib/.libs -loxim -lqt-mt -lXext -lX11 -lm /usr/bin/ld: warning: libstdc++.so.5, needed by /usr/local/lib/libqt-mt.so, may conflict with libstdc++.so.6 /usr/bin/ld: warning: libm.so.4, needed by /usr/local/lib/libqt-mt.so, may conflict with libm.so.5 .obj/installim.o(.text+0x2931): In function `InstallIM::init()': : undefined reference to `oxim_mirror_url' .obj/installim.o(.text+0x5733): In function `InstallIM::installTab_currentChanged(QWidget*)': : undefined reference to `oxim_external_url' .obj/installim.o(.text+0x5741): In function `InstallIM::installTab_currentChanged(QWidget*)': : undefined reference to `oxim_external_url' *** Error code 1 any suggestion?? thank you!! TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Kernel compilation error for 7.0 ( with IPSEC )
Hi, people! I've just CvsUPed the src-all collection for RELENG_7_0 [This is a 7.0-RELEASE, as I understand, am I correct? ] trying to compile the source with IPSEC reselts in the following: --- ... xform_ipcomp.o(.text+0xcac):/usr/src/sys/netipsec/xform_ipcomp.c:570: undefined reference to `M_XDATA' xform_ipcomp.o(.text+0xcbc):/usr/src/sys/netipsec/xform_ipcomp.c:571: undefined reference to `crypto_freereq' xform_ipcomp.o(.text+0xda6):/usr/src/sys/netipsec/xform_ipcomp.c:584: undefined reference to `M_XDATA' xform_ipcomp.o(.text+0xdb6):/usr/src/sys/netipsec/xform_ipcomp.c:585: undefined reference to `crypto_freereq' *** Error code 1 Stop in /usr/obj/usr/src/sys/TKLGW_7. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- The question: what may be wrong with that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compilation error for 7.0 ( with IPSEC )
Am Mon, 03 Mar 2008 15:15:29 +0300 schrieb Leonid Satanovsky [EMAIL PROTECTED]: Hi, people! I've just CvsUPed the src-all collection for RELENG_7_0 [This is a 7.0-RELEASE, as I understand, am I correct? ] RELENG_7_0 The release branch for FreeBSD-7.0, used only for security advisories and other critical fixes. trying to compile the source with IPSEC reselts in the following: --- ... xform_ipcomp.o(.text+0xcac):/usr/src/sys/netipsec/xform_ipcomp.c:570: undefined reference to `M_XDATA' xform_ipcomp.o(.text+0xcbc):/usr/src/sys/netipsec/xform_ipcomp.c:571: undefined reference to `crypto_freereq' xform_ipcomp.o(.text+0xda6):/usr/src/sys/netipsec/xform_ipcomp.c:584: undefined reference to `M_XDATA' xform_ipcomp.o(.text+0xdb6):/usr/src/sys/netipsec/xform_ipcomp.c:585: undefined reference to `crypto_freereq' *** Error code 1 Stop in /usr/obj/usr/src/sys/TKLGW_7. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- The question: what may be wrong with that? You are missing device crypto in your kernel config. Michael ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel compilation error for 7.0 ( with IPSEC )
Be sure to have this stuff in kernel config file: options IPSEC options IPSEC_FILTERTUNNEL device crypto Cheers Norman Am Montag, den 03.03.2008, 15:15 +0300 schrieb Leonid Satanovsky: Hi, people! I've just CvsUPed the src-all collection for RELENG_7_0 [This is a 7.0-RELEASE, as I understand, am I correct? ] trying to compile the source with IPSEC reselts in the following: --- ... xform_ipcomp.o(.text+0xcac):/usr/src/sys/netipsec/xform_ipcomp.c:570: undefined reference to `M_XDATA' xform_ipcomp.o(.text+0xcbc):/usr/src/sys/netipsec/xform_ipcomp.c:571: undefined reference to `crypto_freereq' xform_ipcomp.o(.text+0xda6):/usr/src/sys/netipsec/xform_ipcomp.c:584: undefined reference to `M_XDATA' xform_ipcomp.o(.text+0xdb6):/usr/src/sys/netipsec/xform_ipcomp.c:585: undefined reference to `crypto_freereq' *** Error code 1 Stop in /usr/obj/usr/src/sys/TKLGW_7. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. -- The question: what may be wrong with that? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
samba 3.28 port compilation gives error about locking unavailable
Hello, I'm trying to install samba 3.28 on 6.3. Previously i had installed samba on 6.2 without seeing this error. LDAP_LIBS = -lldap -llber AUTH_LIBS = -lcrypt -lpam checking configure summary... ERROR: No locking available. Running Samba would be unsafe configure: error: summary failure. Aborting config === Script configure failed unexpectedly. I believe this is something specific to this system and not a port issue, i've done this install in a jailed environment and the compilation worked fine. This 6.3 install was done using sysinstall's minimum working configuration option. I'm trying to configure samba as a pdc with an ldap backend. If anyone has an idea on this locking error i'm open to suggestions. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KERNEL 7.0 COMPILATION
Hi, When i compile KERNEL (FreeBSD 7.0 Realease Beta 2) with this options: options IPFIREWALL options IPFIREWALL_DEFAULT_TO_ACCEPT options IPFIREWALL_FORWARD options IPFIREWALL_VERBOSE options IPFIREWALL_VERBOSE_LIMIT=100 options IPDIVERT device if_bridge device pf device pflog device pfsync I have this error. MAKE=make sh /usr/src/sys/conf/newvers.sh GENERIC cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror vers.c linking kernel.debug uipc_syscalls.o(.text+0x3c1): In function `sctp_generic_recvmsg': /usr/src/sys/kern/uipc_syscalls.c:2600: undefined reference to `sctp_sorecvmsg' uipc_syscalls.o(.text+0x21a2): In function `sctp_generic_sendmsg_iov': /usr/src/sys/kern/uipc_syscalls.c:2478: undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x249d): In function `sctp_generic_sendmsg': /usr/src/sys/kern/uipc_syscalls.c:2371: undefined reference to `sctp_lower_sosend' uipc_syscalls.o(.text+0x266c): In function `sctp_peeloff': /usr/src/sys/kern/uipc_syscalls.c:2238: undefined reference to `sctp_can_peel_off' uipc_syscalls.o(.text+0x28e6):/usr/src/sys/kern/uipc_syscalls.c:2279: undefined reference to `sctp_do_peeloff' rtsock.o(.text+0xb7d): In function `rt_newaddrmsg': /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Why? Thanks, Sébastien This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KERNEL 7.0 COMPILATION
On Sun, 18 Nov 2007 15:34:45 +0100 Sébastien LEFEVRE [EMAIL PROTECTED] wrote: /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Why? Hi Sebastien, If you look closely at all the errors, they all refer to SCTP , which is a newish protocol. It was added by default to 7.0's tree. I suspect you are using an old kernel config file, and you don't have that option, and 7's IPFW needs it. look in /usr/src/sys/conf/NOTES for how it is defined :) good luck, B _ {Beto|Norberto|Numard} Meijome I'm not afraid of dying, I just don't want to be there when it happens. Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KERNEL 7.0 COMPILATION
On Monday 19 November 2007 07:01:32 Norberto Meijome wrote: On Sun, 18 Nov 2007 15:34:45 +0100 Sébastien LEFEVRE [EMAIL PROTECTED] wrote: /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Why? Hi Sebastien, If you look closely at all the errors, they all refer to SCTP , which is a newish protocol. It was added by default to 7.0's tree. I suspect you are using an old kernel config file, and you don't have that option, and 7's IPFW needs it. look in /usr/src/sys/conf/NOTES for how it is defined :) good luck, B _ {Beto|Norberto|Numard} Meijome I'm not afraid of dying, I just don't want to be there when it happens. Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet.. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. http://lists.freebsd.org/pipermail/freebsd-questions/2007-November/161773.html Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: KERNEL 7.0 COMPILATION
Hello, From /sys/conf/NOTES: - # SCTP is a NEW transport protocol defined by # RFC2960 updated by RFC3309 and RFC3758.. and # soon to have a new base RFC and many many more # extensions. This release supports all the extensions # including many drafts (most about to become RFC's). # It is the premeier SCTP implementation in the NET # and is quite well tested. # # Note YOU MUST have both INET and INET6 defined. # you don't have to enable V6, but SCTP is # dual stacked and so far we have not teased apart # the V6 and V4.. since an association can span # both a V6 and V4 address at the SAME time :-) I trying it, thanks a lots Sébastien. Yuri Pankov [EMAIL PROTECTED] a écrit : On Monday 19 November 2007 07:01:32 Norberto Meijome wrote: On Sun, 18 Nov 2007 15:34:45 +0100 Sébastien LEFEVRE [EMAIL PROTECTED] wrote: /usr/src/sys/net/rtsock.c:897: undefined reference to `sctp_addr_change' in_proto.o(.data+0xa8): undefined reference to `sctp_input' in_proto.o(.data+0xb0): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xb4): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xbc): undefined reference to `sctp_init' in_proto.o(.data+0xc8): undefined reference to `sctp_drain' in_proto.o(.data+0xcc): undefined reference to `sctp_usrreqs' in_proto.o(.data+0xdc): undefined reference to `sctp_input' in_proto.o(.data+0xe4): undefined reference to `sctp_ctlinput' in_proto.o(.data+0xe8): undefined reference to `sctp_ctloutput' in_proto.o(.data+0xfc): undefined reference to `sctp_drain' in_proto.o(.data+0x100): undefined reference to `sctp_usrreqs' in_proto.o(.data+0x110): undefined reference to `sctp_input' in_proto.o(.data+0x118): undefined reference to `sctp_ctlinput' in_proto.o(.data+0x11c): undefined reference to `sctp_ctloutput' in_proto.o(.data+0x130): undefined reference to `sctp_drain' in_proto.o(.data+0x134): undefined reference to `sctp_usrreqs' *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Why? Hi Sebastien, If you look closely at all the errors, they all refer to SCTP , which is a newish protocol. It was added by default to 7.0's tree. I suspect you are using an old kernel config file, and you don't have that option, and 7's IPFW needs it. look in /usr/src/sys/conf/NOTES for how it is defined :) good luck, B _ {Beto|Norberto|Numard} Meijome I'm not afraid of dying, I just don't want to be there when it happens. Woody Allen I speak for myself, not my employer. Contents may be hot. Slippery when wet.. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. http://lists.freebsd.org/pipermail/freebsd-questions/2007-November/161773.html Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] This message was sent using IMP, the Internet Messaging Program. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
forcing compilation/run time linking of lib32 on amd64
I am writing some demo code (for teaching C) and need to have the same program run on a 32 bit machine and a 64 bit machine (showing that int's are always word length)... I have 8-current amd64 how do I force it to compile with 32 bit words? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: forcing compilation/run time linking of lib32 on amd64
I am writing some demo code (for teaching C) and need to have the same program run on a 32 bit machine and a 64 bit machine (showing that int's are always word length)... I have 8-current amd64 how do I force it to compile with 32 bit words? Add the following to your gcc command line: -m32 -B/usr/lib32 -L/usr/lib32 Regards, Josh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: forcing compilation/run time linking of lib32 on amd64
On Wed, 24 Oct 2007 16:49:24 -0400 Aryeh M. Friedman [EMAIL PROTECTED] wrote: I am writing some demo code (for teaching C) ... showing that int's are always word length s/always/typically/ C has been around for a long time and there is always a counter-example to any sweeping generalisation that isn't backed-up by a standards document. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: forcing compilation/run time linking of lib32 on amd64
RW wrote: On Wed, 24 Oct 2007 16:49:24 -0400 Aryeh M. Friedman [EMAIL PROTECTED] wrote: I am writing some demo code (for teaching C) ... showing that int's are always word length s/always/typically/ C has been around for a long time and there is always a counter-example to any sweeping generalisation that isn't backed-up by a standards document. BTW I was slightly wrong it is longs not int's that change depending on word size: Script started on Wed Oct 24 19:51:44 2007 cat sizes.c #include stdio.h main() { printf(int:\t\t%d\n,sizeof(int)); printf(short:\t\t%d\n,sizeof(short)); printf(long:\t\t%d\n,sizeof(long)); printf(long long:\t%d\n,sizeof(long long)); printf(float:\t\t%d\n,sizeof(float)); printf(double:\t\t%d\n,sizeof(double)); printf(char:\t\t%d\n,sizeof(char)); printf(ptr:\t\t%d\n,sizeof(void *)); } gcc sizes.c ./a.out int:4 short:2 long:8 long long:8 float:4 double:8 char:1 ptr:8 gcc -m32 -B/usr/lib32 -L/usr/lib32 sizes.c # See forcing compilor/run time linking of lib32 on amd54 in freebsd-questions ./a.out int:4 short:2 long:4 long long:8 float:4 double:8 char:1 ptr:4 Script done on Wed Oct 24 19:52:08 2007 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: forcing compilation/run time linking of lib32 on amd64
On Wed, 24 Oct 2007 21:56:50 -0400 Aryeh M. Friedman [EMAIL PROTECTED] wrote: RW wrote: On Wed, 24 Oct 2007 16:49:24 -0400 Aryeh M. Friedman [EMAIL PROTECTED] wrote: I am writing some demo code (for teaching C) ... showing that int's are always word length s/always/typically/ C has been around for a long time and there is always a counter-example to any sweeping generalisation that isn't backed-up by a standards document. BTW I was slightly wrong it is longs not int's that change depending on word size: What's variable is defined by the standard, not by the differences between particular implementations. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: forcing compilation/run time linking of lib32 on amd64
On Oct 24, 2007, at 8:56 PM, Aryeh M. Friedman wrote: RW wrote: On Wed, 24 Oct 2007 16:49:24 -0400 Aryeh M. Friedman [EMAIL PROTECTED] wrote: I am writing some demo code (for teaching C) ... showing that int's are always word length s/always/typically/ C has been around for a long time and there is always a counter-example to any sweeping generalisation that isn't backed-up by a standards document. BTW I was slightly wrong it is longs not int's that change depending on word size: Script started on Wed Oct 24 19:51:44 2007 Just remember this, char = short = int = long. Anything else can be anything. Saying that an int is always four bytes is like saying an int is the same size as a pointer, both of which are assumptions that are often taken but are very wrong. A lot of what decides the sizes of ints is more compiler implementer than anything else. Depending on your system, you'd want your 36 bit ints instead of being limited to only 32. But if you don't care about portability, then an int is always 32 bits and it's always in little endian order. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compilation error libpcre.so.0: ELF file OS ABI invalid
Context: Intel Core Duo, FreeBSD 6.2-p7, latest portsnap, gcc-4.2.2. Updating the statistical program R, some packages fail to compile (I use tarballs) because this cryptic error pops up * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes checking whether c++ accepts -g... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes It seems that during the compilation a-linux-connected-lib is being looked for, doesn't it? Anyway, what should I do? Ciao Vittorio ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Compilation error libpcre.so.0: ELF file OS ABI invalid
In the last episode (Sep 28), vittorio said: Context: Intel Core Duo, FreeBSD 6.2-p7, latest portsnap, gcc-4.2.2. Updating the statistical program R, some packages fail to compile (I use tarballs) because this cryptic error pops up * Installing *source* package 'MCMCpack' ... checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes checking whether c++ accepts -g... grep: error while loading shared libraries: /usr/local/lib/libpcre.so.0: ELF file OS ABI invalid yes It seems that during the compilation a-linux-connected-lib is being looked for, doesn't it? Anyway, what should I do? I'd check $PATH and maybe $LD_PRELOAD for things pointing into /compat/linux . Moving /usr/compat/linux/lib/libpcre.so.0 out of the way might change the error message and help you track down the cause. Running ktrace -d or truss -f on your port build might help too. Another possibility is that the freebsd-port version of /usr/local/lib/libpcre.so.0 has gotten damaged somehow. FreeBSD's grep doesn't link with pcre so it's sort of unlikely that that would be the cause, though. -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
fusefs-sshfs compilation error
Hello, I'm running 6.2 with a ports tree cvsupped and kernel sources from about half an hour ago. I'm trying to install the sysutils/fusefs-sshfs port. During the compilation of the dependency fusefs-kmod i am getting an error that opt_global.h file can not be found and compilation stops. For the fusefs-kmod port i did select create a global autofile setup. Any suggestions welcome. Thanks. Dave. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fusefs-sshfs compilation error
On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote: I'm running 6.2 with a ports tree cvsupped and kernel sources from about half an hour ago. Do you keep base system and kernel in sync? It's always a good idea. Did you compile and install the kernel? It's not a good idea use a recent kernel sources to build modules but use an old kernel itself. I'm trying to install the sysutils/fusefs-sshfs port. During the compilation of the dependency fusefs-kmod i am getting an error that opt_global.h file can not be found and compilation stops. You didn't show the platform. The output of uname -a is OK. And it's always a good idea to show the error message. (BTW usually two or tree good lines are showed followed by a full error message.) Did you try to locate the file? May be at another computer? Here it is for me: - srv# locate opt_global.h /usr/obj/usr/src/sys/GENERIC/opt_global.h - For the fusefs-kmod port i did select create a global autofile setup. I just tried to compile fusefs-kmod with a global autofile setup. It succeeded at: - # uname -a FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 MSD 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 - Any suggestions welcome. Since the file opt_global.h is found (at my system) only at /usr/obj directory I'd quess you dodn't have kernel sources and kernel binary at sinc (i.e. didn't compile the kernel after cvsupping). HTH, WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fusefs-sshfs compilation error
Boris Samorodov wrote: On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote: I'm running 6.2 with a ports tree cvsupped and kernel sources from about half an hour ago. Do you keep base system and kernel in sync? It's always a good idea. Did you compile and install the kernel? It's not a good idea use a recent kernel sources to build modules but use an old kernel itself. I'm trying to install the sysutils/fusefs-sshfs port. During the compilation of the dependency fusefs-kmod i am getting an error that opt_global.h file can not be found and compilation stops. You didn't show the platform. The output of uname -a is OK. And it's always a good idea to show the error message. (BTW usually two or tree good lines are showed followed by a full error message.) Did you try to locate the file? May be at another computer? Here it is for me: - srv# locate opt_global.h /usr/obj/usr/src/sys/GENERIC/opt_global.h - For the fusefs-kmod port i did select create a global autofile setup. I just tried to compile fusefs-kmod with a global autofile setup. It succeeded at: - # uname -a FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 MSD 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 - Any suggestions welcome. Since the file opt_global.h is found (at my system) only at /usr/obj directory I'd quess you dodn't have kernel sources and kernel binary at sinc (i.e. didn't compile the kernel after cvsupping). HTH, WBR Just installed fine here. [EMAIL PROTECTED] fusefs-sshfs]$ uname -a FreeBSD zeus.agreenftp.no-ip.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Aug 9 17:11:53 EDT 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZEUS i386 [EMAIL PROTECTED] fusefs-sshfs]$ pkg_info | grep fusefs fusefs-kmod-0.3.9.p1 Kernel module for fuse fusefs-libs-2.7.0_1 FUSE allows filesystem implementation in userspace fusefs-sshfs-1.8Mount remote directories over ssh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fusefs-sshfs compilation error
(restoring original cc: freebsd-questions@ as it may help someone to find an answer with a feedback) On Fri, 17 Aug 2007 15:52:35 -0400 Dave wrote: Thanks for your suggestion. That did it. Everything installed fine now. Now i get to do usage. Great, I'm happy to be useful. Thanks. Dave. - Original Message - From: Boris Samorodov [EMAIL PROTECTED] To: Dave [EMAIL PROTECTED] Cc: freebsd-questions@freeBSD.org Sent: Friday, August 17, 2007 9:35 AM Subject: Re: fusefs-sshfs compilation error On Fri, 17 Aug 2007 06:26:15 -0400 Dave wrote: I'm running 6.2 with a ports tree cvsupped and kernel sources from about half an hour ago. Do you keep base system and kernel in sync? It's always a good idea. Did you compile and install the kernel? It's not a good idea use a recent kernel sources to build modules but use an old kernel itself. I'm trying to install the sysutils/fusefs-sshfs port. During the compilation of the dependency fusefs-kmod i am getting an error that opt_global.h file can not be found and compilation stops. You didn't show the platform. The output of uname -a is OK. And it's always a good idea to show the error message. (BTW usually two or tree good lines are showed followed by a full error message.) Did you try to locate the file? May be at another computer? Here it is for me: - srv# locate opt_global.h /usr/obj/usr/src/sys/GENERIC/opt_global.h - For the fusefs-kmod port i did select create a global autofile setup. I just tried to compile fusefs-kmod with a global autofile setup. It succeeded at: - # uname -a FreeBSD srv.sem.ipt.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Tue Jul 24 19:30:05 MSD 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC amd64 - Any suggestions welcome. Since the file opt_global.h is found (at my system) only at /usr/obj directory I'd quess you dodn't have kernel sources and kernel binary at sinc (i.e. didn't compile the kernel after cvsupping). WBR -- bsam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fusefs-sshfs compilation error
Sorry All, this is a message for Dave. Dave, there is a problem to send an email message to your address (I'm not sure if it is a problem of my provider or yours but the problem exists): - Aug 18 00:20:33 bsam sendmail[1292]: l7HKKLkj001292: to=Dave [EMAIL PROTECTED], [EMAIL PROTECTED] (1001/0), delay=00:00:12, xdelay=00:00:11, mailer=relay, pri=62739, relay=mail.kuban.ru. [62.183.66.246], dsn=5.2.1, stat=User unknown Aug 18 00:20:33 bsam sendmail[1292]: l7HKKLkj001292: [EMAIL PROTECTED], [EMAIL PROTECTED] (1001/0), delay=00:00:12, xdelay=00:00:11, mailer=relay, pri=62739, relay=mail.kuban.ru. [62.183.66.246], dsn=2.0.0, stat=Sent (l7HKJv7q038694 Message accepted for delivery) - WBR -- bsam ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: transcode compilation error
On 30/07/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: hi, just updated the ports and found out about the thing about automake. So, do as told, and transcode is having problems: aud_aux.c: In function `audio_init_ffmpeg': aud_aux.c:364: error: `ac3_encoder' undeclared (first use in this function) aud_aux.c:364: error: (Each undeclared identifier is reported only once aud_aux.c:364: error: for each function it appears in.) aud_aux.c:365: error: `mp2_encoder' undeclared (first use in this function) gmake[2]: *** [aud_aux.lo] Error 1 I do have liba52 installed, any idea?? multimedia/ffmpeg was recently updated, and portupgrade is not always great about ordering dependencies well: per- haps upgrade ffmpeg and then transcode? NB: I do not have transcode installed and honestly don't know what good it would do. PS: If that didn't work, I would try: # portupgrade -rRf transcode and if that didn't work I would throw something and work with # portupgrade -Rrf somewhere else in transcode's depandency tree and hope that it got sucked in correctly (it usually does). -- -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: transcode compilation error
On Tuesday 31 July 2007 06:54:34 [EMAIL PROTECTED] wrote: On 30/07/07, Tsu-Fan Cheng [EMAIL PROTECTED] wrote: hi, just updated the ports and found out about the thing about automake. So, do as told, and transcode is having problems: aud_aux.c: In function `audio_init_ffmpeg': aud_aux.c:364: error: `ac3_encoder' undeclared (first use in this function) aud_aux.c:364: error: (Each undeclared identifier is reported only once aud_aux.c:364: error: for each function it appears in.) aud_aux.c:365: error: `mp2_encoder' undeclared (first use in this function) gmake[2]: *** [aud_aux.lo] Error 1 I do have liba52 installed, any idea?? multimedia/ffmpeg was recently updated, and portupgrade is not always great about ordering dependencies well: per- haps upgrade ffmpeg and then transcode? NB: I do not have transcode installed and honestly don't know what good it would do. PS: If that didn't work, I would try: # portupgrade -rRf transcode and if that didn't work I would throw something and work with # portupgrade -Rrf somewhere else in transcode's depandency tree and hope that it got sucked in correctly (it usually does). Not a solution but the same problem here... :-( I've tried to portupgrade -rRf and even a make deinstall with a make reinstall but still no good. Even deinstalled ffmpeg but still nothing : transcode pulls ffmpeg back in, installs it fine but crashes during the make. -- Beni. signature.asc Description: This is a digitally signed message part.
transcode compilation error
hi, just updated the ports and found out about the thing about automake. So, do as told, and transcode is having problems: aud_aux.c: In function `audio_init_ffmpeg': aud_aux.c:364: error: `ac3_encoder' undeclared (first use in this function) aud_aux.c:364: error: (Each undeclared identifier is reported only once aud_aux.c:364: error: for each function it appears in.) aud_aux.c:365: error: `mp2_encoder' undeclared (first use in this function) gmake[2]: *** [aud_aux.lo] Error 1 I do have liba52 installed, any idea?? TFC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
kernel compilation fails
Hi all, I have a little problem trying to compile a -CURRENT kernel. The compilation fails with this message: /usr/src/sys/dev/usb/usb_quirks.c:111: error: 'USB_PRODUCT_METAGEEK_WISPY' undeclared here (not in a function) Config and make depend run succefully but compilation fails (done with make buildkernel). I give you the kernel config file. cheers, -- Nicolas Haller # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.473 2007/07/01 21:47:45 njl Exp $ #cpuI486_CPU #cpuI586_CPU cpu I686_CPU ident NICOLAS # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. #makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols #optionsSCTP# Stream Transmission Control Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL# Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT# NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV# install a CDEV entry in /dev options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI# Stop CPUS using NMI instead of IPI options AUDIT # Security event auditing # Debugging for use in -current #optionsKDB # Enable kernel debugger support. #optionsDDB # Support DDB. #optionsGDB # Support remote GDB. #optionsINVARIANTS # Enable calls of extra sanity checking #optionsINVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS #optionsWITNESS # Enable checks to detect deadlocks and cycles #optionsWITNESS_SKIPSPIN# Don't run witness on spinlocks for speed # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic# I/O APIC # CPU frequency control device cpufreq # Bus support. device eisa device pci # Floppy drives #device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives
Re: kernel compilation fails
On Sun, July 22, 2007 13:28, Nicolas Haller wrote: Hi all, I have a little problem trying to compile a -CURRENT kernel. The compilation fails with this message: /usr/src/sys/dev/usb/usb_quirks.c:111: error: 'USB_PRODUCT_METAGEEK_WISPY' undeclared here (not in a function) This is known, introduced with commit: http://lists.freebsd.org/pipermail/cvs-src/2007-July/080810.html Keep an eye on http://lists.freebsd.org/pipermail/cvs-src/2007-July/thread.html to see if it has been fixed. In the mean time you could use a previous version of the file, you can get this from the cvsweb. Cheers Patrick Config and make depend run succefully but compilation fails (done with make buildkernel). I give you the kernel config file. cheers, -- Nicolas Haller ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MythTV port compilation error
Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Computer output unfolded. On Thursday, 31 May 2007 at 19:32:49 +0200, Hans Nieser wrote: I've been trying occasionally the past few weeks to compile MythTV, but it keeps failing. I have an updated ports tree. Does anyone know if this is a known problem, or how to fix it? This is probably better addressed to FreeBSD-questions. I'm copying that list and copying multimedia@ (the original mailing list) as Bcc. g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o mmDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector. omEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBlibavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L hupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/loca main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:4 *** Error code 1 OK, I've tried to reconstitute the output you quoted, but it looks as if you have truncated the lines. In particular, the important part of the last line seems to be missing. At first sight, this did look like a problem I've seen, but it's difficult to say. What do you have in /var/db/ports/mythtv/options? What revision of the port are you compiling (i.e. what is PORTREVISION in the Makefile)? What version of FreeBSD are you running? Yeah I was puzzled by what seems to be a truncated error message as well but this really seems to be all I was getting. The contents of the options file are: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for mythtv-0.20 _OPTIONS_READ=mythtv-0.20 WITHOUT_LIRC=true WITHOUT_MYSQL_LOCAL=true The portrevision is 2 (PORTVERSION=0.20 and PORTREVISION= 2 in the Makefile). I'm running 6.1-RELEASE-p6 I'll try to recompile it again and make sure I did in fact copy paste the error correctly (I did resize my terminal window so maybe it somehow screwed up and truncated the lines or something) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MythTV port compilation error
Hans Nieser wrote: Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Computer output unfolded. On Thursday, 31 May 2007 at 19:32:49 +0200, Hans Nieser wrote: I've been trying occasionally the past few weeks to compile MythTV, but it keeps failing. I have an updated ports tree. Does anyone know if this is a known problem, or how to fix it? This is probably better addressed to FreeBSD-questions. I'm copying that list and copying multimedia@ (the original mailing list) as Bcc. g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o mmDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector. omEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBlibavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L hupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/loca main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:4 *** Error code 1 OK, I've tried to reconstitute the output you quoted, but it looks as if you have truncated the lines. In particular, the important part of the last line seems to be missing. At first sight, this did look like a problem I've seen, but it's difficult to say. What do you have in /var/db/ports/mythtv/options? What revision of the port are you compiling (i.e. what is PORTREVISION in the Makefile)? What version of FreeBSD are you running? Yeah I was puzzled by what seems to be a truncated error message as well but this really seems to be all I was getting. The contents of the options file are: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for mythtv-0.20 _OPTIONS_READ=mythtv-0.20 WITHOUT_LIRC=true WITHOUT_MYSQL_LOCAL=true The portrevision is 2 (PORTVERSION=0.20 and PORTREVISION= 2 in the Makefile). I'm running 6.1-RELEASE-p6 I'll try to recompile it again and make sure I did in fact copy paste the error correctly (I did resize my terminal window so maybe it somehow screwed up and truncated the lines or something) Ah it does seem like the terminal I copied it from was borked. I have attached the actual error. From googling around a bit I can see that I'm not the only one with this problem and that it's not specific to FreeBSD, I couldn't find any solution unfortunately. g++ -Wl,-rpath,/usr/local/lib -Wl,-rpath,/usr/local/lib -pthread -o mythcommflag main.o CommDetectorFactory.o CommDetectorBase.o Histogram.o ClassicLogoDetector.o ClassicSceneChangeDetector.o ClassicCommDetector.o quickselect.o CommDetector2.o pgm.o EdgeDetector.o CannyEdgeDetector.o PGMConverter.o BorderDetector.o FrameAnalyzer.o TemplateFinder.o TemplateMatcher.o HistogramAnalyzer.o BlankFrameDetector.o SceneChangeDetector.o moc_SlotRelayer.o moc_CustomEventRelayer.o moc_CommDetectorBase.o moc_LogoDetectorBase.o moc_SceneChangeDetectorBase.o moc_ClassicCommDetector.o -L/usr/local/lib -L/usr/local/lib -L../../libs/libmyth -L../../libs/libmythtv -L../../libs/libavutil -L../../libs/libavcodec -L../../libs/libavformat -L../../libs/libmythfreemheg -L../../libs/libmythui -L../../libs/libmythupnp -L../../libs/libmythlivemedia -lmythtv-0.20 -lmythavformat-0.20 -lmythavutil-0.20 -lmythavcodec-0.20 -lmythfreemheg-0.20 -lmythupnp-0.20 -lmythlivemedia-0.20 -lmyth-0.20 -lmythui-0.20 -lfreetype -lmp3lame -L/usr/local/lib -lXinerama -lXv -lXxf86vm -lXrandr -lviaXvMC -lXvMC -lqt-mt -lGLU -lGL -lXmu -lXext -lX11 -lm main.o(.text+0x1f9c): In function `FlagCommercials(QString, QString)': /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag/main.cpp:495: undefined reference to `ProgramInfo::GetRecordFilename(QString const, bool) const' *** Error code 1 Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs/mythcommflag. *** Error code 1 Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053/programs. *** Error code 1 Stop in /usr/ports/multimedia/mythtv/work/mythtv-fixes-0.20-13053. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. *** Error code 1 Stop in /usr/ports/multimedia/mythtv. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.38159.58 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=mythtv-0.20 UPGRADE_PORT_VER=0.20 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! multimedia/mythtv (mythtv-0.20) (linker error) --- Packages processed: 0 done, 500 ignored, 0 skipped and 1 failed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: MythTV port compilation error (solved)
Hans Nieser wrote: I've been trying occasionally the past few weeks to compile MythTV, but it keeps failing. I have an updated ports tree. Does anyone know if this is a known problem, or how to fix it? ... Ok, after reading http://linpvr.org/forum/viewtopic.php?p=6168sid=660d608693094519a305b939cc711e6e and especially this bit: For some packages, the already installed files for the package can impact the build. This is true for Myth., I decided to try uninstalling MythTV manually before trying to build it, and it worked. I nany case, thanks for your interest in my problem Greg and Torfinn ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stuck on win32-codecs compilation.
Hi Bill,Juha , Josh and pabola Thanks for all your feedback, It gave the best insight and understanding. This is what I did , because even after I had removed the quick time using make config on win32-codecs directory It was giving me some more errors it it could not find file while downloading(when I issued make install in /usr/ports/multimedia/win32-codecs), so I went ahead and downloaded manually download win32-codecs.tar.gz file from ports directory http://freebsd.org/ports/multimedia website, replaced with this new win32-codecs. That made the rest of mplayer successful. Then I bumped into the issue of sound /dev/dsp error I fixed with reading the http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html( this I felt is the good help for anyone having sound issues) did that # sysctl hw.snd.pcm0.vchans=4 # sysctl hw.snd.maxautovchans=4 took care of the sound issue. (does anyone know how automatically download the current specific port, I know portupgrade -a runs, but it runs endlessly forever) Thanks Dak On 1/4/07, Bill Moran [EMAIL PROTECTED] wrote: Juha Saarinen [EMAIL PROTECTED] wrote: On 1/4/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote: Dear Freebsd I was trying to make mplayer and it spat me on error, win32 -codecs, and went on trying the clean up the win32-codecs and try to make the codecs, it still errored out Has anyone faced the same issue, Please share your thoughts. I am scratching my head, what I should doing about this. Waiting until the remote code execution security hole is plugged would seem to be a sensible thing: The Apple Security Team reports that there are multiple vulnerabilities within QuickTime (one of the plugins for win32-codecs). A remote attacker capable of creating a malicious SGI image, FlashPix, FLC movie, or a QuickTime movie can possibly lead to execution of arbitrary code or cause a Denial of Service (application crash). Users who have QuickTime (/win32-codecs) as a browser plugin may be vulnerable to remote code execution by visiting a website containing a malicious SGI image, FlashPix, FLC movie or a QuickTime movie. You can get mplayer installed safely by deselecting the quicktime codec during the installation process. To change it now, do the following: cd /usr/ports/multimedia/win32-codecs make config Then deselect quicktime from the menu and save your change. Then go back to building mplayer and it should succeed. -Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stuck on win32-codecs compilation.
Juha Saarinen [EMAIL PROTECTED] wrote: On 1/4/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote: Dear Freebsd I was trying to make mplayer and it spat me on error, win32 -codecs, and went on trying the clean up the win32-codecs and try to make the codecs, it still errored out Has anyone faced the same issue, Please share your thoughts. I am scratching my head, what I should doing about this. Waiting until the remote code execution security hole is plugged would seem to be a sensible thing: The Apple Security Team reports that there are multiple vulnerabilities within QuickTime (one of the plugins for win32-codecs). A remote attacker capable of creating a malicious SGI image, FlashPix, FLC movie, or a QuickTime movie can possibly lead to execution of arbitrary code or cause a Denial of Service (application crash). Users who have QuickTime (/win32-codecs) as a browser plugin may be vulnerable to remote code execution by visiting a website containing a malicious SGI image, FlashPix, FLC movie or a QuickTime movie. You can get mplayer installed safely by deselecting the quicktime codec during the installation process. To change it now, do the following: cd /usr/ports/multimedia/win32-codecs make config Then deselect quicktime from the menu and save your change. Then go back to building mplayer and it should succeed. -Bill ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Stuck on win32-codecs compilation.
Dear Freebsd I was trying to make mplayer and it spat me on error, win32 -codecs, and went on trying the clean up the win32-codecs and try to make the codecs, it still errored out Has anyone faced the same issue, Please share your thoughts. I am scratching my head, what I should doing about this. -- === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. *** Error code 1 Stop in /usr/ports/multimedia/mplayer. # set -o vi # make install === Installing for mplayer-0.99.10 === mplayer-0.99.10 depends on file: /usr/local/share/mplayer/skins - found === mplayer-0.99.10 depends on file: /usr/local/lib/win32/win32- codecs-3.1.0.p8_1,1 - not found ===Verifying install for /usr/local/lib/win32/win32-codecs-3.1.0.p8_1,1 in /usr/ports/multimedia/win32-codecs === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. *** Error code 1 Stop in /usr/ports/multimedia/mplayer. -- so went ahead and tried to make win32-codecs # cd /usr/ports # cd multimedia # cd win32-codecs # ls Makefiledistinfopkg-descr pkg-plist # make === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. # make clean === Cleaning for win32-codecs-3.1.0.p8_1,1 # make === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. # pwd /usr/ports/multimedia/win32-codecs # ls Makefiledistinfopkg-descr pkg-plist # make clean === Cleaning for win32-codecs-3.1.0.p8_1,1 # make install === win32-codecs-3.1.0.p8_1,1 is forbidden: Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html. *** Error code 1 Stop in /usr/ports/multimedia/win32-codecs. Thanks Dak ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Stuck on win32-codecs compilation.
On 1/4/07, Dak Ghatikachalam [EMAIL PROTECTED] wrote: Dear Freebsd I was trying to make mplayer and it spat me on error, win32 -codecs, and went on trying the clean up the win32-codecs and try to make the codecs, it still errored out Has anyone faced the same issue, Please share your thoughts. I am scratching my head, what I should doing about this. Waiting until the remote code execution security hole is plugged would seem to be a sensible thing: The Apple Security Team reports that there are multiple vulnerabilities within QuickTime (one of the plugins for win32-codecs). A remote attacker capable of creating a malicious SGI image, FlashPix, FLC movie, or a QuickTime movie can possibly lead to execution of arbitrary code or cause a Denial of Service (application crash). Users who have QuickTime (/win32-codecs) as a browser plugin may be vulnerable to remote code execution by visiting a website containing a malicious SGI image, FlashPix, FLC movie or a QuickTime movie. -- Juha http://www.geekzone.co.nz/juha ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compilation problems with some code from Linux
On 12/8/06, Lane [EMAIL PROTECTED] wrote: On Friday 08 December 2006 11:21, Andrew Falanga wrote: Hi, I'm trying to port some code from Linux to FreeBSD and I've got an issue that revolves around something I've never dealt with before. The code includes the following header: #include sys/ucred.h Apparently, program is attempting to make use of the xucred structure defined in there, because the rest of the stuff in the file seems to be for the kernel. However, when I try to compile, gcc continually bails with the following error (among others), NGROUPS was not declared in this scope. The NGROUPS appears to be a macro, but it's not defined earlier on. Would anyone here know where it's defined so I can include that file too? Secondly, I'm also getting errors because gcc can't find sys/vfs.h either. True enough, there isn't any vfs.h file in /usr/include/sys. Since this file is in Linux, what should I include for FreeBSD? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Andy, I won't pretend to know exactly which header files correspond for your port, but in the past I've found some things that work for me: use locate vfs.h to find similar file names. On 6.x and 5.x I see that these are possible candidates: /usr/X11R6/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h /usr/include/fs/devfs/devfs.h /usr/include/sys/statvfs.h /usr/local/include/af_vfs.h /usr/src/sys/compat/svr4/svr4_statvfs.h /usr/src/sys/fs/devfs/devfs.h /usr/src/sys/nfs4client/nfs4_vfs.h /usr/src/sys/sys/statvfs.h But you'd have to compare the functions and structures defined in sys/vfs.h on linux to determine which is your best match up. There is /usr/ports/devel/mipsel-linux-kernel-headers/ which, according to pkg-plist will install mipsel-linux/include/linux/vfs.h. That may be exactly what you need (although it may be overkill). Or it may be the LAST thing you need :) Sometimes a porter will simply create a patch file in /usr/ports/portname/files that will create a skeleton version of the file which includes only the items you need. I've done this for development on my own system. As far as the NGROUP or other macros ... yikes! You may have to recreate that functionality entirely. I ran this: #!/bin/sh for each in `locate .h | grep '\.h$'` do if [ -f $each ]; then MYF=`cat $each | grep -i ngroups` if [ x$MYF != x ]; then echo $each : $MYF fi MYF= fi done It could probably be done more easily with sed and some elbow grease, but it does show NGROUPS defined here: /usr/X11R6/include/X11/Xos.h : #define NGROUPS 16 and /usr/include/sys/param.h among other places. Good luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thank you everyone. I'm sorry that I didn't reply sooner. I did get this worked out, but unfortunately I don't remember the include file I had to use. I found in a different file than the one I was editing at the time I wrote this a nice comment explaining why the #include sys/vfs.h preprocessor directive was there. I found that function in a different include file for FreeBSD, changed the code and all was well. Thanks again. Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
compilation problems with some code from Linux
Hi, I'm trying to port some code from Linux to FreeBSD and I've got an issue that revolves around something I've never dealt with before. The code includes the following header: #include sys/ucred.h Apparently, program is attempting to make use of the xucred structure defined in there, because the rest of the stuff in the file seems to be for the kernel. However, when I try to compile, gcc continually bails with the following error (among others), NGROUPS was not declared in this scope. The NGROUPS appears to be a macro, but it's not defined earlier on. Would anyone here know where it's defined so I can include that file too? Secondly, I'm also getting errors because gcc can't find sys/vfs.h either. True enough, there isn't any vfs.h file in /usr/include/sys. Since this file is in Linux, what should I include for FreeBSD? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compilation problems with some code from Linux
On Friday 08 December 2006 11:21, Andrew Falanga wrote: Hi, I'm trying to port some code from Linux to FreeBSD and I've got an issue that revolves around something I've never dealt with before. The code includes the following header: #include sys/ucred.h Apparently, program is attempting to make use of the xucred structure defined in there, because the rest of the stuff in the file seems to be for the kernel. However, when I try to compile, gcc continually bails with the following error (among others), NGROUPS was not declared in this scope. The NGROUPS appears to be a macro, but it's not defined earlier on. Would anyone here know where it's defined so I can include that file too? Secondly, I'm also getting errors because gcc can't find sys/vfs.h either. True enough, there isn't any vfs.h file in /usr/include/sys. Since this file is in Linux, what should I include for FreeBSD? Thanks, Andy ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Andy, I won't pretend to know exactly which header files correspond for your port, but in the past I've found some things that work for me: use locate vfs.h to find similar file names. On 6.x and 5.x I see that these are possible candidates: /usr/X11R6/include/gnome-vfs-2.0/libgnomevfs/gnome-vfs.h /usr/include/fs/devfs/devfs.h /usr/include/sys/statvfs.h /usr/local/include/af_vfs.h /usr/src/sys/compat/svr4/svr4_statvfs.h /usr/src/sys/fs/devfs/devfs.h /usr/src/sys/nfs4client/nfs4_vfs.h /usr/src/sys/sys/statvfs.h But you'd have to compare the functions and structures defined in sys/vfs.h on linux to determine which is your best match up. There is /usr/ports/devel/mipsel-linux-kernel-headers/ which, according to pkg-plist will install mipsel-linux/include/linux/vfs.h. That may be exactly what you need (although it may be overkill). Or it may be the LAST thing you need :) Sometimes a porter will simply create a patch file in /usr/ports/portname/files that will create a skeleton version of the file which includes only the items you need. I've done this for development on my own system. As far as the NGROUP or other macros ... yikes! You may have to recreate that functionality entirely. I ran this: #!/bin/sh for each in `locate .h | grep '\.h$'` do if [ -f $each ]; then MYF=`cat $each | grep -i ngroups` if [ x$MYF != x ]; then echo $each : $MYF fi MYF= fi done It could probably be done more easily with sed and some elbow grease, but it does show NGROUPS defined here: /usr/X11R6/include/X11/Xos.h : #define NGROUPS 16 and /usr/include/sys/param.h among other places. Good luck! lane ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compilation problems with some code from Linux
On 2006-12-08 10:21, Andrew Falanga [EMAIL PROTECTED] wrote: Hi, I'm trying to port some code from Linux to FreeBSD and I've got an issue that revolves around something I've never dealt with before. The code includes the following header: #include sys/ucred.h Apparently, program is attempting to make use of the xucred structure defined in there, because the rest of the stuff in the file seems to be for the kernel. However, when I try to compile, gcc continually bails with the following error (among others), NGROUPS was not declared in this scope. The NGROUPS appears to be a macro, but it's not defined earlier on. Would anyone here know where it's defined so I can include that file too? Secondly, I'm also getting errors because gcc can't find sys/vfs.h either. True enough, there isn't any vfs.h file in /usr/include/sys. Since this file is in Linux, what should I include for FreeBSD? Since these interfaces are not available in FreeBSD, and they are Linux-specific, you have to find out *why* they are used and look for equivalent functionality in FreeBSD -- provided there *is* something equivalent, of course. - Giorgos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
freebsd compilation of handbooks
Came across this earlier today, and figured it was a good resource: http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/arch-handbook/index.html Bob ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd compilation of handbooks
On 2006-09-21 15:21, Bob M. [EMAIL PROTECTED] wrote: Came across this earlier today, and figured it was a good resource: http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/arch-handbook/index.html FWIW, most of the FreeBSD stuff mentioned there is also available through the FreeBSD web site too: http://www.freebsd.org/docs.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: freebsd compilation of handbooks
Bob M. wrote: Came across this earlier today, and figured it was a good resource: http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/arch-handbook/index.html Backing up a notch, brings up an interesting page listing a bunch of FreeBSD (and Linux) e-books, etc: http://elibrary.fultus.com/technical/index.jsp?topic=/com.fultus.freebsd.books/books/ -- -wittig http://www.robertwittig.com/ . http://robertwittig.net/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Fine tuning conditional compilation of 'make buildworld'
Hi, Just wondering if there was a more comprehensive list of variables that can be used when specifying what should and shouldn't be built other than what is specified in man make.conf for make buildworld. I am configuring two 6.1 systems and want to trim down the junk as much as possible. Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Fine tuning conditional compilation of 'make buildworld'
freebsd# less /usr/share/examples/etc/make.conf mine just make it simple: PERL_VER=5.8.8 PERL_VERSION=5.8.8 CFLAGS= -O -pipe COPTFLAGS= -O -pipe NO_PROFILE=true CPUTYPE?=pentium4 other thing, i'm set it up on my kernel config :) freebsd# uname -a FreeBSD freebsd.avp.org 6.1-RELEASE-p4 FreeBSD 6.1-RELEASE-p4 #2: Mon Aug 28 12:26:03 MYT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/AVP i386 freebsd# - Original Message - From: Garrett Cooper [EMAIL PROTECTED] To: freebsd-questions@freebsd.org Subject: Fine tuning conditional compilation of 'make buildworld' Date: Mon, 28 Aug 2006 12:28:03 -0700 Hi, Just wondering if there was a more comprehensive list of variables that can be used when specifying what should and shouldn't be built other than what is specified in man make.conf for make buildworld. I am configuring two 6.1 systems and want to trim down the junk as much as possible. Thanks, -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- ___ Play 100s of games for FREE! http://games.mail.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver source compilation question
I found something I can use, but I have some errors, I've no clue how to deal with: Makefile: .PATH: /usr/src/sys/dev/sound/pci;. KMOD= snd_hdac SRCS= device_if.h bus_if.h isa_if.h pci_if.h mixer_if.h SRCS+= hdac.c #KMODDEPS = snd_pcm # Uncomment the KMODDEPS line on older 4.n and 5.n FreeBSD systems. .include bsd.kmod.mk pre-compile directory contents: [EMAIL PROTECTED] 10:34:35 (0) ~/Desktop/hdac ls -R .: @@bus_if.h hda_reg.h hdac.c hdac_private.h isa_if.h mixer_if.h Makefile device_if.h hdac/ hdac.h hdac_reg.h machine@ pci_if.h ./hdac: hdac.h hdac_private.h post-compile attempt contents [EMAIL PROTECTED] 10:35:40 (0) ~/Desktop/hdac ls -lR .: total 196 lrwxr-xr-x 1 sjss wheel12 Aug 27 10:32 @ - /usr/src/sys/ -rw-r--r-- 1 sjss wheel 241 Aug 27 10:16 Makefile -rw-r--r-- 1 sjss wheel 25769 Aug 27 10:32 bus_if.h -rw-r--r-- 1 sjss wheel 10913 Aug 27 10:32 device_if.h -rw-r--r-- 1 sjss wheel 54518 Jul 5 12:49 hda_reg.h drwxr-xr-x 2 sjss wheel 512 Aug 27 10:16 hdac/ -rw-r--r-- 1 sjss wheel 62590 Jul 17 16:52 hdac.c -rw-r--r-- 1 sjss wheel 2688 Jun 8 14:26 hdac.h -rw-r--r-- 1 sjss wheel 9088 Jun 8 14:26 hdac_private.h -rw-r--r-- 1 sjss wheel 11065 Jun 8 14:26 hdac_reg.h -rw-r--r-- 1 sjss wheel 2022 Aug 27 10:32 isa_if.h lrwxr-xr-x 1 sjss wheel25 Aug 27 10:32 machine - /usr/src/sys/i386/include/ -rw-r--r-- 1 sjss wheel 2375 Aug 27 10:32 mixer_if.h -rw-r--r-- 1 sjss wheel 4641 Aug 27 10:32 pci_if.h ./hdac: total 14 -rw-r--r-- 1 sjss wheel 2688 Aug 27 10:16 hdac.h -rw-r--r-- 1 sjss wheel 9088 Aug 27 10:16 hdac_private.h System info [EMAIL PROTECTED] 10:36:21 (0) ~/Desktop/hdac uname -a FreeBSD aragorn.ameritech.net 6.1-STABLE FreeBSD 6.1-STABLE #1: Mon Jul 24 16:10:27 EDT 2006 root@:/usr/obj/usr/src/sys/JIMKERN i386 Compile results: [EMAIL PROTECTED] 10:35:35 (0) ~/Desktop/hdac make Warning: Object directory not changed from original /home/sjss/Desktop/hdac cc -O2 -msse -msse2 -msse3 -mfpmath=sse,387 -fomit-frame-pointer -ffloat-store -march=pentium-m -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/contrib/altq -I@/../include -finline-limit=8000 -fno-common -mno-align-long-strings -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -c hdac.c In file included from @/dev/sound/pcm/sound.h:93, from hdac.c:29: @/dev/sound/pcm/channel.h:69:24: channel_if.h: No such file or directory hdac.c:1857: error: `channel_init_desc' undeclared here (not in a function) hdac.c:1857: error: initializer element is not constant hdac.c:1857: error: (near initialization for `hdacchan_methods[0].desc') hdac.c:1857: error: initializer element is not constant hdac.c:1857: error: (near initialization for `hdacchan_methods[0]') hdac.c:1858: error: `channel_setformat_desc' undeclared here (not in a function) hdac.c:1858: error: initializer element is not constant hdac.c:1858: error: (near initialization for `hdacchan_methods[1].desc') hdac.c:1858: error: initializer element is not constant hdac.c:1858: error: (near initialization for `hdacchan_methods[1]') hdac.c:1859: error: `channel_setspeed_desc' undeclared here (not in a function) hdac.c:1859: error: initializer element is not constant hdac.c:1859: error: (near initialization for `hdacchan_methods[2].desc') hdac.c:1859: error: initializer element is not constant hdac.c:1859: error: (near initialization for `hdacchan_methods[2]') hdac.c:1860: error: `channel_setblocksize_desc' undeclared here (not in a function) hdac.c:1860: error: initializer element is not constant hdac.c:1860: error: (near initialization for `hdacchan_methods[3].desc') hdac.c:1860: error: initializer element is not constant hdac.c:1860: error: (near initialization for `hdacchan_methods[3]') hdac.c:1861: error: `channel_trigger_desc' undeclared here (not in a function) hdac.c:1861: error: initializer element is not constant hdac.c:1861: error: (near initialization for `hdacchan_methods[4].desc') hdac.c:1861: error: initializer element is not constant hdac.c:1861: error: (near initialization for `hdacchan_methods[4]') hdac.c:1862: error: `channel_getptr_desc' undeclared here (not in a function) hdac.c:1862: error: initializer element is not constant hdac.c:1862: error: (near initialization for `hdacchan_methods[5].desc') hdac.c:1862: error: initializer element
driver source compilation question
I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make install do nothing (I've extracted them to a folder in my home directory). How do I install them? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver source compilation question
The simplest thing is to copy a make file from a port, or other driver source directory and edit it for your driver. -Derek At 08:20 PM 8/25/2006, Jim Stapleton wrote: I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make install do nothing (I've extracted them to a folder in my home directory). How do I install them? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: driver source compilation question
In my case, I'm trying to compile the HDA audio driver for an Intel HDA sound card, I checked this driver makefile here: /usr/ports/audio/aureal-kmod/Makefile but I've no clue where to start, there's a lot of stuff in there. I'll look again in the morning, but any suggestions on an easier driver? Thanks, -Jim Stapleton On 8/25/06, Derek Ragona [EMAIL PROTECTED] wrote: The simplest thing is to copy a make file from a port, or other driver source directory and edit it for your driver. -Derek At 08:20 PM 8/25/2006, Jim Stapleton wrote: I've found some driver source, it's just got the .c and .h files for the drivers, and no makefile. make and make install do nothing (I've extracted them to a folder in my home directory). How do I install them? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
static compilation of php4-zlib
[please include me in replies since i'm not (yet) subscribed] Hi there, I just hit a little problem with the php4 port archivers/php4-zlib. For a customer, i've set up a machine with apache and php4, which includes php4-zlib (via the metaport php4-extensions). Everything was running fine, until the customer uploaded compressed SWF files (and he stated that he doesn't have any way to get away from them, so uncompressing is not an option). So, i now get the expected error message: getimagesize(): The image is a compressed SWF file, but you do not have a static version of the zlib extension enabled. While trying to get php4-zlib to get statically linked, i failed so far. I tried to add '--enable-static' and '--disable-shared' to the lang/php4 Makefile but configure still tells me to enable shared linking. Even $search_engine didn't get me any good advise other than Agree, compiling *all* extensions as shared is stupid, please address to the FreeBSD port maintainer. Could someone provide me with some hint how to get a static version of the zlib extension? Besides that: why does a compressed SWF file require a static version of zlib? Tìoraidh an-dràsda, Frank Altpeter -- *** FA-RIPE *** http://blog.foxalpha.de/ *** SIG at 11 *** ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Module Compilation Error in vnode.h, missing vnode_if.h
Can Sar [EMAIL PROTECTED] writes: I am trying to compile a module for 6.0-RELEASE that includes vnode.h . Unfortunately even the simple test file below fails. It claims that sys/vnode_if.h is missing (which upon checking is true) and seems to be missing in general as well: http://fxr.watson.org/fxr/source/sys/vnode_if.h?v=RELENG60; Any idea what I could be doing wrong? It's produced dynamically, I think. See: /usr/src/sys/tools/vnode_if.awk ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]