tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: graphics/gle fails to build after Mesa update

David Brownlee a écrit :
    It fails with:

configure:9478: checking for glutSwapBuffers in -lglut
configure:9509: cc -o conftest -O2 -pipe -I/usr/pkg/include -I/usr/include -Wall -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c -lglut -lSM -lICE -lXmu -lXi -lXext -lXmu -lGLU -lGL -lX11 -lXext -lm >&5 /var/obj/pkg/graphics/gle/work/.buildlink/lib/ undefined reference to `glXGetProcAddressARB'
configure:9512: $? = 1

    Interestingly glut appears to be linked with libGL which contains
    glXGetProcAddressARB.  Anyone seeing similar?

ldd /var/obj/pkg/graphics/gle/work/.buildlink/lib/ /var/obj/pkg/graphics/gle/work/.buildlink/lib/
        -lXau.6 => /usr/pkg/lib/
        -lXdmcp.6 => /usr/pkg/lib/
        -lX11.6 => /usr/pkg/lib/
        -lXext.6 => /usr/pkg/lib/
        -lm.0 => /usr/lib/
        -lm.0 => /usr/lib/
        -lGL.1 => /usr/pkg/lib/
        -lstdc++.6 => /usr/lib/
        -lgcc_s.1 => /usr/lib/
        -lGLU.1 => /usr/pkg/lib/
        -lICE.6 => /usr/pkg/lib/
        -lSM.6 => /usr/pkg/lib/
        -lXt.6 => /usr/pkg/lib/
        -lXmu.6 => /usr/pkg/lib/
        -lXi.6 => /usr/pkg/lib/

I compile gle with no error other than having to add -lpthreads because my glu seems to be compiled against it. My glut also refers to libGL:

nm /usr/pkg/lib/ | grep glXGetProcAddressARB
000122b2 T glXGetProcAddressARB

nm /usr/pkg/lib/ | grep glXGetProcAddressARB
         U glXGetProcAddressARB


Home | Main Index | Thread Index | Old Index