kernel compiling problem

2007-05-02 Thread Kantor Zsolt
Hi,I'm using FreeBsd 6.2 Release i386,If I remove from the configuiration file 
some wireless NIC devices I get the folowing error at the compilation:  . . .  
. 
. . . . 
MAKE=/usr/obj/usr/src/make.i386/make sh /usr/src/sys/conf/newvers.sh FYODOR
cc -c -O2 -pipe -fno-strict-aliasing  -Wall -Wredundant-decls -Wnested-externs 
-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99  -nostdinc -I-  -I. -I/usr/src/sys 
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter 
-I/usr/src/sys/contrib/pf -I/usr/src/sys/dev/ath -I/usr/src/sys/contrib/ngatm 
-I/usr/src/sys/dev/twa -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 
-ffreestanding -Werror  vers.c
linking kernel
if_ural.o(.text+0x66): In function `ural_free_tx_list':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x2d3): In function `ural_rxeof':
: undefined reference to `ieee80211_find_rxnode'
if_ural.o(.text+0x2eb): In function `ural_rxeof':
: undefined reference to `ieee80211_input'
if_ural.o(.text+0x2f1): In function `ural_rxeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0x893): In function `ural_start':
: undefined reference to `ieee80211_find_txnode'
if_ural.o(.text+0x8b9): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa0a): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa3f): In function `ural_start':
: undefined reference to `ieee80211_encap'
if_ural.o(.text+0xa53): In function `ural_start':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xa65): In function `ural_start':
: undefined reference to `ieee80211_crypto_encap'
if_ural.o(.text+0xe47): In function `ural_txeof':
: undefined reference to `ieee80211_free_node'
if_ural.o(.text+0xeee): In function `ural_watchdog':
: undefined reference to `ieee80211_watchdog'
if_ural.o(.text+0x1188): In function `ural_detach':
: undefined reference to `ieee80211_ifdetach'
if_ural.o(.text+0x16f3): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1719): In function `ural_attach':
: undefined reference to `ieee80211_ifattach'
if_ural.o(.text+0x1754): In function `ural_attach':
: undefined reference to `ieee80211_media_status'
if_ural.o(.text+0x175f): In function `ural_attach':
: undefined reference to `ieee80211_media_init'
if_ural.o(.text+0x182b): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x185f): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x1894): In function `ural_attach':
: undefined reference to `ieee80211_ieee2mhz'
if_ural.o(.text+0x18e6): In function `ural_attach':
: undefined reference to `ieee80211_announce'
if_ural.o(.text+0x1b8e): In function `ural_set_chan':
: undefined reference to `ieee80211_chan2ieee'
if_ural.o(.text+0x21c3): In function `ural_task':
: undefined reference to `ieee80211_beacon_alloc'
if_ural.o(.text+0x2be0): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2c3e): In function `ural_media_change':
: undefined reference to `ieee80211_media_change'
if_ural.o(.text+0x2cf7): In function `ural_ioctl':
: undefined reference to `ieee80211_ioctl'
if_ural.o(.text+0xe5): In function `ural_next_scan':
: undefined reference to `ieee80211_next_scan'
*** Error code 1

Stop in /usr/obj/usr/src/sys/FYODOR.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
[EMAIL PROTECTED] /usr/src]# 

   
-
Ahhh...imagining that irresistible new car smell?
 Check outnew cars at Yahoo! Autos.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel compiling problem

2007-05-02 Thread Kris Kennaway
On Wed, May 02, 2007 at 02:19:36PM -0700, Kantor Zsolt wrote:
 Hi,I'm using FreeBsd 6.2 Release i386,If I remove from the configuiration 
 file some wireless NIC devices I get the folowing error at the compilation:  
 . . .  . 

Because you removed too much, so either don't do that (go back to
GENERIC) or add back the things you removed until you figure out what
it was.

Kris


pgp4c3lr6rvoz.pgp
Description: PGP signature


Re: kernel compiling problem

2007-05-02 Thread Jeffrey Goldberg

On May 2, 2007, at 4:19 PM, Kantor Zsolt wrote:

Hi,I'm using FreeBsd 6.2 Release i386,If I remove from the  
configuiration file some wireless NIC devices I get the folowing  
error at the compilation:  . . .


[snip]


if_ural.o(.text+0x66): In function `ural_free_tx_list':


[snip]

Zsolt,

Vedd ki a ural-t a konfiguraciodbol.


Comment out

 ural

in your kernel configuration.  It's listed as a USB device, but it  
depends on the wireless stuff.


Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel compiling problem

2007-05-02 Thread Jeffrey Goldberg

On May 2, 2007, at 4:57 PM, Kris Kennaway wrote:


On Wed, May 02, 2007 at 02:19:36PM -0700, Kantor Zsolt wrote:
Hi,I'm using FreeBsd 6.2 Release i386,If I remove from the  
configuiration file some wireless NIC devices I get the folowing  
error at the compilation:  . . .  .


Because you removed too much, so either don't do that (go back to
GENERIC) or add back the things you removed until you figure out what
it was.


In this case, he didn't remove enough.  If he doesn't want any  
wireless support, then he should also remove ural among the USB devices.


-j
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Kernel Compiling Problem

2007-01-19 Thread Lowell Gilbert
Xu-Long Wang [EMAIL PROTECTED] writes:

 Some problem in my kernal file and it suggests that: one code error



 devicesbp # SCSI over FireWire (Requires scbus 
 and da)

Note the comment:  Requires scbus and da
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Kernel Compiling Problem

2007-01-18 Thread Xu-Long Wang
Hi,

Some problem in my kernal file and it suggests that: one code error

Sincerely 
Wang
#
# 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.429.2.13 2006/10/09 18:41:36 simon 
Exp $

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   MYKERNEL

# 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
#optionsINET6   # IPv6 communications protocols
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 MD_ROOT # MD is a potential root device
#optionsNFSCLIENT   # Network Filesystem Client
#optionsNFSSERVER   # Network Filesystem Server
#optionsNFS_ROOT# NFS usable as /, requires NFSCLIENT
#optionsMSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
#optionsPROCFS  # Process filesystem (requires PSEUDOFS)
#optionsPSEUDOFS# Pseudo-filesystem framework
#optionsGEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
#optionsSCSI_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.

device  apic# I/O APIC

# 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
device  atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#optionsAHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#optionsAHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
#device ispfw   # Firmware for QLogic HBAs- normally a module
#device mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets + those of 
`ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters

#device adv # Advansys SCSI adapters
#device adw # Advansys wide SCSI adapters
#device aha # Adaptec 154x SCSI adapters
#device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60.
#device bt  # Buslogic/Mylex 

Newbie Alert: compiling problem with gcc-4.1.1

2006-09-02 Thread g

:-)  thanks for the patience and help.

i tried to compile gcc-4.1.1.  the OS is FreeBSD 6.1  intel pentium 4  
processor

intel desktop board d865gvhz  512 MB

the problem has something to do with fixincludes.

*  snap shot after creating config.h   
***


config.status: creating config.h
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixincl.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixtests.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixfixes.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/server.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/procopen.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixlib.c
gcc -c -g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing- 
prototypes -Wold-style-definition -Wmissing-format-attribute - 
pedantic -Wno-long-long  -DHAVE_CONFIG_H -I. -I/usr/ports/gcc-4.1.1/ 
fixincludes -I../include -I/usr/ports/gcc-4.1.1/fixincludes/../ 
include /usr/ports/gcc-4.1.1/fixincludes/fixopts.c
gcc -g -O2  -o fixincl fixincl.o fixtests.o fixfixes.o server.o  
procopen.o  fixlib.o fixopts.o ../libiberty/libiberty.a

echo timestamp  full-stamp
srcdir=/usr/ports/gcc-4.1.1/fixincludes /bin/sh /usr/ports/ 
gcc-4.1.1/fixincludes/mkfixinc.sh i386-unknown-freebsd6.1

sed -e 's/@gcc_version@//'mkheadersT
*** Error code 2

Stop in /usr/ports/objdir/build-i386-unknown-freebsd6.1/fixincludes.
*** Error code 1

Stop in /usr/ports/objdir.

 end snap shot  
*


thanks everyone, kris pointed out in my post before i didn't include  
enough information, thanks kris.  i hope this is enough, if not, i  
also have a file which contains what i saw as it made bootstrap.

i created that file by doing:

make bootstrap  myErrorMakeBootstrap

g.




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


compiling problem against libc_r

2006-06-01 Thread Vitaly D

Hello

i have a reccurent problem

while compiling the software originally written for Linux it is often 
compiled agains pthread library, but in freebsd such a library is called 
libc_r (i'm using 4.11 RELEASE)


so i often adjust configure options with LIBS=-lc_r option

but here comes the problem
when calling libtool such as following

/bin/sh ../libtool --tag=CC --mode=link gcc -g -02 [snip] -lc_r option is 
present


but when immideatly after the effective command is called like gcc -g -02 
the -lc_r option is systematically absent!


i've tried to mannually adjust makefile by placing -lc_r option even in CC 
flag

CC= gcc -lc_r

but it didn't solve my problem

please can you help me. how should i proceed to compile against libc_r  
cause LIBS=-lc_r doesn't seems to work.


it's really boring to execute gcc lines by hand :( HEEELP!!! i'm tired



--
Best Regards
Vitaly
katsuo_harada_evil_does [at] hotmail [dot] com
Marseille Nice

_
MSN Hotmail sur i-mode™ : envoyez et recevez des e-mails depuis votre 
téléphone portable ! http://www.msn.fr/hotmailimode/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Compiling problem

2004-06-18 Thread Albert Shih
Hi

I try to compile a big soft : OpenCascade5.1

The compilation don't work.

Where can I have some help (I'm sysadmin, not a developper).

Regards.

AS.

--
Albert SHIH
Universite de Paris 7 (Denis DIDEROT)
U.F.R. de Mathematiques.
Heure local/Local time:
Fri Jun 18 16:51:57 CEST 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]