Date: Wed, 26 Sep 2001 19:49:52 -0400 (EDT) From: "Devon O'Dell" <devon@sitetronics.com> To: <freebsd-questions@freebsd.org> Subject: Ports Compilation Errors Message-ID: <20010926193128.G89204-100000@sitetronics.com>
next in thread | raw e-mail | index | archive | help
I'm not a huge programmer, so please try to bear with me here... Although I'm sure I will be able to follow any instructions given, as I am not stupid. I keep getting errors building programs from the ports collection which use netinet/in.h (mozilla and kdebase, are the two from which I've gotten this error from); the command to compile and error are as follows: Making all in chooser g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../backend -I/usr/local/include -I/usr/X11R6/include/qt2 -I/usr/X11R6/include -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -DCSRG_BASED -DTCPCONN -DUNIXCONN -DOSMAJORVERSION=4 -DOSMINORVERSION=4 -DFRAGILE_DEV_MEM -DBSD44SOCKETS -DUSE_SYSLOG -DUSE_PAM -DXDMCP -O2 -O -pipe -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c CXdmcp.cpp In file included from CXdmcp.cpp:51: /usr/local/include/netinet/in.h:303: ANSI C++ forbids data member `ip_opts' with same name as enclosing class In the kdebase, this include is found in CXdmcp.cpp on line 51. When I experienced this error with mozilla, I changed the compiler from c++ to g++ (I was just trying to get rid of the error message), which amazingly worked, however. I now get errors with pthread_[stuffhere] in libnspr4.so - the actual output is in an attachment as it is pretty long. The odd thing about it is, I *know* i've compiled other ports recently that have used netinet/in.h with no problem. I still get that message, but it comes across as a warning, not an error, and I can continue compilation of my program. And I sure as hell am not going to go into the source and goof with the includes because I know people who have built these programs on the same platform as I. I last updated my ports tree September 13th, and I built a new world today (from sources obtained mid-week last week, I'm not sure of the exact day). My current uname -a is: FreeBSD sitetronics.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Wed Sep 26 09:39:53 EDT 2001 devon@sitetronics.com:/usr/obj/usr/src/sys/ST i386 At this point, I'm not sure what to do except ask for help on this list. Nobody on IRC seems to know, and I'm out of ideas for fixing it myself. Any help would be greatly appreciated. Thanks in advance, Devon O'Dell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926193128.G89204-100000>