Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, Please help me regarding the below error : o-strict-aliasing -MD -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs miniglx.c -o miniglx.o In file included from miniglx.c:9: ../../include/GL/glx.h:296: warning: function declaration isn’t ...
  1. #1
    Just Joined!
    Join Date
    Aug 2009
    Posts
    1

    Post How to solve the error in ubuntu

    Hi,

    Please help me regarding the below error :



    o-strict-aliasing -MD -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs miniglx.c -o miniglx.o
    In file included from miniglx.c:9:
    ../../include/GL/glx.h:296: warning: function declaration isn’t a prototype
    miniglx.c:222: warning: no previous prototype for ‘glXGetProcAddressARB’
    cc -c -I. -I.. -I../../include -I/usr/include/directfb -D_REENTRANT -D_HAVE_FULL_GL=1 -march=i686 -O3 -fno-strict-aliasing -MD -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs miniglx_events.c -o miniglx_events.o
    cc -c -I. -I.. -I../../include -I/usr/include/directfb -D_REENTRANT -D_HAVE_FULL_GL=1 -march=i686 -O3 -fno-strict-aliasing -MD -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs xf86drm.c -o xf86drm.o
    In file included from xf86drm.c:48:
    drm.h:41:26: error: linux/config.h: No such file or directory
    xf86drm.c:1368: warning: no previous prototype for ‘drmWaitVBlank’
    make[2]: *** [xf86drm.o] Error 1
    make[2]: Leaving directory `/localhome/user/Desktop/Dir/Mesa/src/miniglx'
    make[1]: *** [subdirs] Error 1
    make[1]: Leaving directory `/localhome/user/Desktop/Dir/Mesa/src'
    make: *** [subdirs] Error 1


    This is the error i am getting while executing the command as " make "

    please help me how to solve such errors .

  2. #2
    Super Moderator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,145
    Hello and Welcome,
    What are you trying to install? Miniglx? I'm pretty sure the problem is that config.h is obsolete and no longer used in the Linux kernel.
    drm.h:41:26: error: linux/config.h: No such file or directory
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...