0.9.71-pre8 & 2.6.17.6 - doesn't build

Aaron Kerr aaron at sun.com
Sun Aug 6 19:27:35 MDT 2006


Thanks Joesph

That patch did the trick. Sadly, I now get a different error (attached).
Should I wait patiently for the next release (which would be OK) or 
should I keep trying and passing-on the errors so they can be fixed in 
the next release?

Is the next release being tested against a kernel version that has 
Airport Extreme support (2.6.17 or later)?

Thanks,

Aaron.

Joseph Jezak wrote:
> This should fix it, I promise I'll get a new release out by the end of August. :p
>
> -Joe
>
> Index: mol-0.9.71_pre8/src/drivers/net/if-tap.c
> ===================================================================
> --- mol-0.9.71_pre8.orig/src/drivers/net/if-tap.c
> +++ mol-0.9.71_pre8/src/drivers/net/if-tap.c
> @@ -61,7 +61,7 @@ tap_open( enet_iface_t *is )
>  	if( check_netdev(is->iface_name) )
>  		return 1;
>  
> -	if( (fd=socket(PF_NETLINK, SOCK_RAW, NETLINK_TAPBASE+tapnum)) < 0 ) {
> +	if( (fd=socket(PF_NETLINK, SOCK_RAW, NETLINK_GENERIC+tapnum)) < 0 ) {
>  		perrorm("socket");
>  		printm("Does the kernel lack netlink support (CONFIG_NETLINK)?\n");
>  		return 1;
> _______________________________________________
> mol-general mailing list
> mol-general at lists.maconlinux.org
> http://lists.maconlinux.org/mailman/listinfo/mol-general
>   

-------------- next part --------------
Script started on Mon Aug  7 10:48:59 2006
sin:/usr/src/mol-0.9.71_pre8# make
config.status: creating unconfig
config.status: creating Makefile.defs
config.status: creating config.h
config.status: config.h is unchanged
= Building mol-0.9.71-pre8 [Aug 7 2006 10:49]
+ Entering scripts
    Compiling    asfilter.o          
cc1: note: obsolete option -I- used, please use -iquote instead
= Building asfilter              
    Compiling    kver_approx.o       
cc1: note: obsolete option -I- used, please use -iquote instead
= Building kver_approx           
+ Entering src
+ Entering lib
    Compiling    cache.o             
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    extralib.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    llseek.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    elfload.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    unicode.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    backtrace.o         
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libcommon.a           
+ Entering main
+ Entering linux
    Compiling    misc.o              
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libarch.a             
    Compiling    res_manager.o       
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    molrcget.o          
cc1: note: obsolete option -I- used, please use -iquote instead
= Building molrcget              
    Linking      libres.a              
    Compiling    async.o             
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    main.o              
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    memory.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    os_interface.o      
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    promif.o            
cc1: note: obsolete option -I- used, please use -iquote instead
promif.c: In function 'prom_find_type':
promif.c:88: warning: pointer targets in initialization differ in signedness
promif.c: In function 'node_name':
promif.c:104: warning: pointer targets in assignment differ in signedness
promif.c: In function 'prom_get_property':
promif.c:215: warning: pointer targets in return differ in signedness
promif.c: In function 'prom_get_prop_by_path':
promif.c:232: warning: pointer targets in assignment differ in signedness
promif.c:235: warning: pointer targets in return differ in signedness
promif.c: In function 'prom_add_property':
promif.c:272: warning: pointer targets in assignment differ in signedness
promif.c:281: warning: pointer targets in assignment differ in signedness
promif.c: In function 'export_node':
promif.c:699: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
promif.c: In function 'build_node':
promif.c:956: warning: dereferencing type-punned pointer will break strict-aliasing rules
promif.c:992: warning: pointer targets in assignment differ in signedness
promif.c: In function 'osip_prom_iface':
promif.c:1184: warning: pointer targets in assignment differ in signedness
    Compiling    session.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    thread.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    timer.o             
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libmain.a             
+ Entering drivers
+ Entering disk
    Compiling    blkdev.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    disk_open.o         
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    ablk.o              
cc1: note: obsolete option -I- used, please use -iquote instead
ablk.c: In function 'do_work':
ablk.c:165: warning: dereferencing type-punned pointer will break strict-aliasing rules
    Compiling    pseudofs.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    scsi.o              
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    sg-scsi.o           
cc1: note: obsolete option -I- used, please use -iquote instead
sg-scsi.c: In function 'execute':
sg-scsi.c:151: warning: pointer targets in assignment differ in signedness
sg-scsi.c:152: warning: pointer targets in assignment differ in signedness
sg-scsi.c: In function 'probe_device':
sg-scsi.c:287: warning: pointer targets in assignment differ in signedness
    Compiling    cd-scsi.o           
cc1: note: obsolete option -I- used, please use -iquote instead
cd-scsi.c: In function 'do_execute':
cd-scsi.c:83: warning: pointer targets in assignment differ in signedness
    Compiling    ablk-cd.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libdisk.a             
+ Entering video
    Compiling    x11.o               
cc1: note: obsolete option -I- used, please use -iquote instead
x11.c: In function 'check_if_png':
x11.c:75: warning: pointer targets in passing argument 1 of 'png_sig_cmp' differ in signedness
x11.c: In function 'create_x_picture':
x11.c:150: warning: pointer targets in passing argument 1 of 'convert_from_24' differ in signedness
    Compiling    xvideo.o            
cc1: note: obsolete option -I- used, please use -iquote instead
xvideo.c: In function 'vopen':
xvideo.c:843: warning: pointer targets in assignment differ in signedness
xvideo.c:845: warning: pointer targets in assignment differ in signedness
xvideo.c: In function 'init_window':
xvideo.c:1036: warning: pointer targets in passing argument 3 of 'XCreateBitmapFromData' differ in signedness
    Compiling    checksum.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    fbdev.o             
cc1: note: obsolete option -I- used, please use -iquote instead
fbdev.c: In function 'fbdev_init':
fbdev.c:409: warning: pointer targets in assignment differ in signedness
fbdev.c:410: warning: pointer targets in assignment differ in signedness
fbdev.c:411: warning: pointer targets in assignment differ in signedness
    Compiling    video.o             
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    offscreen.o         
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    checksum-ppc.o      
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libvideo.a            
+ Entering net
    Compiling    if-tun.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    if-sheep.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    if-tap.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    iface.o             
cc1: note: obsolete option -I- used, please use -iquote instead
iface.c: In function 'find_packet_driver':
iface.c:230: warning: pointer targets in assignment differ in signedness
    Compiling    mac_enet.o          
cc1: note: obsolete option -I- used, please use -iquote instead
mac_enet.c: In function 'osip_add_multicast':
mac_enet.c:259: warning: pointer targets in passing argument 2 of 'is->iface.pd->add_multicast' differ in signedness
mac_enet.c: In function 'osip_del_multicast':
mac_enet.c:272: warning: pointer targets in passing argument 2 of 'is->iface.pd->del_multicast' differ in signedness
mac_enet.c: In function 'rx_packet_handler':
mac_enet.c:364: warning: pointer targets in assignment differ in signedness
    Compiling    enet2.o             
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    packet.o            
cc1: note: obsolete option -I- used, please use -iquote instead
packet.c: In function 'handle_dhcp':
packet.c:99: warning: pointer targets in passing argument 1 of 'memcpy_fromvec' differ in signedness
packet.c:141: warning: pointer targets in passing argument 2 of 'print_dhcp_tag' differ in signedness
packet.c:169: warning: pointer targets in passing argument 1 of 'byte_reply' differ in signedness
packet.c:169: warning: pointer targets in assignment differ in signedness
packet.c:170: warning: pointer targets in passing argument 1 of 'int_reply' differ in signedness
packet.c:170: warning: pointer targets in assignment differ in signedness
packet.c:176: warning: pointer targets in passing argument 1 of 'int_reply' differ in signedness
packet.c:176: warning: pointer targets in assignment differ in signedness
packet.c:177: warning: pointer targets in passing argument 1 of 'int_reply' differ in signedness
packet.c:177: warning: pointer targets in assignment differ in signedness
packet.c:178: warning: pointer targets in passing argument 1 of 'int_reply' differ in signedness
packet.c:178: warning: pointer targets in assignment differ in signedness
packet.c:179: warning: pointer targets in passing argument 1 of 'int_reply' differ in signedness
packet.c:179: warning: pointer targets in assignment differ in signedness
packet.c:181: warning: pointer targets in passing argument 1 of 'int_reply' differ in signedness
packet.c:181: warning: pointer targets in assignment differ in signedness
packet.c:182: warning: pointer targets in passing argument 1 of 'string_reply' differ in signedness
packet.c:182: warning: pointer targets in assignment differ in signedness
packet.c:212: warning: pointer targets in passing argument 2 of 'is->inject_packet' differ in signedness
    Compiling    ipchksum-ppc.o      
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libnet.a              
+ Entering sound
    Compiling    alsa.o              
cc1: note: obsolete option -I- used, please use -iquote instead
alsa.c: In function 'alsa_open':
alsa.c:121: warning: pointer targets in passing argument 3 of 'snd_pcm_hw_params_set_rate_near' differ in signedness
    Compiling    oss.o               
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    sound.o             
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libsound.a            
    Compiling    driver_mgr.o        
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    ioports.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    keycodes.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    kbd.o               
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    via-cuda.o          
cc1: note: obsolete option -I- used, please use -iquote instead
via-cuda.c: In function 'cuda_incoming':
via-cuda.c:598: warning: pointer targets in passing argument 2 of 'adb_packet' differ in signedness
    Compiling    adb.o               
cc1: note: obsolete option -I- used, please use -iquote instead
adb.c: In function 'adb_poll':
adb.c:447: warning: pointer targets in passing argument 1 of 'via_cuda_set_reply_buffer' differ in signedness
adb.c: In function 'adb_packet':
adb.c:511: warning: pointer targets in passing argument 1 of 'via_cuda_set_reply_buffer' differ in signedness
adb.c:553: warning: pointer targets in passing argument 3 of 'ad->write_reg_fp' differ in signedness
    Compiling    gc.o                
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    pic.o               
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    osi_pic.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    nvram.o             
cc1: note: obsolete option -I- used, please use -iquote instead
nvram.c: In function 'read_image':
nvram.c:203: warning: pointer targets in passing argument 1 of 'open' differ in signedness
nvram.c: In function 'write_image':
nvram.c:226: warning: pointer targets in passing argument 1 of 'open' differ in signedness
nvram.c: In function 'cmd_nvramri':
nvram.c:287: warning: pointer targets in passing argument 1 of 'read_image' differ in signedness
nvram.c: In function 'cmd_nvramwi':
nvram.c:305: warning: pointer targets in passing argument 1 of 'write_image' differ in signedness
nvram.c: In function 'nvram_init':
nvram.c:394: warning: pointer targets in passing argument 1 of 'read_image' differ in signedness
nvram.c:396: warning: pointer targets in passing argument 1 of 'write_image' differ in signedness
nvram.c: In function 'nvram_cleanup':
nvram.c:425: warning: pointer targets in passing argument 1 of 'write_image' differ in signedness
nvram.c:426: warning: pointer targets in passing argument 1 of 'write_image' differ in signedness
nvram.c:428: warning: pointer targets in passing argument 1 of 'write_image' differ in signedness
    Compiling    escc.o              
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    dbdma.o             
cc1: note: obsolete option -I- used, please use -iquote instead
dbdma.c: In function 'dump_dbdma_cmd':
dbdma.c:251: warning: dereferencing type-punned pointer will break strict-aliasing rules
dbdma.c:252: warning: dereferencing type-punned pointer will break strict-aliasing rules
dbdma.c: In function 'prepare_cmd':
dbdma.c:444: warning: dereferencing type-punned pointer will break strict-aliasing rules
dbdma.c: In function 'start_cmd':
dbdma.c:525: warning: dereferencing type-punned pointer will break strict-aliasing rules
dbdma.c:550: warning: dereferencing type-punned pointer will break strict-aliasing rules
dbdma.c: In function 'dma_wait':
dbdma.c:1043: warning: 'ret.ret' is used uninitialized in this function
    Compiling    pci.o               
cc1: note: obsolete option -I- used, please use -iquote instead
pci.c: In function 'add_pci_device':
pci.c:109: warning: pointer targets in passing argument 1 of 'st_le16' differ in signedness
pci.c:110: warning: pointer targets in passing argument 1 of 'st_le16' differ in signedness
pci.c:111: warning: pointer targets in passing argument 1 of 'st_le16' differ in signedness
pci.c: In function 'do_write_config':
pci.c:481: warning: pointer targets in passing argument 3 of 'dev->hooks.write_config' differ in signedness
    Compiling    pci-bridges.o       
cc1: note: obsolete option -I- used, please use -iquote instead
pci-bridges.c: In function 'init_bridges':
pci-bridges.c:346: warning: pointer targets in initialization differ in signedness
    Compiling    osi_mouse.o         
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    osi_driver.o        
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    usb.o               
cc1: note: obsolete option -I- used, please use -iquote instead
usb.c: In function 'put_ed':
usb.c:272: warning: pointer targets in initialization differ in signedness
usb.c: In function 'complete_urb_':
usb.c:470: warning: dereferencing type-punned pointer will break strict-aliasing rules
usb.c:493: warning: pointer targets in passing argument 2 of 'put_td_data' differ in signedness
usb.c: In function 'hook_ctrl_urb_write':
usb.c:619: warning: pointer targets in initialization differ in signedness
usb.c: In function 'do_submit_ctrl':
usb.c:656: warning: pointer targets in initialization differ in signedness
usb.c: In function 'process_endpoint':
usb.c:801: warning: pointer targets in passing argument 1 of 'get_td_data' differ in signedness
usb.c: In function 'clean_stale_interrupt_urbs':
usb.c:924: warning: dereferencing type-punned pointer will break strict-aliasing rules
    Compiling    rtas.o              
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    hostirq.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    console.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    usbdev.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    pciproxy.o          
cc1: note: obsolete option -I- used, please use -iquote instead
pciproxy.c: In function 'pciproxy_init_irq':
pciproxy.c:431: warning: pointer targets in passing argument 3 of 'prom_add_property' differ in signedness
pciproxy.c:494: warning: pointer targets in passing argument 3 of 'prom_add_property' differ in signedness
    Linking      libdrivers.a          
+ Entering debugger
    Linking      libdebugger.a         
+ Entering cpu
+ Entering ppc
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    init.o              
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    mainloop_asm.o      
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libppc.a              
    Compiling    mainloop.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    molcpu.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libcpu.a              
+ Entering booter
    Compiling    booter.o            
cc1: note: obsolete option -I- used, please use -iquote instead
booter.c: In function 'osip_boot_helper':
booter.c:62: warning: pointer targets in passing argument 1 of 'asc2uni' differ in signedness
booter.c:69: warning: pointer targets in passing argument 2 of 'uni2asc' differ in signedness
    Compiling    common.o            
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    elf.o               
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    macho.o             
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libbooter.a           
    Linking      liballmol.a           
= Building mol                   
+ Entering molelf
    Compiling    performance.o       
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    selftest.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    vsprintf.o          
cc1: note: obsolete option -I- used, please use -iquote instead
    Linking      libxselftest.a        
    Compiling    keyremap.o          
cc1: note: obsolete option -I- used, please use -iquote instead
keyremap.c: In function 'draw_char':
keyremap.c:336: warning: pointer targets in initialization differ in signedness
    Linking      libxkeyremap.a        
    Compiling    init.o              
cc1: note: obsolete option -I- used, please use -iquote instead
cc1: note: obsolete option -I- used, please use -iquote instead
+ Entering vconfig
    Compiling    main.o              
cc1: note: obsolete option -I- used, please use -iquote instead
main.c: In function 'test_pattern':
main.c:451: warning: pointer targets in assignment differ in signedness
main.c:452: warning: pointer targets in assignment differ in signedness
main.c:453: warning: pointer targets in assignment differ in signedness
    Compiling    vmodeparser.o       
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    modes-y.o           
cc1: note: obsolete option -I- used, please use -iquote instead
    Compiling    modes-l.o           
cc1: note: obsolete option -I- used, please use -iquote instead
= Building molvconfig            
+ Entering kmod
+ Entering Linux
In file included from /usr/src/mol-0.9.71_pre8/obj-ppc/build/src/kmod/archinclude.h:41,
                 from /usr/src/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_fault.c:17:
/usr/src/mol-0.9.71_pre8/obj-ppc/build/src/kmod/dbg.h:27: error: conflicting types for 'debugger'
include/asm/system.h:91: error: previous definition of 'debugger' was here
make[5]: *** [/usr/src/mol-0.9.71_pre8/obj-ppc/build/src/kmod/_fault.o] Error 1
make[4]: *** [_module_/usr/src/mol-0.9.71_pre8/obj-ppc/build/src/kmod] Error 2
nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file
nm: '../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file
checker.pl failed
rm: cannot remove `../../../obj-ppc/build/src/kmod/Linux/..//mol.ko': No such file or directory
make[3]: *** [all-local] Error 1
make[2]: *** [sub-Linux-all] Error 2
make[1]: *** [sub-kmod-all] Error 2
make: *** [sub-src-all] Error 2
sin:/usr/src/mol-0.9.71_pre8# exit

Script done on Mon Aug  7 10:51:23 2006


More information about the mol-general mailing list